How this template works
APIs Selection
The template uses API selection filters to specify the criteria for selecting the appropriate API requests to execute. In this case, the filters include checking the response code to be between 200 and 300, and checking for the presence of a specific cookie in the request headers or a specific query parameter containing the word "captcha".
Execute request
The template defines a single request to be executed. It includes instructions to delete the "cookie" header, as well as the header, body parameter, and query parameter specified by the value of the "captcha_key" variable.
Validation
After executing the request, the template specifies the validation criteria for the response. It checks that the response code is between 200 and 300, and that the response payload matches at least 80% of the expected payload. Additionally, it checks that the response payload has a length greater than 0.