The first step is to configure the proxy server in JMeter. To do this, we perform the following steps:
- Start JMeter.
- Add a thread group, as follows:
- Right-click on
Test Plan
and navigate toAdd
|Threads (User)
|Thread Group
. - Right-click on
Thread Group
and navigate toAdd
|Logic Controller
|Recording Controller
.
- Right-click on
- Add the HTTP(S) Test Script Recorder element, as follows:
- Right-click on
WorkBench
and navigate toAdd
|Non-Test Elements
|HTTP(S) Test Script Recorder
.
- Right-click on
- Change the port to
7000
(1) (underGlobal Settings
). - 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
8888
. - Under the
Test plan content
section, choose theTest Plan
>
Thread Group
(2)> Recording Controller
option from theTarget Controller
dropdown. - This allows the recorded actions to be targeted to the thread group we created in step 2.
- Under the
Test plan content...