[ Last edited by herocg on 2005-11-10 at 12:18 ]作者: herocg 时间: 2005-11-10 14:39 标题: ... 根据bird的提示,我在vu中run脚本时果然发现错误:如下
Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 7.5.0 for WIN2000; Web build 1004
Run-Time Settings file: "C:\Documents and Settings\cheng1\×à??\JOBTEST\case\éê???°??\\default.cfg"
vuser_init.c(7): Downloading resource "http://XXX/templates/menupic/menu_01.gif" (detected in HTML)
vuser_init.c(7): Downloading resource "http://XXX/templates/menupic/menu_02.gif" (detected in HTML)
vuser_init.c(34): Downloading resource "http://XXX/templates/templateIMG/per2_22.gif" (detected in HTML)
vuser_init.c(34): Downloading resource "http://XXX/templates/images/per2_24.gif" (detected in HTML)
vuser_init.c(34): Downloading resource "http://XXX/templates/templateIMG/bgline.gif"
...resource "http://XXX/templates/menupic/menu2_07.gif" (specified by argument number 53)
vuser_init.c(34): web_submit_form was successful, 178651 body bytes, 8272 header bytes, 81 chunking overhead bytes
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action1.
Action1.c(6): web_add_cookie was successful Action1.c(8): Error: HTTP Status-Code=500 (Internal Server Error) for "http://XXX/listPosition.do?method=list"
Action1.c(8): Downloading resource "http://XXX/templates/templateIMG/bgline.gif" (specified by argument number 9)
Action1.c(8): Downloading resource "http://XXX/templates/templateIMG/per2_17.gif" (specified by argument number 12)
...
Action1.c(8): Downloading resource "http://XXX/templates/templateIMG/per2_18.gif" (specified by argument number 15) Action1.c(8): web_url highest severity level was "ERROR", 33140 body bytes, 2916 header bytes, 10 chunking overhead bytes
Ending action Action1.
Ending iteration 1.
Ending Vuser...
但是这些都是我录制生成的,怎么又会是错了的呢?
[ Last edited by herocg on 2005-11-10 at 17:31 ]作者: 风清祥 时间: 2005-11-10 16:47
回放脚本,看结果是否为通过,如果失败的话,把日志为红色的提示内容贴上来分析。还有,我看你脚本vuser_init()中,登录用户名和登录密码你是不是加了参数,加了什么参数?参数之间的逻辑是什么关系?在整个脚本中还有其它地方加了参数吗?参了些什么样的参数?都没说清楚?
[ Last edited by 风清祥 on 2005-11-10 at 16:53 ]作者: herocg 时间: 2005-11-10 17:34
to 风清祥
,我重新编辑,见上上贴,第一步中是用了参数是从数据用SQL生成的dat文件中取的,应该是不会错,而且,log中显示submit成功,并添加了cookie了,请再帮我详细看看作者: jut984907 时间: 2005-11-10 18:00 标题: 怀疑是关联 关联一下看看作者: fubaiciti 时间: 2005-11-15 21:46
应该是没有关联