|
公司要测试一个视频网页,单个视频文件16M。它采用Http协议下载视频流二进制文件
单用户运行一次下载事务需要400秒,脚本及运行结果如下:
lr_start_transaction("download");
web_custom_request("web_custom_request",
"URL=http://192.168.xx.xx/out.flv?start=0",
"Method=GET",
"TargetFrame=",
"Resource=0",
"Referer=",
"Mode=HTTP",
LAST);
lr_end_transaction("download",LR_AUTO);
Action.c(10): Notify: Transaction "download" started.
Action.c(12): web_custom_request("web_custom_request") was successful, 16415015 body bytes, 222 header bytes [MsgId: MMSG-26386]
Action.c(21): Notify: Transaction "download" ended with "Pass" status (Duration: 394.3305).
压测时,无论加载100、500、1000,响应时间均在400秒左右
TPS极低才1.5-3,服务器完全没有压力,各位帮忙看下怎么办? |
|