LoadRunner报错Host socket0 is unknown. Error code : 9008


lrs_create_socket("socket0", "UDP", "LocalHost=4000", LrsLastArg);

lrs_send("socket0", "buf0", "TargetSocket=119.147.45.60:8000", LrsLastArg);

lrs_create_socket("socket1", "UDP", "LocalHost=4001", LrsLastArg);

lrs_send("socket1", "buf1", "TargetSocket=123.151.40.248:8000", LrsLastArg);

lrs_receive("socket1", "buf2", LrsLastArg);

lrs_send("socket1", "buf3", "TargetSocket=123.151.40.248:8000", LrsLastArg);

lrs_receive("socket1", "buf4", LrsLastArg);

lrs_close_socket("socket0");

lrs_close_socket("socket1");

以上是部分脚本,脚本回放时老是提示题目中的错误,网上有的人说是QQ服务器拒绝这样的操作,谁能帮忙解决一下?谢谢~~

软件测试

不撸管会死星人 11 years, 6 months ago

Your Answer