51Testing软件测试论坛
标题:
新手求助,大家帮我看看错误,怎么改呀
[打印本页]
作者:
天山之舞
时间:
2011-7-12 11:24
标题:
新手求助,大家帮我看看错误,怎么改呀
Virtual User Script started at : 2011-07-12 11:18:20
Starting action vuser_init.
Web Turbo Replay of LoadRunner 11.0.0 for Windows 7; build 8859 (Aug 18 2010 20:14:31) [MsgId: MMSG-27143]
Run Mode: HTML [MsgId: MMSG-26000]
Run-Time Settings file: "C:\Users\guozi\AppData\Local\Temp\noname4\\default.cfg" [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(6): Rendezvous 集合点
Action.c(7): Notify: Transaction "执行时间" started.
Action.c(8): Error -26612: HTTP Status-Code=500 (Server Error) for "http://localhost:8888/examples/jsp/num/numguess.jsp" [MsgId: MERR-26612]
Action.c(8): web_url("numguess.jsp") highest severity level was "ERROR", 259 body bytes, 180 header bytes [MsgId: MMSG-26388]
Action.c(8): Notify: Transaction "执行时间" ended with "Fail" status (Duration: 1.0216 Wasted Time: 0.9353).
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
作者:
天山之舞
时间:
2011-7-12 11:25
代码如下
#include "web_api.h"
Action()
{
lr_rendezvous("集合点");
lr_start_transaction("执行时间");
web_url("numguess.jsp","URL=http://localhost:8888/examples/jsp/num/numguess.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_submit_form("numguess.jsp_2",
"Snapshot=t2.inf",
ITEMDATA,
"NAME=guess","value=2",ENDITEM,
LAST);
lr_end_transaction("执行时间",LR_AUTO);
return 0;
}
作者:
天山之舞
时间:
2011-7-12 11:27
我在自学工具,这个录制的时候怎么就没有代码,这上面的代码还是我自己写上的,录制都是空的,我也是按照书上的 选择的是 web(http:/html)啊 怎么会是空的呢? 我手动写完后,运行出现上面那错误,我怎么修改
作者:
mymagic
时间:
2011-7-12 11:30
报了500错误
正常用IE能访问应用吗
作者:
天山之舞
时间:
2011-7-12 11:34
回复
4#
mymagic
复制 http那个地址在浏览器中能打开啊,而且 我录制的时候为何会没有代码,我是自己手动写上去的
作者:
mymagic
时间:
2011-7-12 11:38
用本机IP录制试试
作者:
天山之舞
时间:
2011-7-12 11:54
回复
6#
mymagic
对,行了,谢谢,那录制没录制上也是因为这个问题是吗?
作者:
mymagic
时间:
2011-7-12 14:17
LZ录制成功了吗
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2