LoadRunner连接sitescope报错“缺少所需的空白区”或“Required white space was miss

2011-09-21  戴华荣 

我在LoadRunner11中连接sitescope报错如下:

Parsing error.
Details: host 192.168.10.6, port 8888, line: 9.
Reason: 缺少所需的空白区。
.
Contents: 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<BASE HREF="http://192.168.10.6:8888/SiteScope/">
<TITLE>Login - SiteScope</TITLE>
<META http-equiv=Content-Type content="text/html;charset=utf-8">

... [MsgId: MMSG-47587]


我个人解决办法:

我第一次安装sitescope的时候没有选择for loadrunner,之后我卸载安装仍然不行,然后我把注册表中sitescope的项给删除后重装。这个问题搞定了。


网上找的老外的版本,直接贴过来

LoadRunner 11 cannot connect to SiteScope 11 Monitor

Try This.


For SiteScope with no configured authentication


1. Open SiteScope and configure monitors.
2. Verify that you can see the Topaz XML data at the URL:
http://localhost:8888/SiteScope/cgi/go.exe/SiteScope?page=topaz
3. Open C:\Program Files\HP\LoadRunner\dat\monitors\xmlmonitorshared.ini and edit the SiteScope section:


[SiteScope]
;ExtensionDll=SiteScopeMonExt.dll
MetricDataURL=SiteScope/cgi/go.exe/SiteScope?page=topaz
MetricListURL=SiteScope/cgi/go.exe/SiteScope?page=topaz&operation=config
DefaultPort=8888
DlgTitle=SiteScope Monitor
RefreshMetricList=1
EnableAccount=1
For SiteScope with authentication configured:


1. Open SiteScope and configure monitors.
2. Ensure your SiteScope admin has a password
3. Add a new SiteScope user with a user ID and password.
4. Verify that you can see Topaz XML data at the URL
http://localhost:8888/SiteScope/cgi/go.exe/SiteScope?page=topaz&account=login1
The a login=1a 3 part is the user index, for each user you add, the index increases by 1)
5. Open C:\Program Files\HP\LoadRunner\dat\monitors\xmlmonitorshared.ini and edit the SiteScope section.


[SiteScope]
;ExtensionDll=SiteScopeMonExt.dll
MetricDataURL=SiteScope/cgi/go.exe/SiteScope?page=topaz&account=login1
MetricListURL=SiteScope/cgi/go.exe/SiteScope?page=topaz&operation=config&account=login1
DefaultPort=8888
DlgTitle=SiteScope Monitor
RefreshMetricList=1
EnableAccount=1
QueryLoginInfo=1


554°/5546 人阅读/0 条评论 发表评论

登录 后发表评论