- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 35
 
Requests
        psiinon edited this page Apr 4, 2013 
        ·
        4 revisions
      
    Requests are instructions to interact with web applications.
| Name | Format | Description | 
| url | String | The URL to access | 
| data | String | Data to supply, eg in a POST request | 
| method | String | The HTTP method | 
| headers | String | Any non standard headers required | 
| response | String | An optional example of the response expected | 
| transformations | Array | The transformations to be applied to the request | 
| assertions | Array | The assertions performed on the response | 
| index | Integer | The index of the statement in the script | 
| elementType | String | Always ZestRequest | 
{
  "url": "http://www.example.com/test?aaa=bbb&ccc=ddd",
  "data": "",
  "method": "GET",
  "headers": "",
  "response": {},
  "transformations": [],
  "assertions": [],
  "index": 1,
  "elementType": "ZestRequest"
}
- Zest Core for details about Zest