loadrunner11遇到的问题汇总及相应的解决方案(持续更新)

1、在此界面点击Run Load Tests提示:

”Can not save the license information because access to the registry is denied, please provide the current user with write permission for the HKEY_LOCAL_MACHINE registry key”。

解决办法:右键以管理员方式运行LoadRunner,再次选择Run Load Tests即可。

loadrunner11遇到的问题汇总及相应的解决方案(持续更新)

2、录制的脚本中中文显示乱码问题,解决方案如下所示:

选择Tools->Recording Options-> Advanced -> Support charset-> UTF-8即可解决。

3、录制回放报错,Errors:-27780

解决办法:run-time settings->preferences->勾上WININET replay instead of Sockets。

【关于WININET replay instead of Sockets】:官方文档上面的说明为:Use WinInet replay instead of Sockets (Windows only). Instructs VuGen to use the WinInet replay engine instead of the standard Sockets replay. VuGen has two HTTP replay engines: Sockets-based (default) or WinInet based. The WinInet is the engine used by Internet Explorer and it supports all of the features incorporated into the IE browser. The limitations of the WinInet replay engine are that it is not scalable and does not support Linux. In addition, when working with threads, the WinInet engine does not accurately emulate the modem speed and number of connections. VuGen's proprietary sockets-based replay is a lighter engine that is scalable for load testing. It is also accurate when working with threads. The limitation of the sockets-based engine is that it does not support SOCKS proxy. If you are recording in that type of environment, use the WinInet replay engine.
Default value: disabled (socket-based replay engine).(使用经由WinInet重播,而不是套接字(仅支持Windows)。指示VuGen使用经由WinInet回放引擎而不是标准的socketss重播。VuGen有两个HTTP重播引擎:基于sockets(默认)或经由WinInet。经由WinInet引擎使用Internet Explorer和它所支持的所有功能纳入IE浏览器。经由WinInet回放引擎的局限性是它不是可伸缩,不支持Linux。此外,使用线程时,经由WinInet引擎不准确模拟调制解调器的速度和数量的连接。VuGen专有的基于回放是较轻的引擎,是可伸缩的负载测试。这也是准确的在处理线程。基于sockets的局限性是它不支持socks代理。如果你是记录在这种类型的环境中,使用经由WinInet重播引擎。默认值:禁用(基于socket的重播引擎)。)

loadrunner11遇到的问题汇总及相应的解决方案(持续更新)

4、勾选了"WININET replay instead of Sockets"选项后,录制回放报错,Errors:-27492

解决方法:运行时的连接超时时间设置得太低了,试试把runtime setting中的preferences-->options-->http-request connect timeout(sec)的值设大一点.

5、录制回放报错,Errors:10054
loadrunner11遇到的问题汇总及相应的解决方案(持续更新)
上一篇:用Struts2标签实现Map的迭代


下一篇:max file descriptors [4096] for elasticsearch proess is too low, increase to at least [65536]