不要追求绝对的公平,红尘之中没有公平而言,人活一世,难得糊涂。                                           it is no use doing what you like, you have got to like what you do.

9017 错误

上一篇 / 下一篇  2007-04-24 16:04:16 / 个人分类:Mercury LoadRunner

我用LR录制了一份WTK访问客户端软件的操作,回放的时候出现9017错误51Testing软件测试网5d p%x#eT(j:@4C }4wz
Replay LOG:51Testing软件测试网p8i5GT&u])s
Virtual User scrīpt started51Testing软件测试网J@reN T/{G
Starting action vuser_init.
*G ^f:hjL A6Ua0 vuser_init.c(12): lrs_startup(257)
V?5j#n{0 vuser_init.c(14): lrs_create_socket(socket0, TCP, ...)51Testing软件测试网sZ8J;r0M`.u
vuser_init.c(16): lrs_create_socket(socket1, TCP, ...)
T@?_,Yr/E0 vuser_init.c(18): lrs_create_socket(socket2, TCP, ...)
w1{b Hkp0 vuser_init.c(20): lrs_set_accept_timeout(60, 0)51Testing软件测试网QQ)ML:|"^Z&]gR8}
vuser_init.c(22): lrs_accept_connection(socket2, socket3)
LMe`x7b9yv0 vuser_init.c(22): Error : Timeout expired while trying to accept connection. Error code : 9017.
/`&J0Sj,a[)w B0 Abort was called from an action.51Testing软件测试网4M'f{@5|/?!e_

5|a~,QL%|*UEw0 脚本:
*C)?5R:yY(xo0 #include "lrs.h"
?6R{?lk~z WoU0
gT7b"U4ZS0 vuser_init()
ju,g'x1r){&d;]1lO0 {51Testing软件测试网M8_#D)Y0htZ
    lrs_startup(257);51Testing软件测试网]:@D!}?4eHF%d#z
51Testing软件测试网5p%RBVS1y
    lrs_create_socket("socket0", "TCP", "LocalHost=0","Backlog=50", LrsLastArg);51Testing软件测试网 suDph%DIr2q
51Testing软件测试网*C)c%f6zPG2T/Ok | Q2_
    lrs_create_socket("socket1", "TCP", "LocalHost=0","Backlog=50", LrsLastArg);
yXY8]5A1rl9J)d0 51Testing软件测试网N)S&k{]5r
    lrs_create_socket("socket2", "TCP", "LocalHost=0","Backlog=50", LrsLastArg);
7n:z:@O _%} `0|0
j"t'J \VpB-? d0   /*  lrs_set_accept_timeout(60,0);*/
m ]!j?*W Fy0 51Testing软件测试网@^:[Ul.N
    lrs_accept_connection("socket2", "socket3");51Testing软件测试网 d5C0RX e+O0O
51Testing软件测试网rRd,pD#_d_
    lrs_create_socket("socket4", "TCP", "RemoteHost=localhost:8080",  LrsLastArg);51Testing软件测试网jLs.n'p}i

f!rs6RC7q&MM0     lrs_create_socket("socket5", "TCP", "RemoteHost=localhost:8080",  LrsLastArg);
6mz?NZPL0
(~I ?bh*tW2B0     lrs_send("socket5", "buf0", LrsLastArg);51Testing软件测试网 vJ-cNY Uy qP
51Testing软件测试网;p4^6`S!Nq/r${|
请高手个于解决谢谢!!!
t|s4j3k#la%R*b#]0

TAG:

 

评分:0

我来说两句

Open Toolbar