Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Performance Testing with JMeter, 2nd Edition

You're reading from   Performance Testing with JMeter, 2nd Edition Test web applications using Apache JMeter with practical, hands-on examples

Arrow left icon
Product type Paperback
Published in Apr 2015
Publisher
ISBN-13 9781784394813
Length 164 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Bayo Erinle Bayo Erinle
Author Profile Icon Bayo Erinle
Bayo Erinle
Arrow right icon
View More author details
Toc

Configuring the JMeter HTTP(S) Test Script Recorder

The first step is to configure the proxy server in JMeter. To do this, we perform the following steps:

  1. Start JMeter.
  2. Add a thread group, as follows:
  3. Right-click on Test Plan and navigate to Add | Threads (User) | Thread Group.
  4. Add the HTTP(S) Test Script Recorder element, as follows:
  5. Right-click on WorkBench and navigate to Add | Non-Test Elements | HTTP(S) Test Script Recorder.
  6. Change the port to 7000 (1) (under Global Settings).
  7. You can use a different port, if you choose to. What is important is to choose a port that is not currently used by an existing process on the machine. The default is 8080.
  8. Under the Test plan content section, choose the option Test Plan > Thread Group (2) from the Target Controller drop-down.
  9. This allows the recorded actions to be targeted to the thread group we created in step 2.
  10. Under the Test plan content section, choose the option Put each group in a new transaction controller (3) from the Grouping drop-down.
  11. This...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime