Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Performance Testing with JMeter 2.9

You're reading from   Performance Testing with JMeter 2.9 If you want to use JMeter for performance testing your software products, this book is a great starting point. You'll get a great grounding in all the fundamentals and gain a wealth of new skills along the way.

Arrow left icon
Product type Paperback
Published in Jul 2013
Publisher Packt
ISBN-13 9781782165842
Length 148 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Bayo Erinle Bayo Erinle
Author Profile Icon Bayo Erinle
Bayo Erinle
Arrow right icon
View More author details
Toc

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 communication 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 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 (less commonly used). The former maintains the session by sending a cookie in the HTTP headers of each request while the latter rewrites the URLs to append the session ID. The main differences are that the former relies on a client's browser choosing...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime