2023拉
性能测试过程中遇到的问题及解决方法
上一篇 /
下一篇 2012-03-21 12:02:02
/ 个人分类:性能测试
这次在做一个日常的
性能测试,过程中遇到如下一些问题:
1.脚本参数化后调试运行失败,没有取到对应的文本中的参数,而是直接显示对应的参数名称。
——解决方法:文本中的参数值输入完毕后,在最后一个参数值后敲一个回车,添加一行空行,再次运行即成功。
2.执行脚本时报如下错误:
Action.c(3): Error -27796: Failed to connect to
server ***.***.***.**”: [10048] Address already in use
Try changing the registry value
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\TcpTimedWaitDelay to 30
and HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\tcpip\Parameters\MaxUserPort to 65534
and rebooting the machine
See the readme.doc file for more information
——原因:tps很高(达到2000左右)导致loadrunner本机测试机无法满足端口需求
——解决方法:需要修改测试机的注册表端口数,或者增加代理机
收藏
举报
TAG: