|
录了一个很简单的打开页面的脚本,回放脚本成功,使用该脚本创建了一个50人打开的场景,运行该场景时,报了下面的错:
Action.c(6): Continuing after Error -27796: Failed to connect to server "192.168.13.100:8080": [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
脚本如下:
Action()
{
web_url("PV",
"URL=http://192.168.13.100:8080/PV?peerid={string}&uri={string}",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_find("web_find",
"What=stat",
LAST);
return 0;
}
我按照出错提示去修改了注册表中的TcpTimedWaitDelay和MaxUserPort,结果还是一样。
不知哪位仁兄知道这个错误的原因和解决方法! |
|