Response content type and size
32-response-metadata.yaml
HTTP(S)
What this example does
This example demonstrates response content type and size.
Checks and behavior
- Sends an GET request to https://api.example.com/health.
Adapt example domains, addresses, credentials and thresholds to your environment before use.
YAML configuration
name: Response content type and size
url: https://api.example.com/health
tests:
response:
min_bytes: 10
max_bytes: 1048576
content_type: application/json