O'Reilly logo

Performance Testing with JMeter 2.9 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 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 to put 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.

  1. Launch JMeter.
  2. Start the HTTP Proxy Server (see Chapter 2, Recording Your First Test, if you don't know how).
  3. In the browser, go to http://jmeterbook.aws.af.cm ...

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