Get the App
SLTechnology News&Howtos  ›  Servers  › 

Jmeter agent records Web website

Shulou Source: shulou.com Published: 2022-06-02 22:53:18 11月24日 Update

1. Add a [thread group] to the test plan in Jmeter

2. Add [HTTP proxy server] to the workbench in Jmeter

3. In Jmeter, set port [8888] in [HTTP proxy server], target controller [test plan > thread group], group [put a new controller in each group], and finally click "start".

4. Set the proxy in the IE browser, and IE-- tool-- Connect-- LAN setting-- check "proxy Server"-- address [localhost]-- Port [8888]-- OK.

5. Enter the recorded web website in IE (the author enters Zen Tao here)

Enter the URL and open it, enter the user name and password, and finally log in

6. Log in to the system with web and log out of the user

7. Stop [HTTP proxy server] in Jmeter. Refer to the stop button after starting the proxy server in step 3.

8. Cancel the proxy for IE. Refer to step 4 and uncheck the box in the LAN settings.

9. Add [View result Tree] to the thread group to record into the script in Jmeter.

10. Save the script and start

11. View the execution result in [View result Tree].

12. Tuning script

Tags: Agent server service input thread script local area LAN controller fruit tree user port middle set reference control test login website address password Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Apple Xiaomi Redmi NVidia