JMeter Recording App Scripts

Source: Internet
Author: User

The jmeter4.0 version has no workbench, so add an HTTP proxy server directly under the test plan.

    • apache-jmeter-4.0
    • An Android phone

One, JMeter recording app script method

1, the first to ensure that the JMeter installation environment are correct. Start JMeter: Double-click Jmeter.bat in the Bin directory of the installation path (for example: D:\apache-jmeter-4.0\bin)

2, jmeter new thread group in the test plan,

3. Add HTTP Proxy Server

4. Configuring the HTTP proxy server
– Ports (port domain): 8080 (can be modified to infrequently used ports to avoid conflicts)
– add "include mode (Patterns to include)": such as ". *.html"
– add "Exclude mode (Patterns to Exclude)": such as ". *.gif"

5. Set IE proxy to local

6, mobile WiFi settings agent connected to the PC (PC and mobile WiFi to the same network segment)

7, start JMeter HTTP proxy Server (4th step click to start)
8, everything is OK, the phone starts to start the app to perform the operation
9, after the successful recording, stop the HTTP proxy server, and then play back or stress test.

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.