Jmeter script recording: capture IOS mobile phone request package

Now there are more and more projects on the mobile terminal. Today I will introduce to you how to capture packets in Jmeter under IOS.

1. Computer connected to wifi

2. Configure "HTTP proxy server" in Jmeter

1) Start Jmeter;

2) Add "Thread Group" in "Test Plan";

3) Add "HTTP Proxy Server" in "Test Plan";

4) Under "HTTP Proxy Server", set the IP address of the local computer in "HTTPS Domains". If you don't know it, you can check it with ipconfig /all, and the default port can be used; "Target Controller Configuration": "Test Plan > Thread Group"

picture

picture

3. Apple mobile phone settings

(1) Connect to the same wifi as the computer

(2) Set a proxy for the wifi

picture

Click on the successfully connected wifi, open the "Wireless LAN" page, scroll down, click "Configure Proxy", open "Configure Proxy"; in "Configure Proxy", set the same IP and port as "HTTP Proxy Server" in jmeter , click Save.

picture

4. Return to Jmeter and click Start in "HTTP Proxy Server".

Click "OK" to continue;

At this time, operate the mobile phone and tap WeChat.

insert image description here

5. After the operation is over, stop the "HTTP proxy server" on the jemter.

Finally: In order to give back to the die-hard fans, I have compiled a complete software testing video learning tutorial for you. If you need it, you can get it for free【保证100%免费】
insert image description here

Software Testing Interview Documentation

We must study to find a high-paying job. The following interview questions are the latest interview materials from first-tier Internet companies such as Ali, Tencent, and Byte, and some Byte bosses have given authoritative answers. Finish this set The interview materials believe that everyone can find a satisfactory job.

insert image description here
insert image description here

Guess you like

Origin blog.csdn.net/m0_67695717/article/details/132029010