How this template works
APIs Selection
The template uses API selection filters to specify the criteria for selecting the API requests to be executed. In this case, the template filters the requests based on the response code, ensuring that it falls within the range of 200 to 299. It also uses a regular expression to match any URL and extracts it as a variable called "urlVar".
Execute request
The template defines the execution type as "single", indicating that only a single request will be executed. It then specifies the request to be executed using the "requests" field. In this case, the request is modified by appending ".json" to the extracted URL variable (${urlVar}). This modification is done using the "modify_url" action.
Validation
The template defines the validation criteria for the executed request. It checks that the response code falls within the range of 200 to 299 and also validates the length of the response payload, ensuring it is greater than 100 characters. These validation rules help ensure that the request was successful and that the response contains a substantial amount of data.
Frequently asked questions
Explore other tests
eSMTP - Config Discovery
Nginx - Git Configuration Exposure
Laravel - Sensitive Information Disclosure
Docker Container - Misconfiguration Exposure
Msmtp - Config Exposure
Parameters.yml - File Discovery
Mongo Express - Unauthenticated Access
Apache Airflow Configuration Exposure
Dockerrun AWS Configuration Exposure
Apache Config file disclosure
Appspec Yml Disclosure
CGI script environment variable