Configuring the JMeter HTTP proxy server
The first step is to configure the proxy server in JMeter. To do this, we follow the following steps:
Start JMeter.
Add a Thread Group by right-clicking on Test Plan and navigating to Add | Threads (User) | Thread Group.
Add the HTTP Proxy Server element by right-clicking on WorkBench and navigating to Add | Non-Test Elements | HTTP Proxy Server.
Change the port to
7000
(under Global Settings).You can use a different port if you want to. What is important is to choose a port that is not currently used by an existing process on the machine. The default is8080
.Go to Test Plan | Thread Group under HTTP Proxy Server (under the Test plan content | Target Controller section). This allows the recorded actions to be targeted to the thread group we created in step 2.
Choose the option Put each group in a new transaction controller under HTTP Proxy Server (under Test plan content | Grouping section). This allows you to group a series of requests as constituting...