Book Image

Performance Testing with JMeter

By : Bayo Erinle
Book Image

Performance Testing with JMeter

By: Bayo Erinle

Overview of this book

Table of Contents (14 chapters)

Managing sessions with URL rewriting


In the absence of cookie support, the alternative method web applications use to manage session information is a technique known as URL rewriting. With this approach, the session ID is attached to all URLs that are within the HTML page that is sent as a response to the client. This ensures that the session ID is automatically sent back to the server as part of the request, without the need of putting it in the header. The advantage of this technique is that it works even if a client browser has cookies disabled. Let's examine a sample and see how JMeter comes to the rescue by displaying the following steps:

  1. Launch JMeter.

  2. Start the HTTP proxy server (refer to Chapter 2, Recording Your First Test, if you don't know how).

  3. In the browser, go to http://jmeterbook.aws.af.cm.

  4. Click on the URL Rewrite Sample link under Chapter 4.

  5. Click on First Link.

  6. Click on Another Link (at the bottom of the page).

  7. Click on the Home link.

  8. Click on Second Link.

  9. Click on the jmeter-book...