|
脚本如下:
lr_start_transaction("test");
web_url("aa_3_test_20170718003616829_v.mp4",
"URL=http://192.168.1.1:8080/patientInfo/aa_11/aa_3_test_20170718003616829_v.mp4",
"Resource=0",
"RecContentType=video/mp4",
"Referer=http://192.168.1.1:8080/csim/jsp/videoplayer/html5player.jsp?vurl=/patientInfo/aa_11/aa_3_test_20170718003616829_v.mp4&patient_name=aa&visit_id=11",
"Snapshot=t18.inf",
"Mode=HTML",
LAST);
lr_end_transaction("test", LR_AUTO);
日志如下:
Action.c(53): Notify: Transaction "test" started.
Action.c(56): web_url("aa_3_test_20170718003616829_v.mp4") was successful, 29319766 body bytes, 236 header bytes [MsgId: MMSG-26386]
Action.c(66): Notify: Transaction "test" ended with "Pass" status (Duration: 43.4416 Wasted Time: 43.1330).
为什么事务中Wasted Time 这么长? 事务时间只有Duration-Wasted Time =0.3s 与实际不符,这个是怎么回事?在下载测试中如何获取准确的下载时间?
|
|