O'Reilly logo

Performance Testing with JMeter 3 - Third Edition by Bayo Erinle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing sessions with cookies

The majority of web applications rely on cookies to maintain the session state. In the very early stages of the internet, cookies were only used to keep the session ID. Things have evolved since, then and now, cookies store a lot more information, such as user IDs and location preferences. The banking application we used as a case study in Chapter 2, Recording Your First Test, for example, relies on cookies to help each user maintain a valid session with the server, enabling the user to make a series of requests to the server. An example will help clear things up, so let's get to one. For our example, some resources are protected based on the role of the user who is logged in. Users can have an admin or user ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required