The Web API step allows you to call web API endpoints, set HTTP headers, define request type and set assertions on the response.
Parameter | Value |
---|---|
Request Type | Choose from GET, POST, PUT & DELETE. |
URL | The URL of the web API endpoint. |
HTTP Headers | Http headers i.e. User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0) Accept: application/json; utf-8 Content-Type: application/json; utf-8 . |
Body | The body of the request to send. |
HTTP Timeout | The request timeout. |
Request Authentication Details | The HTTP Auth username and password. |
Assertions | List of Assertions/Conditions to validate on the response. |