共享一下知识
共享一下知识:victory:
loadrunner的几种常见错误及解决办法 1录制loadrunner脚本时,无法生成脚本,录制过程中事物都有显示,我把所有防火墙和网络保护都关了,但是脚本就是无法生成,协议之类的都是对的。
解决:、
在录制选项option->network-> ort Mapping 中的Capture levet选择Socket level and WinNet level data试试
2在回放脚本时出现的错误
Action.c(33): Error -35061: No match found for the requested parameter "CorrelationParameter_1". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size
解决方法:可以用web_set_max_html_param_len增加参数长度,我试过到99999999共8位;还有,你可以在web_reg_save_param_ex(
"ParamName=CorrelationParameter_3",
"LB=c",
"RB=>\n<table border",
后面 加上 "NotFound=warning",
保存编译下,就不回再提是错误了。
主要是自动关联造成的左右边界定位不精确,需要保存的值大
3
Error -27987: Requested image not found 打开Mercury Tours
选择Start > Programs > Mercury LoadRunner > Samples > Web> Mercury Web Tours Application. 在浏览器中打开Mercury Tours网页。
更改服务器选项
在左侧的面板中单击SERVER OPTION.选择Setting 3选项。滚动页面到底部,单击Reconfigure Server Details按钮。单击Return to the Mercury Tours Homepage链接。这个设置时告诉服务器不允许重复的session IDs
注:如果你的电脑上安装了IIS, 你需要修改这个应用的设置。在xitami文件夹中查哨xitami.cfg文件,在文本编辑器中打开它,定位到portbase=1000, 并将其修改成portbase=1001,保存并关闭文件改为"Name=userSession", "Value={userSession}", ENDITEM, 51Testing软件测试网4Qe dx0O r
51Testing软件测试网OH Cu8T]51Testing软件测试网+UaT)xO0o
0}h;G)j(ZA:| p0 [#Jm b1J;@~,R0² Error -27727: Step download timeout (120 seconds) has expired when downloading resource(s). Set the "Step Timeout caused by resources is a warning" Run-Time Setting to Yes/No to have this message as a warning/error, respectively7vl7_9dx s%S0解决办法:51Testing软件测试网1ru‑J[*{ vC7g"T·
Run-Time Setting ->Internet Protocol ->Preferences ->Option -> Step download timeout(sec)改为32000.·
将HTTP-request connect timeout和HTTP-request receive timeout设为1000.
/K,w%]3p9j%^$X} e0² Error -27780: connect to host "172.16.83.219" failed: Connection reset by peer ‑y+C%['Q-nv'sU x0解决办法:·
5KI8iBt‑H6]7aXzK0web_set_sockets_option("CLOSE_KEEPALIVE_CONNECTIONS", "1");
&gU,x c~R6`0² Error -27764: Request "https://172.16.83.219/u_valid_crl1.pfx" failed 51Testing软件测试网'B&Hg.Av^解决办法:·
6d.q$C:gZg/ax/_0 Run-Time Setting ->Internet Protocol ->Preferences ->Advanced勾选winInet replay instead of Sockets(Windows only)
51Testing软件测试网:Y)PL.i~!q X*n*g9U² Error -27796: Failed to connect to server "172.16.83.219:443": Connection timed out 6yO0s9F5vO2D0解决办法:51Testing软件测试网Oz `"F P3TYE·
将注册表HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters中的TcpTimedWaitDelay改小·
使用多个负载生成器
51Testing软件测试网‑Pr‑FZg,vJ7q gnl² Error -27790: Failed to read data from server "192.168.3.213": Software caused connection abort
(Nq cA5g An0解决办法:·
c"[+cW;o T E4V0web_set_sockets_option("OVERLAPPED","0"); ·
在web_set_sockets_option里用TCP_BUFFER_SIZE增加buffer的大小
好威武的站友,内容顶,不过排版...俺就不多说啥了,总体来说,值得表扬 好威武的站友,内容顶,不过排版...俺就不多说啥了,总体来说,值得表扬 很抱歉的说上面的内容很多都不太合理的 学习了,谢谢楼主的分享 :victory:谢谢楼主分享,早日看到早有收获!
页:
[1]