- Step: 1: Create a new Test Plan
- Step: 2: Add a Thread Group
- Step: 3: Add a Sampler
- Step: 4: Add a Listener
- Step: 5: Add a Timer
- Step: 6: Run the Test Plan
- Step: 7: View the Results
- Step: 8: Save the Test Plan
- Right click on Test Plan
- Add > Threads (Users) > Thread Group
- Thread Group
- Number of Threads: 10
- Ramp-Up Period (in seconds): 1
- Loop Count: 1
- Thread Group
- Sampler > HTTP Request
- Protocol: http
- Server Name or IP: localhost
- Port Number: 8080
- Method: GET
- Path: /api/trades
- Thread Group
- Listener > View Results Tree
- Thread Group
- Timer > Constant Timer
- Thread Delay (in milliseconds): 1000
- Click the green play button to start the test
- Click on the View Results Tree node
- Click on the Response Data tab to view the results
- File > Save Test Plan As...
- Enter a name for the test plan
- Click Save