|
我的第一份测试报告 | 文件: | 网站测试报告表.rar | 大小: | 1396KB | 下载: | 下载 |
| 里边包含文档格式和表格式的报告文件,第一次做测试花了我一个星期的时间,好像还是目标不是很明确,我现在是用LR来测试限制人数为1000个并发,按照的我理解就还未能找到临界点,有什么其他办法可以时间的吗?请各位高手多多指点。希望能得到前辈或者有相同兴趣的朋友一直意见和建议:)
下面是我的测试脚本内容:
Action
{
注册一个变量用于保存调度服务器返回的ServerKEY;
向调度服务器发送请求;
定义集合点(Rend_ReCeiveServer);
定义事务开始(Request_ReceiveServer);
向接收服务器上传数据;
事务结束;
}
Action()
{
web_reg_save_param("ServerKey",
"LB/IC=Svrkey=",
"RB/IC=&URL",
"Ord=1",
"Search=body",
"RelFrameId=1",
LAST);
web_url("ServerCenter",
"URL=http://192.168.51.215:8080/ServerCenter/ServerCenter?UserGUID=3B0D6400-1FAD-451d-A1BA-C41CB141A8F4&AppName=wps&RequestType=send",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
LAST);
lr_rendezvous("Rend_ReCeiveServer");
lr_start_transaction("Request_ReceiveServer");
web_custom_request ("request_ReceiveServer",
"URL=http://192.168.51.215:8080/ReceiveServer/ReveiveReportServlet?MessageGUID=38E5B696-223F-45B8-A8C0-CC2BA287DE02&MessageMD5=0D43E709A39EE2BECCAB5786575A087C&ServerKey={ServerKey}&MessageTime=2007-7-11%208%3A54%3A50",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
"BodyFilePath=d:/file/{file_name}",
LAST );
lr_end_transaction("Request_ReceiveServer", LR_AUTO);
return 0;
} |
|