51Testing软件测试论坛
标题:
流媒体测试中data.ws中参数化问题
[打印本页]
作者:
dragon-pk
时间:
2008-8-7 10:17
标题:
流媒体测试中data.ws中参数化问题
;WSRData 2 1
send buf0 128
"OPTIONS
rtsp://192.168.0.58:554/sh.mpg
RTSP/1.0\r\n"
"CSeq: 1\r\n"
"User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)\r\n"
"\r\n"
recv buf1 115
"RTSP/1.0 200 Ok\r\n"
"Cseq: 1\r\n"
"Server: VLC Server\r\n"
"Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE\r\n"
"Content-Length: 0\r\n"
"\r\n"
send buf2 154
"DESCRIBE
rtsp://192.168.0.58:554/sh.mpg
RTSP/1.0\r\n"
"CSeq: 2\r\n"
"Accept: application/sdp\r\n"
"User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)\r\n"
"\r\n"
recv buf3 339
"RTSP/1.0 200 OK\r\n"
"Content-type: application/sdp\r\n"
"Server: VLC Server\r\n"
"Content-Length: 214\r\n"
"Cseq: 2\r\n"
"Cache-Control: no-cache\r\n"
"\r\n"
"v=0\r\n"
"o=- 1217380334398509 2 IN IP4 192.168.0.58\r\n"
"c=IN IP4 0.0.0.0\r\n"
"t=0 0\r\n"
"a=tool:vlc 0.8.6c\r\n"
"a=range:npt=0-206.889\r\n"
"m=video 0 RTP/AVP 33\r\n"
"a=rtpmap:33 MP2T/90000\r\n"
"a=control:
rtsp://192.168.0.58:554/sh.mpg/trackID=0
\r\n"
/*send buf4 11
"hostIdTest"
"\x00"
recv buf5 11
"hostIdTest"
"\x00"*/
send buf6 188
"SETUP
rtsp://192.168.0.58:554/sh.mpg/trackID=0
RTSP/1.0\r\n"
"CSeq: 3\r\n"
"Transport: RTP/AVP;unicast;client_port=24008-24009\r\n"
"User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)\r\n"
"\r\n"
recv buf7 160
"RTSP/1.0 200 OK\r\n"
"Transport: RTP/AVP/UDP;client_port=24008-24009\r\n"
"Server: VLC Server\r\n"
"Content-Length: 0\r\n"
"Cseq: 3\r\n"
"Cache-Control: no-cache\r\n"
"Session: 945394267\r\n"
"\r\n"
send buf8 167
"PLAY
rtsp://192.168.0.58:554/sh.mpg
RTSP/1.0\r\n"
"CSeq: 4\r\n"
"Session: <newsession>\r\n"
"Range: npt=0.000-\r\n"
"User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)\r\n"
"\r\n"
recv buf9 122
"RTSP/1.0 200 OK\r\n"
"Server: VLC Server\r\n"
"Content-Length: 0\r\n"
"Cseq: 4\r\n"
"Cache-Control: no-cache\r\n"
"Session: 945394267;timeout=5\r\n"
"\r\n"
现在我想第一个用户执行cseq是1-4 第二个用户执行是5-8,依此类推 请问应该如何实现
请问应该如何参数化
我看了参数化选择Unique可以实现递增 不过还不是很明白,请大家帮忙呀 谢谢了
作者:
aks5201314
时间:
2008-8-7 14:44
你参数化选择Unique,同时下面的复选框中选择Allocate 4 values for each vuser.注意选择参数Unique更新方式时,必须要有足够的参数可用.如果你有两个用户,那么至少要准备8个参数.
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2