Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Performance Testing with JMeter  3
  • Toc
  • feedback
Performance Testing with JMeter  3

Performance Testing with JMeter 3

By : Erinle
4.3 (3)
close
Performance Testing with JMeter  3

Performance Testing with JMeter 3

4.3 (3)
By: Erinle

Overview of this book

JMeter is a Java application designed to load and test performance for web application. JMeter extends to improve the functioning of various other static and dynamic resources. This book is a great starting point to learn about JMeter. It covers the new features introduced with JMeter 3 and enables you to dive deep into the new techniques needed for measuring your website performance. The book starts with the basics of performance testing and guides you through recording your first test scenario, before diving deeper into JMeter. You will also learn how to configure JMeter and browsers to help record test plans. Moving on, you will learn how to capture form submission in JMeter, dive into managing sessions with JMeter and see how to leverage some of the components provided by JMeter to handle web application HTTP sessions. You will also learn how JMeter can help monitor tests in real-time. Further, you will go in depth into distributed testing and see how to leverage the capabilities of JMeter to accomplish this. You will get acquainted with some tips and best practices with regard to performance testing. By the end of the book, you will have learned how to take full advantage of the real power behind Apache JMeter.
Table of Contents (9 chapters)
close

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 role. The steps to manage sessions with cookies are as follows:

  1. Launch JMeter.
  2. Start the Test Script Recorder (refer to Chapter 2, Recording...
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete