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 to Add | Threads (User) |
Thread Group. - Right-click on Thread Group and navigate to Add | Logic Controller | Recording Controller.
- Right-click on Test Plan and navigate to Add | Threads (User) |
- Add the HTTP(S) Test Script Recorder element, as follows:
- Right-click on WorkBench and navigate to Add | Non-Test Elements | HTTP(S) Test Script Recorder.
- Change the port to 7000(1) (under Global 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 the Test Plan>Thread Group (2)> Recording Controller option from the Target...