Contents Menu Expand Light mode Dark mode Auto light/dark mode
Boomq User's guide
Logo
  • Quickstart
  • Getting started
  • Create teams and manage users
  • Service packages
  • Create a test
    • Group editor
    • Edit requests
    • Import requests from a HAR file
    • Import an Insomnia collection
    • Import a Postman collection
    • Create a load profile from Google Analytics
    • Create a test based on the JMeter script
  • Configure a test project
    • Add a settings set
    • Add and use parameters
    • Configure timers
    • Requests correlation
    • Configure assertions
    • Configure SLA
    • Add labels to a project
    • Set default headers
    • Set request default settings
    • Set default cookies
  • Run a test
  • Visualizing tests in Grafana
  • Analyze results of testing
  • Boomq REST API
    • Generate an API token
    • Reference
    • Examples of requests
  • FAQ
  • Glossary

Product

  • Boomq.io
  • Start testing
  • Contact Us
Back to top

Set default cookies#

Cookies are pieces of text sent to your browser by a website you visit. Websites use cookies to identify unique users across browsing sessions.

By default, Boomq works with cookies this way:

  1. It receives cookies from the server and stores cookies’ data at each iteration of the group execution.

  2. It adds these data to all the following requests.

In Booomq, you can also do the following:

  • Configure cookies that will be used in all requests of the test project. For example, to distinguish requests from Boomq from real users, you can pass the name of the test in a cookie.

  • Enable the cleanup mode.

To set default cookies, follow these steps:

  1. On the Thread groups tab, click Action ⋮ and select Set default cookies. The window opens:

    _images/um_set_default_cookies.en.png
  2. Fill in the fields:

    • Name. The unique name of the cookie.

    • Value. The value of the cookie.

    • Domain. The name of the host to send the cookie to. Specified without http(s)://.

    • Path. The path to the resource on the web server. The default value is /.

  3. If needed, select the HTTPS only checkbox so the cookie should only be used over HTTPS, and JavaScript modification isn’t allowed.

  4. Click Apply.

If needed, click the Clear cookies each iteration toggle so that cookies are cleared, and the virtual user should behave like a new user on each iteration of the group’s execution. A new user means the user wouldn’t remember any cookies from this website.

To delete a cookie, click delete_button.

See also

  • Add a settings set

Next
Run a test
Previous
Set request default settings
Copyright © 2023, Performance Lab
Made with Sphinx and @pradyunsg's Furo