51Testing软件测试论坛

标题: socket脚本关联问题 [打印本页]

作者: lmj19851117    时间: 2017-8-24 12:38
标题: socket脚本关联问题
返回的数据:
HTTP/1.1 200 OK
Content-Type: application/vnd.apple.mpegurl
Server: Coship.Cdn
Date: 2017-08-24 12:32:08
Connection: close
Content-Length: 380

#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:150354906
#EXTINF:10,
ott_test0591492499524772_2000/ott_test0591492499524772_2000_150354906.ts?reqType=delay
#EXTINF:10,
ott_test0591492499524772_2000/ott_test0591492499524772_2000_150354907.ts?reqType=delay
#EXTINF:10,
ott_test0591492499524772_2000/ott_test0591492499524772_2000_150354908.ts?reqType=delay
怎么把这3条数据取出来,作为下次请求的参数用
ott_test0591492499524772_2000/ott_test0591492499524772_2000_150354906.ts?reqType=delay
ott_test0591492499524772_2000/ott_test0591492499524772_2000_150354907.ts?reqType=delay
ott_test0591492499524772_2000/ott_test0591492499524772_2000_150354908.ts?reqType=delay

我用lrs_save_searched_string("socket0",LRS_LAST_RECEIVED,"DEST","LB=ott","RB=delay",1,0,-1);,只能取第一条,后面的两条没发取出来,大神指导下思路。






欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2