jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61535] New: A "ClientJMeterEngine“ Exception while perform a remote exit action with OpenSUSE system
Date Tue, 19 Sep 2017 09:55:25 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61535

            Bug ID: 61535
           Summary: A "ClientJMeterEngine“ Exception while perform a
                    remote exit action with OpenSUSE system
           Product: JMeter
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P4
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: mengligxuan@gmail.com
  Target Milestone: ---

hello,I am a Jmeter beginner, my english is poor,and i down kown the Java
Programing.
.
recently,when i use Jmeter to do a simplest test for learning,I got a ploblem
with Jmeter.it's not an important issue and didn't affect the continue use of
jmeter actually.Here are the details:

Env:i use the virtual machines which created through VMware Workstation to
learn that how to do a distributed testing
  My Host Machine:Windows 10
  My Virtual Machine: OpenSUSE Leap 42.1 64Bit(New Installed)
  Both use the same Jmeter version: 3.2 r1790748
  Both use the same Java version: 1.8.0_144
  Method of connection between host and guest machine: NAT

By the way,actually I hava another CentOS virtual machine and do the same
action as follows, it works well and hasn't issue any ploblems. so, may be this
issue I reporting now is only happens with OpenSUSE Virtaul Machine,in my
case.or may be it just a Jmeter's or OpenSUSE's configuration ploblem and not a
issue at all(but i hasn't find any similiaar ploblems as mime on google search
and i don't know hot to resolve it)  

step:
1、create a simplest test plan(only a thead group contains an http request
sampler and a tree view report). request url: any url can be acceessed normaly
2、On Jmeter Client side, add my remote host's ip with "192.168.xxx.xxx" to
jmeter.properties, then start Jmeter Client
3、On Jmeter Slave side, start the jmeter-server
   result:Jmeter Server start normally, but according to the startup message
that the screen print ,it use my public ip, not the private ip(192.168.xxx,xxx)
4、I hope it use private ip,so i modify the startup script file named
"jmeter-server" which in bin dir on slave server, at line 30,i change
"Djava.rmi.server.hostname' field with a value as follow:
  Djava.rmi.server.hostname=`ifconfig | grep -A eth0 | grep inet | awk '{print
$2}' | awk -F: '{print $2}'
uncomment the line and save file
5、re-run jmeter-server command to startup
  result:it start normally, and using private ip(192.168.xxx.xxx) as expected
according to what the screen print
6、perform a remote distributed test action, the jmeter server work as expected
and return the result to the jmeter clent
7、now perform a "remote Exit" action to this slave server, and then exception
raised
  the jmeter server did't exit at all
8、in Jmter Clent's jmeter.log file,I found the error message:
---------------------------start-----------------------------------------
   2017-09-19 15:41:46,849 INFO o.a.j.e.ClientJMeterEngine: about to exit
remote server on 192.168.109.133
2017-09-19 15:42:09,062 WARN o.a.j.e.ClientJMeterEngine: Could not perform
remote exit: java.rmi.ServerException: RemoteException occurred in server
thread; nested exception is: 
        java.rmi.ConnectException: Connection refused to host: 221.1xx.xxx.xxx;
nested exception is: 
        java.net.ConnectException: Connection refused (Connection refused)
2017-09-19 15:42:09,062 INFO o.a.j.e.DistributedRunner: Remote engines have
been exited
----------------------------end,no any more message----------------------
as you can see, it seems that it reurn my public address somewhere, rahter my
private ip(192.168.xxx.xxx). I think,may be this bring about the exception ?(on
my CentOS env, I didn't see the exception when I do the same action as above)

repecting a reply, thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message