Babby 发表于 2006-7-24 16:24:59

lr8.0录制登陆求助

用lr8.0录制系统登陆,什么节点都没加入,做回放时,就出现如下:
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 8.0.0 for WIN2000; Web build 4141         
Run-Time Settings file: "D:\Mercury Interactive\Mercury LoadRunner\scripts\q1\\default.cfg"         
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(6): Found resource "http://192.168.253.254:8080/tech/css/main.css" in HTML "http://192.168.253.254:8080/tech/index.jsp"         
Action.c(6): Found resource "http://192.168.253.254:8080/tech/css/jscript.js" in HTML "http://192.168.253.254:8080/tech/index.jsp"         
Action.c(6): Found resource "http://192.168.253.254:8080/tech/image/index/wuliu.gif" in HTML "http://192.168.253.254:8080/tech/index.jsp"         
Action.c(6): Warning -26627: HTTP Status-Code=404 (/tech/css/main.css) for "http://192.168.253.254:8080/tech/css/main.css"         
Action.c(6): Error -26372: ContentCheck Rule "Rule_1" in Application "Application_1" triggered. Text "ll" matched (count=6)         
Action.c(6): Error -26371: ContentCheck Rule "Rule_2" in Application "Application_1" triggered. Text Pfx="o" and Sfx="p" matched (count=38). A match: "nt-family: 宋体;
      FONT-SIZE: 12"         
Action.c(6): web_url("index.jsp") highest severity level was "ERROR", 246554 body bytes, 795 header bytes         
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
出现两个错误,请问是什么原因啊;

Babby 发表于 2006-7-24 16:59:41

a ~~~

我晕,是ContentCheck里,不知道哪时添加的Rule_1,里面还要找页面的Text "ll",当然找不到,也就报错了.麻烦大家了,完全是个人工作的不注意.给大家添麻烦了.

pcl2004_27 发表于 2006-7-24 20:29:57

检查一下runtimesetting 中的设置
关于 ContentCheck 的!
页: [1]
查看完整版本: lr8.0录制登陆求助