JMeter Issue in VLAN enabled system

2019-02-28 20:25发布

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*

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 ?

1条回答
我只想做你的唯一
2楼-- · 2019-02-28 20:52

According to me issue is related to proxy.

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.

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> 
查看更多
登录 后发表回答