Contents Menu Expand Light mode Dark mode Auto light/dark mode
PFLB Platform User's guide
Logo
  • Quickstart
  • Getting started
  • Create teams and manage users
  • Manage subscription
  • 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
  • PFLB Platform REST API
    • Generate an API token
    • Reference
    • Examples of requests
  • Integration with CI
    • Example of using Jenkins
    • Example of using Gitlab CI
  • FAQ
  • Glossary
  • Personal Data Processing
  • Code of Ethics
  • PFLB Platform releases
    • Platform tutorial, names of test project versions
    • Count of remaining tests and JMX import improvements
    • Convenient configuration of Assertions and migration from InfluxDB to TimescaleDB
    • Setting sets is realesed
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, PFLB Platform 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 PFLB Platform, 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 PFLB Platform 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

PFLB platform speaks for itself

Run a test to see how the platform works in real life. It takes only 15 minutes for a trial test. It easy and you’re gonna love it.

Next
Run a test
Previous
Set request default settings
Copyright © 2023, PFLB
Made with Sphinx and @pradyunsg's Furo
Last updated on Sep 12, 2023