JMeter Recording App Scripts

Source: Internet
Author: User

First, Jemter Related settings

1, start JMeter, double-click Run Jmeter.bat, start JMeter

JMeter running the main interface

2. Add thread Group: Right-click Test Plan-Add-->threads (Users)--Thread Group

3. HTTP Proxy Server

1) Add HTTP Proxy server: Right-click Workbench-"Add-" non-test element-"HTTP proxy server

2) Configuring the proxy server

--Ports (port domain): 8889

--Target controller: test plan >xxxx (thread group name)

--Grouping: Each group is put into a new controller

--Add "include mode (Patterns to include)": such as ". *\.html"

--Add "exclude mode (Patterns to Exclude)": such as ". *\.gif"

Step 2, phone configuration

1. Configure Mobile Agent

--Server: JMeter host IP

--Port: Consistent with the port value set in Jemter HTTP proxy global settings, as shown in

Setup is complete, click Save

2. Installation Certificate

1) Click on the bottom "Start" button and pop-up window appears.

2) Enter the JMeter installation directory, locate the "apachejmetertemporaryrootca.crt" file and upload it to your phone in any way possible

2, access to mobile device management and credentials-"from the storage disk installation-" to find the corresponding upload path, installation can

3. Return to JMeter, click the OK button of the popup window, mobile Access app

Start the app you want to test on your phone and do business; this time you can see that the thread group caught the request from the app 4, the business operation completed, immediately Stop"HTTP proxy Server" on the Jemter, otherwise the packet is caught, there will be a lot of useless requests in the thread group; 5. Delete unrelated requests in "thread group"; 6. Save JMX Scripts

JMeter Recording App Scripts

Related Article

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.