Today visited the next 51 test forum, suddenly thought JMeter can set proxy server, and can automatically record HTTP request interface, so I want to use the JMeter set up proxy server, and then mobile phone connection agent to the computer, and grab the phone app request.
Specific steps:
1, computer start JMeter
2. JMeter in test plan new Thread group, new HTTP proxy server on Workbench
3. Set IE proxy to local
4, mobile WiFi settings agent connected to the PC
5, "Start" JMeter Proxy Server
6, now the computer casually open a Web test whether you can catch the bag
7, all normal, mobile phone began to launch the app login operation, enter the mobile phone number to get SMS verification code
8. Save Playback
After JMeter save the script, replay the script and specify the phone number to receive the text message normally.
JMeter and Mobile link mode