buf0-buf5的不同
我录制了两次看了BUF0-BUF5里面是有不同的地方,但我无法从这些不同中找出问题所在,或者如何解决目前的问题,现在将两次录制的结果贴于此,请指教第一次BUF0
sendbuf0 110
"\x16\x03\x00\x00"
"i"
"\x01\x00\x00"
"e"
"\x03\x00"
"F"
"\xfb"
"'漹"
"\xff\x16"
"m*\t"
"\x17"
"\r+熩EE"
"\x02"
"鍉诋"
"\xe3"
".6"
"\xff"
"緟O"
"\xf3\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"
第二次BUF0
sendbuf0 110
"\x16\x03\x00\x00"
"i"
"\x01\x00\x00"
"e"
"\x03\x00"
"F鸼&樝+\v"
"\x7f"
"+m診"
"\x00\x9e\x12\x1a"
"FJ处["
"\xb4"
"*鯥x縎,傄"
"\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"
buf0-buf5的不同
第一次BUF1recvbuf1 610
"\x16\x03\x00\x02"
"]"
"\x02\x00\x00"
"F"
"\x03\x00\x00\x00\x00"
"$滻鑗r9{爋\b爥"
"\x10\x7f"
"帷"
"\x1a"
"a"
"\x1b\xe3\x17"
"暘寙噩"
"\xcb"
" "
"\x88\x1d\x00\x00"
"弭泭}"
"\xc7\x1c"
"辉6跽'ry篨XXX$%鸉u"
"\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"
第二次BUF1
recvbuf1 610
"\x16\x03\x00\x02"
"]"
"\x02\x00\x00"
"F"
"\x03\x00\x00\x00\x00\xad"
"\f"
"\x92"
"#鄝"
"\x03"
"M泳R"
"\xd0\x1d"
""
"\x16"
"5籜鎃"
"\xa6\x1c"
"缷漦/"
"\x1c"
" "
"\xec\x1b\x00\x00"
"Z∏"
"\x8e"
"0"
"\xf9\x12"
"遧橅"
"\xe0\x15\x7f"
"q誜XXX璤鸉v"
"\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"
有时间看看
有时间看看你自己使用工具看看 有什么不同
我不可能一个一个看的吧那么多的啊
一般是协议选择的不对
如果选择WINSOCK协议的话,录制出来的脚本难以维护. 原帖由 yaya_free 于 2007-9-26 17:58 发表 http://bbs.51testing.com/images/common/back.gif我测试的这个系统是用JAVA写的,后台使用DB2数据库,使用了HTTPS协议,所以我选择了WinSocket录脚本,我也曾选择过其它协议,但都无法录脚本,目前只有WinSocket可以录制,谢谢楼上的回复,我先再试下,有问题再请教 ...
选择http协议应该可以的,然后"Recording Options-Brower-Manually launch an application",然后录制的时候选择把ie设置代理localhost:7777 原帖由 Spark.lee 于 2007-9-28 09:32 发表 http://bbs.51testing.com/images/common/back.gif
我不可能一个一个看的吧
那么多的啊
一般使用什么工具来比较呢?
LR中有个WDIFF...
TOOL>Compare with vuser....或者使用uedit这个还不错 你可以用下
[ 本帖最后由 Spark.lee 于 2007-9-29 13:48 编辑 ] 3Q
在那里设置UTF-8
我现在还没找到在录制脚本前在哪里设置UTF-8啊,请帮忙,谢谢支持
虽然看不懂,但学习一个先 原帖由 Spark.lee 于 2007-9-29 13:47 发表 http://bbs.51testing.com/images/common/back.gifTOOL>Compare with vuser....
或者使用uedit这个还不错 你可以用下
我找不到你所说的那个工具。 原帖由 corrine-li 于 2007-10-9 12:52 发表 http://bbs.51testing.com/images/common/back.gif
我找不到你所说的那个工具。
UltraEdit-32 你可以搜索下
至于WDIFF
是在Tool下面 Compare with Vuser 你点下 就会弹出选择对话框了选择你你要比较的脚本前提是你要保存 还有就是2个要同样操作 用户名的可以不同 原帖由 yaya_free 于 2007-10-9 11:39 发表 http://bbs.51testing.com/images/common/back.gif
我现在还没找到在录制脚本前在哪里设置UTF-8啊,请帮忙,谢谢
HTTP协议有 这个SOCKET协议没有
UTF-8问题
是啊,我也看到了HTTP协议下有,但我使用的SOCKET协议中没有设置,那我必须用SOCKET这个协议才能录制脚本,请问还有其它解决方法吗学习一下
真牛啊,顶了~~~~~~~~~ 请问楼主你们的应用服务器是什么?是不是 JBOSS或者是TOMCAT?如果是的那么,你出现的问题应该与应用服务器的参数配置有关。 强悍我和版主一样但是我测试的是C++做的