O'Reilly logo

Oracle SOA Suite Performance Tuning Cookbook by Matt Brasier, Nicholas Wright

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

Recording user web sessions with JMeter

In this recipe, we'll look at simply configuring JMeter to capture user web activity for replaying in a load test.

Getting ready

You'll need to complete the Installing Apache JMeter recipe.

We'll be using a website in this recipe, so you'll need access to a webpage to test.

You'll also need to know how to change your browser's proxy settings.

How to do it…

By following these steps, you can record a browser web session to replay as a JMeter test:

  1. Start JMeter with $JMETER_HOME/bin/jmeterw.cmd on Windows, or jmeter.sh on Linux.
  2. Right-click on the test plan and select Add | Threads | Thread Group.
  3. Right-click on the thread group and select Add | Config Element | HTTP Request Defaults. In Server Name or IP section, enter ...

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