回放时报Fatal Error -26000错误。
本帖最后由 btpx003 于 2011-1-13 14:42 编辑Fatal Error -26000: LoadLibrary("LrwNetSocket.dll") failed, Windows error code=127
Warning: Extension lrwreplaymain.dll reports error -1 on call to function ExtPerProcessInitialize
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.
录制脚本后回放报错。求助。下面是录制的脚本。
/* -------------------------------------------------------------------------------
Script Title :
Script Description :
Recorder Version : 3041
------------------------------------------------------------------------------- */
vuser_init()
{
hdr_buflen1 = 276;
body_buflen1 = 0;
body_filelen1 = 0;
flags1 = 0;
wplus_http_wsock_request_ex(1, 1, -1775589184, 9090, "", &hdr_buffer1, &hdr_buflen1, &body_buffer1, &body_buflen1, &body_filename1, &body_filelen1, &flags1, 1193978048, 9933);
hdr_buflen2 = 277;
body_buflen2 = 0;
body_filelen2 = 0;
flags2 = 0;
wplus_http_wsock_request_ex(1, 2, -1775589184, 9090, "", &hdr_buffer2, &hdr_buflen2, &body_buffer2, &body_buflen2, &body_filename2, &body_filelen2, &flags2, 1193978048, 9933);
hdr_buflen3 = 400;
body_buflen3 = 0;
body_filelen3 = 0;
flags3 = 0;
wplus_http_wsock_request_ex(1, 3, -1775589184, 9090, "", &hdr_buffer3, &hdr_buflen3, &body_buffer3, &body_buflen3, &body_filename3, &body_filelen3, &flags3, 1193978048, 9933);
hdr_buflen4 = 399;
body_buflen4 = 0;
body_filelen4 = 0;
flags4 = 0;
wplus_http_wsock_request_ex(1, 4, -1775589184, 9090, "", &hdr_buffer4, &hdr_buflen4, &body_buffer4, &body_buflen4, &body_filename4, &body_filelen4, &flags4, 1193978048, 9933);
hdr_buflen5 = 397;
body_buflen5 = 0;
body_filelen5 = 0;
flags5 = 0;
wplus_http_wsock_request_ex(1, 5, -1775589184, 9090, "", &hdr_buffer5, &hdr_buflen5, &body_buffer5, &body_buflen5, &body_filename5, &body_filelen5, &flags5, 1193978048, 9933);
hdr_buflen6 = 397;
body_buflen6 = 0;
body_filelen6 = 0;
flags6 = 0;
wplus_http_wsock_request_ex(1, 6, -1775589184, 9090, "", &hdr_buffer6, &hdr_buflen6, &body_buffer6, &body_buflen6, &body_filename6, &body_filelen6, &flags6, 1193978048, 9933);
hdr_buflen7 = 395;
body_buflen7 = 0;
body_filelen7 = 0;
flags7 = 0;
wplus_http_wsock_request_ex(1, 7, -1775589184, 9090, "", &hdr_buffer7, &hdr_buflen7, &body_buffer7, &body_buflen7, &body_filename7, &body_filelen7, &flags7, 1193978048, 9933);
hdr_buflen8 = 403;
body_buflen8 = 0;
body_filelen8 = 0;
flags8 = 0;
wplus_http_wsock_request_ex(1, 8, -1775589184, 9090, "", &hdr_buffer8, &hdr_buflen8, &body_buffer8, &body_buflen8, &body_filename8, &body_filelen8, &flags8, 1193978048, 9933);
hdr_buflen9 = 406;
body_buflen9 = 0;
body_filelen9 = 0;
flags9 = 0;
wplus_http_wsock_request_ex(2, 1, -1775589184, 9090, "", &hdr_buffer9, &hdr_buflen9, &body_buffer9, &body_buflen9, &body_filename9, &body_filelen9, &flags9, 1193978048, 9933);
hdr_buflen10 = 402;
body_buflen10 = 0;
body_filelen10 = 0;
flags10 = 0;
wplus_http_wsock_request_ex(1, 9, -1775589184, 9090, "", &hdr_buffer10, &hdr_buflen10, &body_buffer10, &body_buflen10, &body_filename10, &body_filelen10, &flags10, 1193978048, 9933);
hdr_buflen11 = 407;
body_buflen11 = 0;
body_filelen11 = 0;
flags11 = 0;
wplus_http_wsock_request_ex(3, 1, -1775589184, 9090, "", &hdr_buffer11, &hdr_buflen11, &body_buffer11, &body_buflen11, &body_filename11, &body_filelen11, &flags11, 1193978048, 9933);
hdr_buflen12 = 402;
body_buflen12 = 0;
body_filelen12 = 0;
flags12 = 0;
wplus_http_wsock_request_ex(4, 1, -1775589184, 9090, "", &hdr_buffer12, &hdr_buflen12, &body_buffer12, &body_buflen12, &body_filename12, &body_filelen12, &flags12, 1193978048, 9933);
hdr_buflen13 = 406;
body_buflen13 = 0;
body_filelen13 = 0;
flags13 = 0;
wplus_http_wsock_request_ex(5, 1, -1775589184, 9090, "", &hdr_buffer13, &hdr_buflen13, &body_buffer13, &body_buflen13, &body_filename13, &body_filelen13, &flags13, 1193978048, 9933);
hdr_buflen14 = 401;
body_buflen14 = 0;
body_filelen14 = 0;
flags14 = 0;
wplus_http_wsock_request_ex(6, 1, -1775589184, 9090, "", &hdr_buffer14, &hdr_buflen14, &body_buffer14, &body_buflen14, &body_filename14, &body_filelen14, &flags14, 1193978048, 9933);
return 0;
} Action()
{
lr_think_time(16);
hdr_buflen15 = 415;
body_buflen15 = 0;
body_filelen15 = 0;
flags15 = 0;
wplus_http_wsock_request_ex(1, 10, -1775589184, 9090, "", &hdr_buffer15, &hdr_buflen15, &body_buffer15, &body_buflen15, &body_filename15, &body_filelen15, &flags15, 1193978048, 9933);
hdr_buflen16 = 416;
body_buflen16 = 0;
body_filelen16 = 0;
flags16 = 0;
wplus_http_wsock_request_ex(3, 2, -1775589184, 9090, "", &hdr_buffer16, &hdr_buflen16, &body_buffer16, &body_buflen16, &body_filename16, &body_filelen16, &flags16, 1193978048, 9933);
hdr_buflen17 = 539;
body_buflen17 = 51;
body_filelen17 = 0;
flags17 = 0;
wplus_http_wsock_request_ex(4, 2, -1775589184, 9090, "", &hdr_buffer17, &hdr_buflen17, &body_buffer17, &body_buflen17, &body_filename17, &body_filelen17, &flags17, 1193978048, 9933);
hdr_buflen18 = 608;
body_buflen18 = 0;
body_filelen18 = 0;
flags18 = 0;
wplus_http_wsock_request_ex(5, 2, -1775589184, 9090, "", &hdr_buffer18, &hdr_buflen18, &body_buffer18, &body_buflen18, &body_filename18, &body_filelen18, &flags18, 1193978048, 9933);
hdr_buflen19 = 409;
body_buflen19 = 0;
body_filelen19 = 0;
flags19 = 0;
wplus_http_wsock_request_ex(2, 2, -1775589184, 9090, "", &hdr_buffer19, &hdr_buflen19, &body_buffer19, &body_buflen19, &body_filename19, &body_filelen19, &flags19, 1193978048, 9933);
hdr_buflen20 = 408;
body_buflen20 = 0;
body_filelen20 = 0;
flags20 = 0;
wplus_http_wsock_request_ex(6, 2, -1775589184, 9090, "", &hdr_buffer20, &hdr_buflen20, &body_buffer20, &body_buflen20, &body_filename20, &body_filelen20, &flags20, 1193978048, 9933);
hdr_buflen21 = 415;
body_buflen21 = 0;
body_filelen21 = 0;
flags21 = 0;
wplus_http_wsock_request_ex(1, 11, -1775589184, 9090, "", &hdr_buffer21, &hdr_buflen21, &body_buffer21, &body_buflen21, &body_filename21, &body_filelen21, &flags21, 1193978048, 9933);
hdr_buflen22 = 415;
body_buflen22 = 0;
body_filelen22 = 0;
flags22 = 0;
wplus_http_wsock_request_ex(3, 3, -1775589184, 9090, "", &hdr_buffer22, &hdr_buflen22, &body_buffer22, &body_buflen22, &body_filename22, &body_filelen22, &flags22, 1193978048, 9933);
hdr_buflen23 = 409;
body_buflen23 = 0;
body_filelen23 = 0;
flags23 = 0;
wplus_http_wsock_request_ex(4, 3, -1775589184, 9090, "", &hdr_buffer23, &hdr_buflen23, &body_buffer23, &body_buflen23, &body_filename23, &body_filelen23, &flags23, 1193978048, 9933);
hdr_buflen24 = 414;
body_buflen24 = 0;
body_filelen24 = 0;
flags24 = 0;
wplus_http_wsock_request_ex(5, 3, -1775589184, 9090, "", &hdr_buffer24, &hdr_buflen24, &body_buffer24, &body_buflen24, &body_filename24, &body_filelen24, &flags24, 1193978048, 9933);
hdr_buflen25 = 443;
body_buflen25 = 0;
body_filelen25 = 0;
flags25 = 0;
wplus_http_wsock_request_ex(2, 3, -1775589184, 9090, "", &hdr_buffer25, &hdr_buflen25, &body_buffer25, &body_buflen25, &body_filename25, &body_filelen25, &flags25, 1193978048, 9933);
hdr_buflen26 = 430;
body_buflen26 = 0;
body_filelen26 = 0;
flags26 = 0;
wplus_http_wsock_request_ex(6, 3, -1775589184, 9090, "", &hdr_buffer26, &hdr_buflen26, &body_buffer26, &body_buflen26, &body_filename26, &body_filelen26, &flags26, 1193978048, 9933);
hdr_buflen27 = 440;
body_buflen27 = 0;
body_filelen27 = 0;
flags27 = 0;
wplus_http_wsock_request_ex(1, 12, -1775589184, 9090, "", &hdr_buffer27, &hdr_buflen27, &body_buffer27, &body_buflen27, &body_filename27, &body_filelen27, &flags27, 1193978048, 9933);
hdr_buflen28 = 448;
body_buflen28 = 0;
body_filelen28 = 0;
flags28 = 0;
wplus_http_wsock_request_ex(3, 4, -1775589184, 9090, "", &hdr_buffer28, &hdr_buflen28, &body_buffer28, &body_buflen28, &body_filename28, &body_filelen28, &flags28, 1193978048, 9933);
hdr_buflen29 = 448;
body_buflen29 = 0;
body_filelen29 = 0;
flags29 = 0;
wplus_http_wsock_request_ex(4, 4, -1775589184, 9090, "", &hdr_buffer29, &hdr_buflen29, &body_buffer29, &body_buflen29, &body_filename29, &body_filelen29, &flags29, 1193978048, 9933);
hdr_buflen30 = 440;
body_buflen30 = 0;
body_filelen30 = 0;
flags30 = 0;
wplus_http_wsock_request_ex(5, 4, -1775589184, 9090, "", &hdr_buffer30, &hdr_buflen30, &body_buffer30, &body_buflen30, &body_filename30, &body_filelen30, &flags30, 1193978048, 9933);
hdr_buflen31 = 448;
body_buflen31 = 0;
body_filelen31 = 0;
flags31 = 0;
wplus_http_wsock_request_ex(2, 4, -1775589184, 9090, "", &hdr_buffer31, &hdr_buflen31, &body_buffer31, &body_buflen31, &body_filename31, &body_filelen31, &flags31, 1193978048, 9933);
hdr_buflen32 = 440;
body_buflen32 = 0;
body_filelen32 = 0;
flags32 = 0;
wplus_http_wsock_request_ex(6, 4, -1775589184, 9090, "", &hdr_buffer32, &hdr_buflen32, &body_buffer32, &body_buflen32, &body_filename32, &body_filelen32, &flags32, 1193978048, 9933);
hdr_buflen33 = 431;
body_buflen33 = 0;
body_filelen33 = 0;
flags33 = 0;
wplus_http_wsock_request_ex(1, 13, -1775589184, 9090, "", &hdr_buffer33, &hdr_buflen33, &body_buffer33, &body_buflen33, &body_filename33, &body_filelen33, &flags33, 1193978048, 9933);
hdr_buflen34 = 436;
body_buflen34 = 0;
body_filelen34 = 0;
flags34 = 0;
wplus_http_wsock_request_ex(3, 5, -1775589184, 9090, "", &hdr_buffer34, &hdr_buflen34, &body_buffer34, &body_buflen34, &body_filename34, &body_filelen34, &flags34, 1193978048, 9933);
hdr_buflen35 = 444;
body_buflen35 = 0;
body_filelen35 = 0;
flags35 = 0;
wplus_http_wsock_request_ex(4, 5, -1775589184, 9090, "", &hdr_buffer35, &hdr_buflen35, &body_buffer35, &body_buflen35, &body_filename35, &body_filelen35, &flags35, 1193978048, 9933);
hdr_buflen36 = 435;
body_buflen36 = 0;
body_filelen36 = 0;
flags36 = 0;
wplus_http_wsock_request_ex(5, 5, -1775589184, 9090, "", &hdr_buffer36, &hdr_buflen36, &body_buffer36, &body_buflen36, &body_filename36, &body_filelen36, &flags36, 1193978048, 9933);
hdr_buflen37 = 443;
body_buflen37 = 0;
body_filelen37 = 0;
flags37 = 0;
wplus_http_wsock_request_ex(2, 5, -1775589184, 9090, "", &hdr_buffer37, &hdr_buflen37, &body_buffer37, &body_buflen37, &body_filename37, &body_filelen37, &flags37, 1193978048, 9933);
hdr_buflen38 = 446;
body_buflen38 = 0;
body_filelen38 = 0;
flags38 = 0;
wplus_http_wsock_request_ex(6, 5, -1775589184, 9090, "", &hdr_buffer38, &hdr_buflen38, &body_buffer38, &body_buflen38, &body_filename38, &body_filelen38, &flags38, 1193978048, 9933);
hdr_buflen39 = 432;
body_buflen39 = 0;
body_filelen39 = 0;
flags39 = 0;
wplus_http_wsock_request_ex(1, 14, -1775589184, 9090, "", &hdr_buffer39, &hdr_buflen39, &body_buffer39, &body_buflen39, &body_filename39, &body_filelen39, &flags39, 1193978048, 9933);
hdr_buflen40 = 442;
body_buflen40 = 0;
body_filelen40 = 0;
flags40 = 0;
wplus_http_wsock_request_ex(3, 6, -1775589184, 9090, "", &hdr_buffer40, &hdr_buflen40, &body_buffer40, &body_buflen40, &body_filename40, &body_filelen40, &flags40, 1193978048, 9933);
hdr_buflen41 = 434;
body_buflen41 = 0;
body_filelen41 = 0;
flags41 = 0;
wplus_http_wsock_request_ex(4, 6, -1775589184, 9090, "", &hdr_buffer41, &hdr_buflen41, &body_buffer41, &body_buflen41, &body_filename41, &body_filelen41, &flags41, 1193978048, 9933);
hdr_buflen42 = 438;
body_buflen42 = 0;
body_filelen42 = 0;
flags42 = 0;
wplus_http_wsock_request_ex(5, 6, -1775589184, 9090, "", &hdr_buffer42, &hdr_buflen42, &body_buffer42, &body_buflen42, &body_filename42, &body_filelen42, &flags42, 1193978048, 9933);
hdr_buflen43 = 438;
body_buflen43 = 0;
body_filelen43 = 0;
flags43 = 0;
wplus_http_wsock_request_ex(2, 6, -1775589184, 9090, "", &hdr_buffer43, &hdr_buflen43, &body_buffer43, &body_buflen43, &body_filename43, &body_filelen43, &flags43, 1193978048, 9933); wplus_http_wsock_request_ex(12, 1, -1775589184, 9090, "", &hdr_buffer137, &hdr_buflen137, &body_buffer137, &body_buflen137, &body_filename137, &body_filelen137, &flags137, 1193978048, 9933);
return 0;
} 汗,我也遇到这个问题。有能解决的高手,麻烦请教一下。 我也有同样问题,还没解决呀 我也 遇到了不知道谁能解决 等待解决 把,vuser--->run-time setting 下的 winlnet replay instead of sockets勾上。 楼上正解
更详细的设置是:vuser->run-time settings->preferences->advanced里勾上WININET replay instead of Sockets。 这个问题我也遇到了 这个问题我也遇到了 回复 9# 曾经的宇宙
为什么要这样设置啊?求正解。。。。。
扣扣:117293968 回复 10# yql0314
请问你的问题解决了吗?我也遇到啦 :'(:'(:'(:'(:'(请求高手解决~~~我也同样遇到这个问题,楼上的解决办法用了都不行哦~~~~ :'(:'(:'(:'(:'(请求高手解决~~~我也同样遇到这个问题,楼上的解决办法用了都不行哦~~~~ 回复 16# rushygirl
我的是win7系统~~ 你仔细检查一下你录制脚本所用的协议,肯定不是WEB(http/html),你的应该是sibel web 我也遇到同样的问题,悲剧中。。。 XP下 也出现这个问题 求解! xp+loadrunner9.5+ IE8
脚本录制后,回放时出现如下提示:
Fatal Error -26000: LoadLibrary("LrwNetSocket.dll") failed, Windows error code=127
Warning: Extension lrwreplaymain.dll reports error -1 on call to function
ExtPerProcessInitialize
Error: Thread Context: Call to service of the driver failed, reason - thread context
wasn't initialized on this thread.
页:
[1]
2