JMeter- uses its own proxy server to record scripts
Today, let's focus on how jmeter uses its own proxy server to record scripts.
1: create a proxy server under the workbench
2: configure the agent and select the recording controller
3: add exclusion mode under Requests FIltering and configure regular expressions. Otherwise, a lot of messy requests will be recorded.
. *\ .XXX. * |. *\ .XXX. * add and delete as needed
4: start the proxy server
5: go to the page to perform query operations, observe the proxy server, you can record a query interface, all the necessary parameters are automatically filled out for you, isn't it easy?
After recording, remember to move the recorded interface to the thread group, otherwise it will not run. Then, remember to turn off the proxy for the browser, or you won't be able to surf the Internet.
Ending Egg: how to record the APP interface?
The interface on the Web page can be recorded with jmeter, what about App? Here is a brief introduction.
1: first, manually set up your mobile proxy and configure the proxy ip, which needs to be consistent with the local ip! Port defaults to 80
2: configure the jmeter proxy server ip. Note that the ip and port must be the same as the mobile proxy.
3: observe the proxy server and see that there is an interface for app to view Baidu web pages.
OK, over.