LoadRunner启动自带例子Web Tours报错

简介:

1.启动Samples-Web-Start Web Server时,提示Could not open port 1080-Port is already used by another server(wsaeaddrinuse)

解决方法:

找到xitami.cgf,将protbase=1000改为2000

[C:\Program Files\HP\LoadRunner\WebTours]

2.启动Samples-Web-Start Web Server时,提示your request was unsuccessful,Cannot create CGI process

解决方法:

a.可能未安装strawberry-perl.

b.如正常安装,请打开WebTours文件夹下的run.bat,查看其SET PATH路径设置是否正确,尤其是perl安装路径,此BAT后默认perl安装在C盘,c:\strawberry\c\bin;c:\strawberry\perl\bin  如你安装strawberry并非此路路径,在此修改BAT保存是没用的,需重新安装perl到C盘,或COPY一份到C盘下。重启start web server.服务.

3.LoadRunner Sample WebTours 点击Flights出现空白解决方法
解决方法:找环境变量,发现PERL5LIB变量中的值与LOG文件的匹配,值为:D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib;D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;D:\oracle\product\10.2.0\db_2\perl\site\5.8.3;D:\oracle\product\10.2.0\db_2\perl\site\5.8.3\lib;D:\oracle\product\10.2.0\db_2\sysman\admin\scripts;

去除所有带5.8.3的值,修改后的值为D:\oracle\product\10.2.0\db_2\sysman\admin\scripts;

此时sample运行正常。但不知道对ORACLE有什么影响。
怕对oracle有影响,我在StartServer.bat里加上了对这个变量的设置
编辑StartServer.bat  在最上面加上SET PERL5LIB=C:\oracle\product\10.2.0\db_1\sysman\admin\scripts










本文转自 小强测试帮 51CTO博客,原文链接:http://blog.51cto.com/xqtesting/1414545,如需转载请自行联系原作者
目录
相关文章
|
2月前
|
应用服务中间件 nginx
【报错】Failed to start A high performance web server and a reverse proxy server.
【报错】Failed to start A high performance web server and a reverse proxy server.
|
1月前
|
Java 应用服务中间件
解决tomcat启动报错:无法在web.xml或使用此应用程序部署的jar文件中解析绝对的url [http:java.sun.com/jsp/jstl/core]
解决tomcat启动报错:无法在web.xml或使用此应用程序部署的jar文件中解析绝对的url [http:java.sun.com/jsp/jstl/core]
109 1
|
5月前
|
应用服务中间件
idea 调试报错 Illegal access: this web application instance has been stopped already.
idea 调试报错 Illegal access: this web application instance has been stopped already.
76 0
|
8月前
|
应用服务中间件 Linux 网络安全
【WEB】当HTTPS资源引入HTTP导致报错blocked:mixed-content (混合加载/Mixed Content)如何解决
【WEB】当HTTPS资源引入HTTP导致报错blocked:mixed-content (混合加载/Mixed Content)如何解决
【WEB】当HTTPS资源引入HTTP导致报错blocked:mixed-content (混合加载/Mixed Content)如何解决
|
8月前
|
应用服务中间件 Linux Windows
tomcat部署web项目报错:Could not initialize class sun.awt.X11GraphicsEnvironment
tomcat部署web项目报错:Could not initialize class sun.awt.X11GraphicsEnvironment
188 0
|
8月前
|
前端开发 Java Maven
项目web.xml中配置DispatcherServlet时,红色波浪线报错(Cannot resolve Servlet ‘DispatcherServlet‘)
项目web.xml中配置DispatcherServlet时,红色波浪线报错(Cannot resolve Servlet ‘DispatcherServlet‘)
|
9月前
|
JavaScript API
百度Web服务API跨域的Cross-Origin Read Blocking (CORB) blocked cross-origin response报错两种解决方案
百度Web服务API跨域的Cross-Origin Read Blocking (CORB) blocked cross-origin response报错两种解决方案
270 0
|
10月前
|
XML SQL 安全
Web渗透测试|SQL报错注入
Web渗透测试|SQL报错注入
83 1
|
11月前
|
前端开发 JavaScript
【WEB前端】【报错解决】This request has been blocked; the content must be served over HTTPS.
【WEB前端】【报错解决】This request has been blocked; the content must be served over HTTPS.
585 0
|
应用服务中间件
TOMCAT部署项目报错,More than one fragment with the name [spring_web] was found.
TOMCAT部署项目报错,More than one fragment with the name [spring_web] was found.
193 0
TOMCAT部署项目报错,More than one fragment with the name [spring_web] was found.

热门文章

最新文章