Chapter 4. Managing Sessions

In this chapter, we'll cover session management in JMeter in detail. Web applications, by their very nature, use client and server sessions; both work in harmony to give each user a distinct enclosure to maintain a series of communications with the server without affecting other users. For example, in Chapter 2, Recording Your First Test, the server session was created the moment a user logged in to the application, and was maintained for all requests sent to the server by that user until he/she logged off or timed out. This is what protects other users from seeing each other's information. Depending on the application's architecture, the session may be maintained through cookies (most commonly used) or URL rewriting ...

Get Performance Testing with JMeter - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.