不要追求绝对的公平,红尘之中没有公平而言,人活一世,难得糊涂。                                           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错误
T7u'O0F'd,dq+R-l0 Replay LOG:
%YdPG ^D`0 Virtual User scrīpt started51Testing软件测试网_-mmab0b+K
Starting action vuser_init.51Testing软件测试网"f$|ZH"s@
vuser_init.c(12): lrs_startup(257)
ol&[!U4r0 vuser_init.c(14): lrs_create_socket(socket0, TCP, ...)51Testing软件测试网 \jOtj-Ms
vuser_init.c(16): lrs_create_socket(socket1, TCP, ...)
[ N2fE H,u)~O"@0 vuser_init.c(18): lrs_create_socket(socket2, TCP, ...)
rw7fzDe?0 vuser_init.c(20): lrs_set_accept_timeout(60, 0)51Testing软件测试网4H}6]O8o&V9N7r
vuser_init.c(22): lrs_accept_connection(socket2, socket3)
mq:X yL p#r2h0 vuser_init.c(22): Error : Timeout expired while trying to accept connection. Error code : 9017.51Testing软件测试网x7UhP6{]H,tLl)w
Abort was called from an action.
WEe_a_!` \7q0
J'Kw{b s(k0 脚本:51Testing软件测试网RwK;hw6g6B9V9`
#include "lrs.h"51Testing软件测试网5y2AHd7f3qCO v c,CI
51Testing软件测试网[nZ U z
vuser_init()
PN2Xq~n7O(N0 {
v;y~/WA0     lrs_startup(257);51Testing软件测试网+r%[8g2b6s N

_`qX8BU0     lrs_create_socket("socket0", "TCP", "LocalHost=0","Backlog=50", LrsLastArg);
[RMV/m3J.oAv K)g0
n-N4Z\PWHs s0     lrs_create_socket("socket1", "TCP", "LocalHost=0","Backlog=50", LrsLastArg);
"U1J)V'`P3[u0 51Testing软件测试网2z)oj:N,N$M
    lrs_create_socket("socket2", "TCP", "LocalHost=0","Backlog=50", LrsLastArg);
&RKE!B.^4D0 51Testing软件测试网;Zjo K7E$t7h
   /*  lrs_set_accept_timeout(60,0);*/51Testing软件测试网 J5T @;gTk$L Y"Hi

_-W-k$Vdn&G8B3R0    lrs_accept_connection("socket2", "socket3");51Testing软件测试网A.`DD,sb6D

/[u,q-~W6s0     lrs_create_socket("socket4", "TCP", "RemoteHost=localhost:8080",  LrsLastArg);51Testing软件测试网E+zvJ _ A#G"GJ
51Testing软件测试网{ HQT6er
    lrs_create_socket("socket5", "TCP", "RemoteHost=localhost:8080",  LrsLastArg);
4YmE[e+Op] a~0 51Testing软件测试网c5jn'MD
    lrs_send("socket5", "buf0", LrsLastArg);51Testing软件测试网 z ^6A[Z2C

/Kmw cRr0请高手个于解决谢谢!!!51Testing软件测试网P&M8zw7h I|/^#o$a5O

TAG:

 

评分:0

我来说两句

Open Toolbar