JMeter Recording App Scripts

Source: Internet
Author: User

Pre-preparation

Computer installation JMeter; mobile ; wifi;

Operation Steps:

1. Start JMeter

2. Add "thread group" in " Test plan";

3. Add "HTTP proxy server" to " work Station";

4, configure the proxy server: Global settings The following port configuration:9988, HTTPS domains configuration:Http://192.168.1.X

5. Target controller: Test plan-"thread Group"

6, HTTP proxy Server-click the "Start" button to start the HTTP proxy server;

7, the mobile phone configuration wifi-"Modify the network" setting as follows (the following drawings also have this setting)

The agent---Select the Manual ";

"proxy host name"---" 192.168.1.X "

"Proxy Server port"----" 9988 "

8. IE settings

IE option--connect--LAN Settings--check for LAN using Proxy Server-Advanced (http:127.0.0.1; port: 9988) Modify Port

9, the mobile phone connection just configured WiFi; (usually this time even success, the thread group can see caught a lot of requests)

10. Start the app that needs to be tested on the phone, and do business operations; (this time you can see that the thread group caught the request on **p)

11, the business operation is finished, immediately shut down the "HTTP proxy server" on the Jemter (or not always catch the useless package to the thread group);

12, in the "thread group" delete irrelevant requests;

13, save the JMX script;

14. Playback

JMeter Recording App Scripts

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.