Secure session cookie
37-cookie-security.yaml
HTTP(S)
What this example does
This example demonstrates secure session cookie.
Checks and behavior
- Sends an GET request to https://api.example.invalid/login.
Adapt example domains, addresses, credentials and thresholds to your environment before use.
YAML configuration
name: Secure session cookie
url: https://api.example.invalid/login
tests:
cookies:
require:
session:
secure: true
httponly: true
samesite: Strict