zoukankan      html  css  js  c++  java
  • [笔记]--LoadRunner错误解决方法

    问题1:
      在controller中,运行时,报如下错误“Error: Socket descriptor not found.  Hint: the problem might be solved applying the following: (1) Update Run-Time Settings to Run Vuser as a process. (2) Add the following line into mdrv.dat, [lr_socks] section: 'ExtCmdLineConc=-UsingWinInet Yes'.”
      解决方法:
      1、根据错误提示,在run-time setting中的Miscellaneous项中设置“run vuser as a process”;在安装目录的dat文件夹中查找mdrv.dat,找到[lr_socks]段,在最后添加“ExtCmdLineConc=-UsingWinInet Yes”一句;(貌似不管用)
      2、在选择了expert mode后,选择option->general,取消“ip address allocation per process”;(取消虚拟IP的启用)
      3、如果仍然报错,在菜单栏中点击Diagnostics(诊断)->configuration(配置)项,将web page diagnostics(网页诊断)项disable(禁用)掉(该路径是在LoadRunner11中的位置,若是loadrunner8.0,则在Diagnostics--->Distribution,disable web Page Diagnostics选项)(该问题我是把web page diagnostics设置为disable,就可以了。网上很多资料是设置为enable,可能是问题不同吧。)
      问题2:
      使用loadrunner进行IP虚拟设置,在点击IP wizard时,弹出错误窗口,内容如下:“The IP wizard does not support DHCP-enabled network cards.Your cards are either DHCP-enabled or configured with invalid settings.Please contact your system administrator.”
      解决方法:
      1.禁用其他多余网卡,将要用的网卡设置为静态IP地址;
      2.如果操作系统是win7的,需要点击右键,选择“以管理员身份运行”启动IP wizard。(若将DHCP client禁用,则会发生IP wizard无法添加IP 地址的问题,因此一定要慎重~)
      问题3:
      使用IP wizard创建了若干个IP后,点击ok,会弹出DOS界面,运行命令”netsh interface ip add address 本地连接 192.168.10.2 255.255.255.0“。但弹出错误”RPC服务器不可用“。
      解决方法:
      该问题是由于禁止了DHCP client服务,在运行中输入servics.msc,右键启动该服务即可。
  • 相关阅读:
    CSS3笔记!
    Charles与Jmeter结合编写接口测试
    Charles测试点集锦
    pom文件报错关于maven-compiler-plugin:3.1
    Jmeter获取数据库值并作为参数请求(转载)
    mysql基础操作语言
    JMeter之Ramp-up Period(in seconds)说明
    Jmeter查看QPS和响应时间随着时间的变化曲线(转载)
    Charles篡改后台数据
    接口测试之——Charles抓包及常见问题解决(转载自https://www.jianshu.com/p/831c0114179f)
  • 原文地址:https://www.cnblogs.com/lizhishugen/p/5724766.html
Copyright © 2011-2022 走看看