求助LR中C/S性能测试
目前我要测试一个C/S结构的系统,但从来没使用过LR测试过这样的系统,原来测试的都是B/S结构的,请问有谁用过吗,能给介绍一下吗,最好能有个实例,万分感谢! 不清楚 wr怎么样? 用LR录完之后VuGen里产生不了脚本,这是协议选择的问题了,LR支持的协议和应用非常广泛,对于常见的,b/s系统,选择Web(Http/Html),测一个C/S系统,根据C/S结构所用到的后台数据库来选择不同的协议,如果后台数据库是sybase,则采用sybaseCTlib协议,如果是sql server,则使用MS sql server的协议,至于oracle 数据库系统,当然就使用oracle 2-tier协议。
对于没有数据库的c/s(ftp,smtp)这些可以选择windwos wockets协议。
至于其他的ERP,EJB(需要ejbdetector.jar),选择相应的协议即可.
C/S结构测试问题
我查了一些资料,我要测试的C/S结构应该选择的协议是WEB SERVICE协议,另外我如果一次选择多个协议应该如何选择啊,我按ctrl或Shift都不能进行多选,因为我要测的系统使用的数据库是DB2数据库,我还想选择DB2协议,但一次无法选择两个协议 在选择new的时候,就可以选择“New multiple Protocol Script” 可以去看看这个帖子。http://bbs.51testing.com/viewthread.php?tid=89417&extra=&page=1
你就会明白了。
求助
现在我已经知道我测试的C/S结构系统选择何种协议,但是录制完脚本后总出现Action.c(30): Error : socket2 - Software caused connection abort. Error code : 10053致使我的测试无法继续下去,谁能帮我解决一下,谢谢你可以把代码贴一部分上来
这样才好给你看是什么原因啊你可以把代码贴一部分上来
Virtual User Script startedStarting action vuser_init.
vuser_init.c(12): lrs_startup(257)
vuser_init.c(14): lrs_create_socket(socket0, TCP, ...)
vuser_init.c(16): lrs_close_socket(socket0)
vuser_init.c(18): lrs_create_socket(socket1, TCP, ...)
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(14): lrs_create_socket(socket2, TCP, ...)
Action.c(16): lrs_send(socket2, buf0)
Action.c(18): lrs_receive(socket2, buf1)
Action.c(20): lrs_send(socket2, buf2)
Action.c(22): lrs_receive(socket2, buf3)
Action.c(22): Mismatch (expected 75 bytes, 43 bytes actually received)
Action.c(24): lrs_send(socket2, buf4)
Action.c(26): lrs_receive(socket2, buf5)
Action.c(26): Error : socket2 - Software caused connection abort. Error code : 10053.
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
vuser_end.c(14): lrs_send(socket4, buf43)
vuser_end.c(14): Error : Specified socket socket4 doesn't exist. Error code : 9002.
Abort was called from an action.
你可以把代码贴一部分上来
#include "lrs.h"Action()
{
lr_think_time(22);
lrs_create_socket("socket2", "TCP", "LocalHost=0", "RemoteHost=amssyec.com:8000",LrsLastArg);
lrs_send("socket2", "buf0", LrsLastArg);
lrs_receive("socket2", "buf1", LrsLastArg);
lrs_send("socket2", "buf2", LrsLastArg);
lrs_receive("socket2", "buf3", LrsLastArg);
lrs_send("socket2", "buf4", LrsLastArg);
lrs_receive("socket2", "buf5", LrsLastArg);
lrs_send("socket2", "buf6", LrsLastArg);
lrs_receive("socket2", "buf7", LrsLastArg);
lrs_send("socket2", "buf8", LrsLastArg);
lrs_receive("socket2", "buf9", LrsLastArg);
lrs_send("socket2", "buf10", LrsLastArg);
lrs_create_socket("socket3", "TCP", "LocalHost=0", "RemoteHost=amssyec.com:8000",LrsLastArg);
lrs_send("socket3", "buf11", LrsLastArg);
lrs_receive("socket3", "buf12", LrsLastArg);
lrs_send("socket3", "buf13", LrsLastArg);
lrs_receive("socket2", "buf14", LrsLastArg);
lrs_send("socket2", "buf15", LrsLastArg);
lrs_receive("socket3", "buf16", LrsLastArg);
lrs_receive("socket2", "buf17", LrsLastArg);
lrs_receive("socket3", "buf18", LrsLastArg);
lrs_receive("socket2", "buf19", LrsLastArg);
lrs_receive("socket3", "buf20", LrsLastArg);
lrs_receive("socket2", "buf21", LrsLastArg);
lrs_send("socket3", "buf22", LrsLastArg);
lrs_receive("socket2", "buf23", LrsLastArg);
lrs_send("socket3", "buf24", LrsLastArg);
lrs_receive("socket2", "buf25", LrsLastArg);
lrs_receive("socket3", "buf26", LrsLastArg);
lr_think_time(10);
lrs_send("socket3", "buf27", LrsLastArg);
lrs_receive("socket3", "buf28", LrsLastArg);
lrs_send("socket3", "buf29", LrsLastArg);
lrs_receive("socket3", "buf30", LrsLastArg);
lrs_send("socket3", "buf31", LrsLastArg);
lrs_send("socket2", "buf32", LrsLastArg);
lrs_close_socket("socket2");
lrs_receive("socket3", "buf33", LrsLastArg);
lr_think_time(10);
lrs_send("socket3", "buf34", LrsLastArg);
lrs_close_socket("socket3");
lrs_create_socket("socket4", "TCP", "LocalHost=0", "RemoteHost=amssyec.com:8000",LrsLastArg);
lrs_send("socket4", "buf35", LrsLastArg);
lrs_receive("socket4", "buf36", LrsLastArg);
lrs_send("socket4", "buf37", LrsLastArg);
lr_think_time(54);
lrs_receive("socket4", "buf38", LrsLastArg);
lrs_send("socket4", "buf39", LrsLastArg);
lrs_receive("socket4", "buf40", LrsLastArg);
lrs_send("socket4", "buf41", LrsLastArg);
lr_think_time(23);
lrs_receive("socket4", "buf42", LrsLastArg);
return 0;
}
你可以把代码贴一部分上来
#include "lrs.h"vuser_end()
{
lr_think_time(10);
lrs_send("socket4", "buf43", LrsLastArg);
lrs_receive("socket4", "buf44", LrsLastArg);
lrs_send("socket4", "buf45", LrsLastArg);
lrs_receive("socket4", "buf46", LrsLastArg);
lrs_send("socket4", "buf47", LrsLastArg);
lrs_receive("socket4", "buf48", LrsLastArg);
lrs_close_socket("socket1");
lrs_cleanup();
return 0;
}
你把DATA。WS中的内容贴上来
到BUF5 就可以了要把BUF5的也贴上来哦你这个 需要关联了按道理
你把DATA。WS中的内容贴上来
不知道为什么很多乱码;WSRData 2 1
sendbuf0 110
"\x16\x03\x00\x00"
"i"
"\x01\x00\x00"
"e"
"\x03\x00"
"F"
"\xfa"
"\b蹦*綤傻J_.v濔莔"
"\x15\xbc"
";0"
"\x02"
"㈠"
"\xe5"
"&$.\r"
"\x00\x00"
">"
"\x00\x04\x00\x05\x00"
"/"
"\x00"
"5"
"\x00"
"\t"
"\x00"
"\n"
"\xfe\xff\x00"
"3"
"\x00"
"9"
"\x00\x15\x00\x16\x00"
"2"
"\x00"
"8"
"\x00"
"f"
"\x00\x12\x00\x13\x00\x03\x00"
"\b"
"\x00\x06\x00\x14\x00\x11\x00\x01\x00\x02\x00"
"4"
"\x00"
":"
"\x00\x18\x00\x1a\x00\x1b\x00\x17\x00\x19\x01\x00"
recvbuf1 610
"\x16\x03\x00\x02"
"]"
"\x02\x00\x00"
"F"
"\x03\x00\x00\x00\x00"
";Y始"
"\x12"
"*撅轲D菰孳堎Q"
"\x99\x19"
"\r"
"\xab"
"7烰"
"\xc6"
"%驟 "
"\x88\x1d\x00\x00"
"h\t"
"\xb8\x01\xcd"
"\r蛺妭附H鞽XXX;"
"\x06"
"鶩>"
"\x01\x00\x00\x00"
"5"
"\x00"
"\v"
"\x00\x02"
"\v"
"\x00\x02"
"\b"
"\x00\x02\x05"
"0"
"\x82\x02\x01"
"0"
"\x82\x01"
"j"
"\xa0\x03\x02\x01\x02\x02\x04"
"A"
"\x99\x1c"
"]0\r"
"\x06"
"\t*咹嗺\r"
"\x01\x01\x04\x05\x00"
"0E1\v0\t"
"\x06\x03"
"U"
"\x04\x06\x13\x02"
"US1"
"\x1a"
"0"
"\x18\x06\x03"
"U"
"\x04"
"\n"
"\x13\x11"
"Dummy Certificate1"
"\x1a"
"0"
"\x18\x06\x03"
"U"
"\x04\x03\x13\x11"
"Dummy Certificate0"
"\x1e\x17"
"\r041114211509Z"
"\x17"
"\r241110211509Z0E1\v0\t"
"\x06\x03"
"U"
"\x04\x06\x13\x02"
"US1"
"\x1a"
"0"
"\x18\x06\x03"
"U"
"\x04"
"\n"
"\x13\x11"
"Dummy Certificate1"
"\x1a"
"0"
"\x18\x06\x03"
"U"
"\x04\x03\x13\x11"
"Dummy Certificate0仧0\r"
"\x06"
"\t*咹嗺\r"
"\x01\x01\x01\x05\x00\x03"
"亶"
"\x00"
"0亯"
"\x02"
"亖"
"\x00"
""
"\xa8\x18"
"`B緑錖繊H凵蛪9公旪"
"\x00"
"棏a3闀煸遴W璕N3Vm"
"\x12"
"g⿲誕"
"\x80"
"萳4蠾蒋p"
"\xc2"
"7縪3蚲f测痗鏋W雠芿"
"\xa6\x00"
"兠[!R"
"\x1f"
"\n"
"8\v"
"\xee"
"9$"
"\x11"
"鹓"
"\x1e"
"蓢2"
"\x1d"
"4/"
"\x1f"
";"
"\x1d"
"纱"
"\xbd\x0f"
""
"\x18"
"\b唩f"
"\xcc"
"6%岰刜傔谻 +O"
"\x02\x03\x01\x00\x01"
"0\r"
"\x06"
"\t*咹嗺\r"
"\x01\x01\x04\x05\x00\x03"
"亖"
"\x00"
"櫩"
"\xbe"
"!h狊dp"
"\xd2\xff"
"PhW]骒⑿"
"\x0f\x0f"
"誺禺"
"\x16"
"t"
"\xcc\x10"
"C卛f"
"\x0e\x92"
"/牐抭G"
"\xbd\x04\xb5\x03"
"L"
"\x90"
"5?"
"\xa6"
"=bO寊.sZ鷟"
"\xbb"
"$嬺艺燗U\b"
"\x97"
"<蔜\rN饷"
"\x03\x18"
"D\a茐銳"
"\x16"
"Tψ3A戧"
"\x06"
"輭溛"
"\x1e"
"颬i$`"
"\x7f\xec"
".珨f錼r"
"\x1e"
"8h="
"\xee\x13\xe1\x18\xc3"
"!,"
"\xd6\x0e\x00\x00\x00"
sendbuf2 212
"\x16\x03\x00\x00\x84\x10\x00\x00\x80"
"3ǘ"
"\x19"
"昋A"
"\xd6\x19"
"^s哭懔"
"\x15"
"-"
"\xc1"
"&X眒竧揫"
"\xd3"
"\a"
"\x93"
"=*x"
"\x10\xf1"
"1"
"\x18"
"拠鶃w䦛"
"\xd1"
"\f鮳k葋?+徭y乄>O媖瑀X"
"\xfc"
"\rY"
"\x02\x1f"
"臃炔墫<M)z速*歐Ty/O"
"\x1a"
"W梙铠Q"
"\x9f"
"4絁佗5fb"
"\xe8"
"/;怍%"
"\x06"
"佃说m櫼"
"\xae"
"'髬T搛"
"\x9f\x14\x03\x00\x00\x01\x01\x16\x03\x00\x00"
"@吿"
"\xd3"
"//f胐駚"
"\x1c\x82"
"%"
"\x03\x11"
"+醏晻"
"\xe2\x14"
"访跈t"
"\x12"
"\b,_A鉺啉鞅"
"\xd2\x0f"
"H摁褝"
"\x18"
".嘦 载"
"\x80"
"蛎&橃霗"
"\x93\x12\x1d\xea"
recvbuf3 75
"\x14\x03\x00\x00\x01\x01\x16\x03\x00\x00"
"@2寊霐fU"
"\x85\x1b"
"0髅氅aa琧$ab鳏n2$萯R"
"\xf0\x1c\x1b\x04"
"Z"
"\x83\x1e"
"_"
"\xe8\x1b"
"畣h"
"\x14\xf5\x0e"
"6"
"\x11"
"鯆"
"\xe5\x15"
"凊"
"\xba"
"#i呴uh"
你把DATA。WS中的内容贴上来
sendbuf4 1946"\x17\x03\x00\x01"
"p貜塇T="
"\xff"
"a/檨"
"\xd1"
"-殯壱2船CP艧"
"\xa8"
"\b@隬"
"\x1b"
"淂1瞸|"
"\x1d"
"侨耏仦嗳l蘝"
"\xc9"
" 拆"
"\x01"
"ZYY洨!$D_鎽匩岑\fI仱"
"\xc1"
")k娨!"
"\xd5"
"'5>銰"
"\xb2"
"*"
"\xff\x17"
"X"
"\xe0\x05\x01\x11"
";攢﹝/"
"\xd5\x1d"
"u"
"\xa3\x11"
"∷<曎u杤@L%E檚&ㄒ"
"\xd5"
"\b"
"\xb5\x10"
"鬮kQ"
"\x19"
"嗍cd\tg"
"\x19"
"MZ萆"
"\xbb"
"7猟"
"\x0e"
"g"
"\x1a"
"瓙"
"\xa6"
"8N梤鰎溓"
"\x7f"
"プ"
"\x97"
"&q饑暻冤z,\"\"浍g"
"\xbe"
"#"
"\xf5"
"'啽"
"\x8f\x1d"
"櫀删蹍"
"\xe0"
" 暿泝hU)酬x嵩f ﹎骙&1"
"\xb3"
" \n"
"鲬贵埡炔"
"\xec"
";‰阘#x"
"\xa0"
"+k"
"\x17\x80\x1a"
"稝"
"\xe6"
"<偻"
"\x01"
"s"
"\x06"
"斗M4"
"\x80"
"6舎JmP"
"\xf2\x1f"
"\fg撀炜愪昿筙5&^4pB\"醺zH"
"\xe3"
"\r"
"\x7f\xf5"
"\vweo盓恗Az9"
"\x02"
"躶鬎#矩4伳ㄙ仼V"
"\x1a"
"h岪X;谷^"
"\x0e"
"м"
"\x9f\x19\xc8"
"<"
"\x9d\x02"
"G潰埗鴷o"
"\x1f"
"搐貼kk*逷嶉"
"\xec\x17\x03\x00\x06"
" T滔\""
"\xbd\x11\x92\x03"
"*枅&~,"
"\x13"
"彥"
"\x10\xc4\x1e"
"ZY賠S&T"
"\x03\x88"
"\r奞劦舟$溽"
"\x15"
"Mt圢鵊"
"\x15"
"袑"
"\x06"
"罌r猀"
"\x01"
"〾Y\""
"\xb0"
"\t"
"\xdb"
"/"
"\xf1\x1a"
")"
"\x06"
"庯残J咹h<廑跟"
"\x9a\x02"
"^O誑K飰g2蝂y"
"\x9e"
":迻栒簉亭訊"
"\xed\x1c"
"@"
"\xf2"
"4腜z(,o盀t"
"\x1a"
"w2郛"
"\xfb\x04"
"嗕U\v"
"\xa4\x15"
"9"
"\x0f"
"貫荟R戬"
"\x06"
"槯"
"\x04\x1f"
"myR詾轷\a韤湓x罘呙"
"\x8f"
"1鸤H=VZHn谩"
"\x9d\x1e"
"*鞣蟸"
"\x9d"
"-厦X\b艕璨"
"\x10"
"|"
"\x17"
"亮駘 睾"
"\xe4"
"4"
"\x11"
"6"
"\xe0\x0e"
"\\u=Q"
"\xb6\x04"
"P禘"
"\x1b"
"鳫歕=CF"
"\xb3"
"#姟怕v空["
"\x17"
"bX愳U_鞎淖"
"\xd5\x7f"
"[悄校承帣馩"
"\x03"
"議L鱾y"
"\xc8"
"(\f"
"\x10"
"竴>-2"
"\x1e"
"溑檏"
"\x1a\xf2"
"4\v財["
"\xad\x01\x84\x1c"
"渙?"
"\xab"
"#矌)巇"
"\x1c\x1d"
"|素偫\b牡瀖\t狹"
"\x06\xff"
"B2楧2沓晿羥1釖9"
"\xaf\x16"
"箎筽Vg$"
"\xbd"
"/熼>"
"\x0e"
"儏"
"\xa7"
"2J及峺"
"\x8e\x12"
"V1j鬰硽`枩"
"\xbd"
";z"
"\xcc\x15"
"'琢`"
"\x18"
"祪"
"\x14"
"皤捬"
"\xe5"
"\v巾"
"\xdd\x06"
"笊[锺﨤蜏⺄a"
"\x1c"
"寝/>嶼"
"\x02"
"2u圚紺燏VB7R"
"\x88\x15"
"H4"
"\x1d\xfc\x7f\x16\x13"
"Y"
"\xf7\xff\x98"
"\b俯"
"\x15\x1b"
"獊~"
"\x8c"
" 趀"
"\x02"
"鞝J"
"\x11\x01"
"}鏏揮#YC卒辸"
"\xb1"
"\f"
"\x1f\x0f\x1b\xd9\x12\x1a"
"=仕鳎"
"\xb4"
")"
"\xed"
"\a"
"\x1d"
"礡9"
"\xc3"
"2厞"
"\x93"
"1諄崐V7蔖+"
"\xec\x1c"
"+洚勰"
"\xfe"
"\"匡"
"\x13"
"|,-"
"\xe8\x14\x13"
"~"
"\xe8\x1e\xdb\x1c"
"l"
"\xe0"
"=蹓VL靗精"
"\x96"
"/i@徃"
"\x18\x04"
"K"
"\x19"
"J"
"\x1a\x03"
"lX\aх婥"
"\x1b\x1c\xf4"
","
"\xbb"
"<"
"\xe8"
".u"
"\x06"
"佧忹"
"\xc9"
"\tv痖El歂洙Gzb\v專jh法G[嶳窖緐锄矉\r賯/炊"
"\xca"
"4p"
"\xc2"
"20ihV"
"\x1c"
"肧詇"
"\x16"
"J&^sM"
"\x11\xc6"
"!\f"
"\xa4"
"9"
"\xbf\x7f\xda"
"\b"
"\xe1\x01"
"+隇=錖a"
"\xc0"
" 傕阋S师饁Z"
"\xe7"
"6\""
"\xfc"
"\fr_匟钶[簦f"
"\xa7\x1b"
"极麋"
"\xe8"
"="
"\xc2"
"\n"
"堺矬dX"
"\x1e"
"."
"\xdc\x15"
"b?!1"
"\x14"
"枉F瓏t蝘ki\f4羐"
"\xfd"
"\va"
"\xf4"
"%)睎拔\r"
"\x16"
"2艇S酐-カ妠綉"
"\x14"
"m>"
"\x00"
"\r;A臃閿"
"\xe4"
"-i=矌DJ{螪"
"\xca"
"\b"
"\x98"
"<\r"
"\xbb"
" "
"\xb3\x01"
"排"
"\xbe\x0f\x82"
"&税钁科鼴"
"\xf4"
"("
"\xc2\x1f"
"8释枱琇\b"
"\xe2"
"6\a袒"
"\x15\x83\x17"
"[w爜^"
"\x17"
"砂X隲&伿蘏达'鄗妢}"
"\x04\x04"
"P"
"\xdf\x15"
"愵"
"\xdb"
"\fяM8纬=*w>鳖W\b"
"\xf5\x04"
"["
"\xa2\x1b\xce\x02\xc2"
"$"
"\xde\x1b"
"殊濈蹿"
"\x15"
"-P"
"\x06"
"弶絧犔Q_3吃Y鐄:>^$梬c\f獣醖("
"\xcd"
"(dJ驏\fE\n"
"\xff"
"C僂"
"\x13"
"q,?,\r"
"\x9f\x06\x1b\x8c"
"+t"
"\x1b"
"疓"
"\xef"
"\v-J囡\\"
"\xb1"
" 獦7\v峡"
"\xef"
";"
"\xd7"
",洕"
"\x04\x1f"
"淒"
"\xe7\x16"
"5y"
"\xb6"
"+"
"\x18"
"-灓弎夺\b"
"\x80"
"猥j6"
"\x10"
"A両凳㏎ts"
"\xff\x82\x12"
"靈id騳O骭舁眸0E\f69瘣怞t贔\"Tg猶鮒"
"\x1a"
"/桮檌r"
"\xdc"
"\t"
"\xe9"
"-"
"\x04"
"譩?~\\ "
"\x16"
"ㄓ嬠"
"\x80\xa7"
"0靘∑"
"\xb6\x0e"
"\vD業庖硹藱"
"\x1b"
"\t"
"\xe8"
"?;"
"\x9e\x11\xa5"
"?cI\f鯤U<馹:"
"\x1b"
"*G渓h蹭榀牘"
"\x87\x10"
"}陴"
"\x04"
"椀"
"\x19"
"9長|"
"\x1a\x9f\x16"
"葷&M穳"
"\xec\x00"
"擠蝅"
"\xf8\x12\x04\xa7\x1b\x17"
"随Ec"
"\xdd\x13\x0e"
"佫`"
"\xff"
"Pf灂D陾巯a鴃yD"
"\xea\x16\x14"
"琼襉坉 #$)OSZ咐$"
"\x8e\x06"
"y熏<*撒2"
"\x7f"
"辬"
"\x91"
"5"
"\x88"
"/隟B颌"
"\x12"
"嚁"
"\xfc\x1b"
"%━]訟哃:+Dg肧\f拷馲v動\fdu燿枴籆澔"
"\xf1"
"77"
"\x8a"
"&僈"
"\x15"
"佔@.渝Q"
"\x04"
"隰G=廾"
"\xd2"
"<"
"\xf6"
"(稀,鍭>鬅㧐飓逫籶兣"
"\x00"
"陉\b饾虞詾N箬憉,"
"\x19"
"狕c豕b虁r"
"\x1d"
"b撀\n"
"5]nzJ蹹"
"\x12"
"s7累"
"\xb5\x04"
"馉饜"
"\xad\x0e"
"5"
"\x1e\x05"
"\t"
"\x16"
"嶌囱!}"
"\x1d"
"je6"
"\x91\x06"
"Y@"
"\xfa\x0e"
"餭?(?"
"\x1d\x1d"
"杝"
"\x0f"
"孽嵰g眢z慝Jd挘褗(o48"
"\x9d\x0e"
"発"
"\xcc"
"15衯O袄e~繈覞"
"\x80"
"\v"
"\x01"
"相7"
"\xb1"
"+"
"\x98"
"(d"
"\x16"
"06鬷"
"\xf8\x15"
".O"
"\x1b"
"XOΘC皆"
"\x16"
"讋H 汏"
"\x16"
"飴\t胸J鷄嬼|;"
"\xe7\x1a"
"W"
"\xe3"
"5Cfw;瞺-鷭pm\v奥T "
"\xe1"
"&侟"
"\xa1"
"4榎弮"
"\xba"
"\n"
"\xdf"
"&5臎楯bUM"
"\xad"
"$}u#艶c"
"\xd4"
"\bG"
"\x98"
",r"
"\x1d"
"]镤"
"\x03"
"C"
"\x1a"
"鷲v寓T'"
"\xa6\x1e\x0f\xe4"
"-倞"
"\xe8\x12\xc7"
"\v;!"
"\xa6"
你把DATA。WS中的内容贴上来
recvbuf5 1306"\x17\x03\x00\x01\x10"
"qn3敥嫵 "
"\x15"
"跃舉#潪膵⑦渿F 掱M:4@j,K"
"\x1a"
"mQ"
"\x1c"
"\n"
"珓沼拪"
"\xeb"
"']蚑尜iW餬"
"\xe2"
"#L靿"
"\xfe\x19\x15"
"弊"
"\x9d\x03"
"娥\""
"\xd3\x0f"
"RW>"
"\x11"
"聣jEvN\"瞝Z"
"\x1f"
"\a{"
"\xe6"
")"
"\x94"
";橞{zV2P0蛸"
"\x0e"
"酔馕妎T"
"\x1e"
"Z祀N绂"
"\x10"
"80硌霸"
"\x10"
"?舳穮劑7"
"\xa1"
">缜裀"
"\xa4\x10"
"*硤"
"\xd0"
"'@u_o気鈜"
"\x1e"
"2鼢W溠"
"\xef"
"&窄∞9"
"\x0f\xb8"
"\v"
"\x1a"
"ay#磎陂儽}a挅{蚧@"
"\x1d"
"佸V;苌S"
"\x19"
"xA"
"\xd3"
"$:"
"\xe3\x12"
"v:"
"\xdb\x16"
"!"
"\x06"
"诣=鍈_"
"\x98"
"\bV硭鄎 \"X_RZBF聠{t岍焭尹俵魚"
"\x90"
",X"
"\x1e"
"饎?亨p"
"\xd8\x17\x03\x00\x04\x00\x85\x0e"
"T\\鲫蕘U"
"\x0e"
"檮WF虼"
"\xe5"
".~"
"\xf6\x18"
"!"
"\xe1\x14"
"K锁"
"\x02"
"%坮曹樰\a"
"\x7f"
"嚩\"Q哛忂"
"\x7f"
"}5"
"\x06\x05\x85\x13"
"璍$"
"\xc7\x05"
"\f濎>EMQk"
"\x13"
"窰h"
"\x9d\x1b"
"~H"
"\x85\x13"
"\v"
"\x13"
"=莘骃Q蛦灼"
"\x1a"
"秷屔]"
"\x1c"
"餔p"
"\xbb"
"2僅"
"\xc5"
"8\"3驣"
"\x9e\x1d"
"~7"
"\x01"
"2r皹:g\a摺臒@8麾9u価"
"\x8b"
")R"
"\xef"
"%λz"
"\x02"
""
"\x10"
",従"
"\x1e"
"曎癜E"
"\x0e"
"隵fNE"
"\xb2\x02"
"\r珒鈫歕鬤+鈜'"
"\x14"
"<"
"\x86\x1b"
"u"
"\x9b"
","
"\x15\x13\xc6"
"0炻"
"\xb9\x1c"
"鄭"
"\x13"
"L"
"\x1a"
"%#雑z銽"
"\x1c"
"l筂"
"\x9a"
"\v訷嫜踫t.桼漨"
"\x1b"
".蝽~"
"\xc1\x06"
"鱫fu"
"\x03"
"/颷o\r君贗`BM嵬py顳"
"\xff"
"X(T"
"\x11\x80"
"晭"
"\xd2"
"*S@3"
"\x12\x10"
"夙"
"\x16"
"弔躌痉儣>^懬?P滝侠觯"
"\x8f"
"8絳sorJ"
"\x92"
"/忮"
"\x1a"
"筋"
"\xa8"
"0F詭I"
"\xce"
" "
"\x10"
"/jD潘"
"\xeb"
";籧1"
"\x1b\x9f"
"\t"
"\xd6"
"5o5"
"\xc8\x05"
"X"
"\xcd"
";0楏"
"\x00"
"嚂"
"\xa6\x15\xe0"
"#ㄧ!"
"\x8c\x15"
"Yw"
"\x7f"
"欹蛶*澉墅櫻鉱痋鯻"
"\x18"
"瑈"
"\xb5"
"9"
"\xdb"
"\n"
"I*綥"
"\xf7"
"?郊飖烾眧"
"\x0e"
"A爤獖钀c腮#"
"\xbc"
"\a<9j"
"\x03\xff"
"No"
"\x96"
"6`J符"
"\x15"
"蠊`.8QΤ懘"
"\x1c\xa3"
"\n"
"\aQe贰"
"\xf5"
"("
"\x17"
"睚掤pgx亇a馩华"
"\x02"
"婻V{匽秙囸"
"\xe4"
">9"
"\x9e\x1b\xb7"
"-"
"\x1e"
"~c編"
"\xec"
"7$3K擵剞麫"
"\x10"
"9\b"
"\xfb\x13\xd2\x15\x8e\x15"
"{聉糑Un"
"\xa2\x7f"
"7"
"\x10"
"f!癸攭桑"
"\x19"
"(軛|"
"\xff"
"_拝h敓鞄"
"\xff"
">a扽"
"\x13"
"&5"
"\x1f\xeb\x1c\x1a"
"嶔緖"
"\x17"
"杜"
"\xf3"
"0转 筺Hc覮閆"
"\x10\x0f"
"鮡l"
"\x11"
"`啓頨緦疗}I"
"\x02\xe8"
".-拑"
"\x1d"
"\n"
"x-着霥.U"
"\xbf"
"6曱"
"\xd5\x1c"
"^"
"\x94"
"0m饁(焰j"
"\x12"
"t#曠.UH坌馤酼0窃"
"\xc8"
"\f"
"\x93"
"'m4魾"
"\xe5\x11"
"廭8玹"
"\x02"
"峠吶佗緫珒"
"\xc2"
"#"
"\xaa"
"/Oぉ澁H赑搎"
"\xc2\x1a"
"恝塰q"
"\xbb\x06"
"娊尔O坛j`\b儆8"
"\x99\x17"
"iv"
"\xc1\x17"
"酳76w苛@Tp"
"\x8b\x12\x15"
"k杔鍜嚹挍"
"\x96"
"5f"
"\x1a"
"逕绱K\b ?B"
"\x82"
"9闱}B\ajmJ"
"\xdc\x17\x80"
"\f"
"\xd6\x19"
"`⑵戫"
"\xef\x1f\x9c"
"<曄d庪塴)bM"
"\x85"
"$В!斝"
"\x06\x1a\x05"
"K間絵匇萜剟E汩烢Lp"
"\xd8"
"\a蔚曪'皎畝鞊"
"\x16"
"\f垐末di"
"\x1c"
"i"
"\x14"
"縧"
"\xbb"
"9z2"
"\xb4"
"3U`"
"\xcf"
"8殜DxN鸂団灔U5+皾n"
"\x80\x01"
"o鈡醮籢熫"
"\xee"
"=洸S"
"\x8d\x02"
"9iq"
"\x7f\x1b"
"8\b]n"
"\xeb"
"*7.\b"
"\xe5\x1d"
"B于艶┿"
"\xd6"
"?"
"\x12\x1a"
"i唼\"幬礳SwB"
"\xbc\x13\xaf\x05\x14"
"纍>"
"\xe2\xff"
"电v恔"
"\x05"
"畿k"
"\xf6"
"7y;"
"\x03\x89\x01"
"⑵"
"\xe4"
"\r"
"\x1d"
"焲繌"
"\x12"
"Jjm"
"\xd1"
"6"
"\xce"
","
"\x10"
"┴柘"
"\xca"
"!8"
"\xe3"
"\v㏑~R疇"
"\xce"
"3X峏蠲"
"\x9a"
"\a扷1y擈c涱\fS弿A"
"\x03" 我来说说我的想法:
1、使用LR录制脚本时,所选择何种协议,并不是看系统的架构,而是看系统所使用的协议而定的。
2、只有在LR不支持你的系统的协议时,才考虑使用WinSocket。
3、请高手继续回答楼主的问题。
楼上说的有道理
SOCKET协议录制的脚本很复杂 很不好搞的一般不要用这个 呵呵
另外就是你的脚本好象是乱码你录制的时候有没有选择UTF-8 看的不是很清楚
所以 我只有建议你 你看看你的BUF3那点是你需要关联的地方
你可以采用相同的操作 录制2便 然后看看有什么不同
从BUF0至BUF5 中不同的地方
[ 本帖最后由 Spark.lee 于 2007-9-26 17:44 编辑 ]
回复
我测试的这个系统是用JAVA写的,后台使用DB2数据库,使用了HTTPS协议,所以我选择了WinSocket录脚本,我也曾选择过其它协议,但都无法录脚本,目前只有WinSocket可以录制,谢谢楼上的回复,我先再试下,有问题再请教另外想请教一下,我没找到选择UTF-8的地方,请问这个在哪里设置
你可以选择多协议的
呵呵 UTF-8是在 记录选项 HTTP 高级那个里面你选择HTTP不可以用吗呵呵
你可以选择多协议的
不好意思,你说的“UTF-8是在 记录选项 HTTP 高级那个里面”我没找到啊,在哪里,我录制脚本,打开VUG后先选择协议,选择后打开开始记录选项框,填入相关内容,然后就开始录制了啊,请指教另外我知道可以选择多协议进行录制,根据我所测试的系统我选择了DB2 CLI和Windows Sockets两个协议,但是无法录制,请指教,谢谢