已启用VLAN的系统中的JMeter问题 [英] JMeter Issue in VLAN enabled system

查看:129
本文介绍了已启用VLAN的系统中的JMeter问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一旦我的计算机启用了VLAN,我将无法使用JMeter-2.9工具准备新脚本,也无法执行以前在同一台计算机上运行的旧脚本.

Once my machine is VLAN enabled, I'm neither able to prepare new scripts using JMeter-2.9 tool nor able to execute my old scripts which I used to run earlier on the same machine.

请在运行旧脚本时找到以下错误消息:

Please find below error message I got while running the old scripts:

*Thread Name: 46_Drug Issue 1-1
Sample Start: 2014-11-19 16:22:40 IST
Load time: 1001
Latency: 0
Size in bytes: 1720
Headers size in bytes: 0
Body size in bytes: 1720
Sample Count: 1
Error Count: 1
Response code: Non HTTP response code: java.net.ConnectException
Response message: Non HTTP response message: Connection refused: connect
Response headers:
HTTPSampleResult fields:
ContentType: 
DataEncoding: null*

在Windows计算机上记录新的测试计划时,我可以在JMeter工具中启用HTTP代理服务器的情况下浏览不同的页面,但是在事务控制器中没有记录HTTP请求.

While recording a new test plan in my Windows machine, I'm able to navigate the different pages with HTTP Proxy server enabled in JMeter tool, but no HTTP request is getting recorded in the transaction controller.

任何人都可以提出建议,如何解决这个问题?

Can anyone please suggest, how to overcome this issue ?

推荐答案

根据我的问题,这与代理有关.

According to me issue is related to proxy.

Jmeter位于您的机器和代理之间,这就是它记录所有来往于您机器的请求的方式.如果代理设置正确,则使用VLAN还是WAN都没关系.

Jmeter sits between your machine and proxy and thats how it records all the requests coming to and going from your machine. It doesnt matter you are in VLAN or WAN if your proxy settings are correct.

一旦在VLAN中应用类似的代理设置(Localhost,8080),请检查您的代理设置,否则,您可以通过使用JMeter参数启动它来为Jmeter提供单独的代理,

Please check your proxy settings once put apply similar proxy settings (Localhost,8080) in VLAN or else you can provide seperate proxy for your Jmeter by starting it with JMeter parameters,

Jmeter.bat -H <hostname> -P <port> -u <username> -a <pwd> 

这篇关于已启用VLAN的系统中的JMeter问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆