操作系统 :win7;软件:fiddler(抓包工具,用来做http代理用);Loadrunner11; 手机一部(小米)
LoadRunner录制设置:
协议选择的是http/html,
Start Recording设置:
Application type:Win32 Applications
Program to record:C:\Program Files (x86)\HP\LoadRunner\bin\wplus_init_wsock.exe
Working directory:C:\Program Files (x86)\HP\LoadRunner\bin
Record into Action:Action
LR代理设置:
Capture level:Socket level data
Target Server:本机的IP(笔记本本身连得就是无线网)
Port:8888(fiddler上的端口)
勾选:Allow forwarding to target server from local port 端口号:2016
Fidder设置:端口号是8888
小米手机:连接的无线网和笔记本一致,代理:手动,代理服务器主机名:笔记本本身的ip, 代理服务器端口:2016
点击OK按钮开始录制,录制报:Request Connection: Remote Server @ 127.0.0.1:11111 (Service=) NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
127.0.0.1可以ping 通,求解!!!
|