|
你做的是本地服务器 http://localhost:1080/MercuryWebTours/上这个示例的测试吗?
如果是为什么会在这个示例上出现URL=http://g.msn.com/8SEZHCN030000TBR/GalButtonFeed3 这样的请求,都不知道你怎么去解决问题?
实际上现在你用浏览器打开这个URL是访问不到资源。
如果你录制的时候自己没有用手去打开这个URL,请一定确保录制的时候机器是干净的,没毒没跟实验目的无关的其它配置和操作。
看我这贴给你的答复:http://bbs.51testing.com/viewthr ... mp;page=1#pid510369
Mercury支持网站上有段关于Error -32999这个错误的解答:
Problem ID: 47801
--------------------------------------------------------------------------------
Product: LoadRunner 8.x
Protocol(s): Web
Topics:
Vuser Script - Script development
Errors - General error and warning messages
General questions, problems - VuGen
OS: All Windows
Creation Date: 27 Nov 2006
Last Modified Date:29 Nov 2006
--------------------------------------------------------------------------------
Problem Description: Error: "-32999: Invalid scheme (not "http:" / "https:") in URL"
The user is receiving the following error:
"Action.c(7): Error -32999: Invalid scheme (not "http:" / "https:") in URL="Please enter the initial URL here" [MsgId: MERR-32999]
Action.c(7): web_browser("Please enter the initial URL here") highest severity level was "ERROR" [MsgId: MMSG-26391]"
Diagnosis: This error generally occurs on the very first step of the Web script when the "Record Socket level data" checkbox is not selected under the Advanced recording options.
--------------------------------------------------------------------------------
Solution: Add the correct URL to the step or record the script again with the correct recording options
There are two possible solutions to address this.
1. Add the URL manually.
The step in the script that errors out would look like:
web_browser("Please enter the initial URL here",
DESCRIPTION,
ACTION,
"Navigate=Please enter the initial URL here",
LAST);
After "Navigate=," enter the actual URL.
Example:
web_browser("Please enter the initial URL here",
DESCRIPTION,
ACTION,
"Navigate=http://www.mercury.com",
LAST);
Note:
Make sure that the URL is specified including "http://."
2. Rerecord the script.
Rerecord the script with the "Record Socket level data" checkbox selected under the Advanced recording options.
[ 本帖最后由 shanxi 于 2007-5-3 12:27 编辑 ] |
|