LoadRunner_2 August,2006

来源:互联网 发布:马士兵数据库视频 编辑:程序博客网 时间:2024/04/29 10:13

1. web_image_check的问题

1.1 Image server file name [SRC attribute]填写的是其相对路径而非绝对路径;

1.2 Alterrative image name [ALT attribute]填写的是注释信息(将鼠标移到图片处会弹出该信息)

2.一个经常会遗漏的选项

加入了Image Check或Text Check 后,不要忘了在Run Time Setting->Internet Protocol ->Preference ->Checks中选择Enable Image and text check.

3.几个实例

3.1对帖子进行关键字搜索

3.1.1测试环境配置

        机器数:4台(work as the LoadGenerator)

       每台负载量:10Vusers

循环数:5次

用户帐号数量:400个

参数设置: Param Attribute1 Attribute2 UserID unique each occurrence Password same line as the UseID

当时的查找方法:

在VuGen中运行100次后,在Execution Log 中发现第二个帖子没有发成功。查看Snapshot 发现有错误提示页面 "Can't double post using the same ID in 20 second"     

解决方法:

代码中注释掉这里的限制语句

 

 

原创粉丝点击