LR如何判断虚拟用户的请求得到响应?
比如我要测试GIS系统一个出图的服务,我进行并发测试时,LR如何证明我的每一个虚拟用户都得到我要访问的图呢? 检查点或者关联对返回内容进行物理确认 支持 :loveliness: 顶一个 回复 2# 云层您好,谢谢您的提醒。我试了试在脚本的运行时设置我选择了文本内容的检查一项,为什么添加后回放说我的文本不匹配呢?
还有我是不是应该用检查函数啊,检查一个地图是否显示应该如何操作呢?例如下面是我录制的一个脚本?如何插入检查点?
初学者,望大家多指点。
Action()
{
web_url("xl7bho.ini",
"URL=http://media.info.client.xunlei.com/xl7bho.ini",
"Resource=1",
"RecContentType=application/octet-stream",
"Referer=",
"Snapshot=t3.inf",
LAST);
lr_start_transaction("NewTransaction");
web_url("export",
"URL=http://192.168.0.84:8399/arcgis/rest/services/World100/MapServer/export?bbox=-198.412420654297,-98.681381225586,206.660833740235,92.3090057373047",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
lr_end_transaction("NewTransaction", LR_AUTO);
return 0;
} where your 检查点函数或者关联函数? 回复 6# 云层
呵呵。也是。没有看到任何检查点函数。 Action()
{
web_url("xl7bho.ini",
"URL=http://media.info.client.xunlei.com/xl7bho.ini",
"Resource=1",
"RecContentType=application/octet-stream",
"Referer=",
"Snapshot=t3.inf",
LAST);
lr_start_transaction("NewTransaction");
web_url("export",
"URL=http://192.168.0.84:8399/arcgis/rest/services/World100/MapServer/export?bbox=-198.412420654297,-98.681381225586,206.660833740235,92.3090057373047",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_image_check("web_image_check",
"Src=http://192.168.0.84:8399/arcgis/server/arcgisoutput/_ags_map6c440f0acf3f4571b7c8fd00b8b7bb03.png",
LAST);
lr_end_transaction("NewTransaction", LR_AUTO);
return 0;
} 回复 6# 云层
发错了,那个我想检查图像。加了图像的检查函数,为什么回放失败了呢? 验证点开启了吗
页:
[1]