Setting Cookies For Web Performance Tests
Setting cookies when testing your page can be useful in many situations, for example:
- to opt into a specific A/B test
- to test a page with user preferences saved
- to skip a consent banner
How to set a cookie
To set a cookie, first open the test settings page and select Advanced Settings. Then, under Cookies select Add Cookie.
Then either select an existing cookie or create a new one.
Fill out the form and click Create.
Checking if the cookie is sent correctly
- Open the Requests tab
- Open a request on the cookie domain
- Select Headers
- Scroll down to Request Headers
- Find the cookie header