O'Reilly logo

Apache JMeter by Emily H. Halili

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

Using JMeter Components

For practical and realistic reasons, we will use an existing remote server to test its performance. First of all, we will create some useful scenarios as the baseline of our test.

First, we will need to determine the test cases. Generally, we will test five key scenarios:

  1. Homepage
  2. Keyword Search—New Visitor making a keyword search
  3. Create Account—New Visitor creating an Account
  4. Select A Title—Registered Visitor selecting a featured title
  5. Add To Cart—Registered Visitor adding selection to cart

These scenarios will be included in a single JMeter Test Plan, for simplicity reasons.

Recording HTTP Requests

A fast way to capture the HTTP pages of this application is to record every request made to the server. For this we will need to ...

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