You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2015/12/10 16:57:20 UTC

[Bug 58717] New: JMeter distributed: Master can't connect to slave server when using a different port (from 1099)

https://bz.apache.org/bugzilla/show_bug.cgi?id=58717

            Bug ID: 58717
           Summary: JMeter distributed: Master can't connect to slave
                    server when using a different port (from 1099)
           Product: JMeter
           Version: 2.13
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: opensource@kanshi.fr

Version 2.13 r1665067

Hello,

I'm trying to run JMeter in Distributed mode, but the master cannot connect to
the slave if the slave doesn't listen on port 1099:

Slave:
/home/jmeter/bin/jmeter-server -Dserver.rmi.localport=10100 -n
-Jsearch_paths=/loadtest/jar/ -t=/loadtest/tests/upload.jmx
-Djava.rmi.server.hostname=172.17.0.3
Using local port: 10100
Created remote object: UnicastServerRef [liveRef:
[endpoint:[172.17.0.3:10100](local),objID:[510fa22f:1518c978353:-7fff,
-928921409570465420]]]


Master:
/home/jmeter/bin/jmeter.sh -n -R172.17.0.3:10100 -t=/loadtest/tests/upload.jmx
-Jsearch_paths=/loadtest/jar/
Creating summariser <summary>
Created the tree successfully using /loadtest/tests/upload.jmx
Configuring remote engine: 172.17.0.3:10100
no such object in table
Failed to configure 172.17.0.3:10100
Stopping remote engines
Remote engines have been stopped
Error in NonGUIDriver java.lang.RuntimeException: Following remote engines
could not be configured:[172.17.0.3:10100]


==================================

Listening on 1099:
Slave:
/home/jmeter/bin/jmeter-server -Dserver.rmi.localport=1099 -n
-Jsearch_paths=/loadtest/jar/ -t=/loadtest/tests/upload.jmx
-Djava.rmi.server.hostname=172.17.0.3
Using local port: 1099
Created remote object: UnicastServerRef [liveRef:
[endpoint:[172.17.0.3:1099](local),objID:[-95a2b0d:1518c980448:-7fff,
-1440560730007513306]]]
Starting the test on host 172.17.0.3:1099 @ Thu Dec 10 15:52:38 UTC 2015
(1449762758180)
INFO :: Starting Upload Test


Master:
/home/jmeter/bin/jmeter.sh -n -R172.17.0.3:1099 -t=/loadtest/tests/upload.jmx
-Jsearch_paths=/loadtest/jar/
Creating summariser <summary>
Created the tree successfully using /loadtest/tests/upload.jmx
Configuring remote engine: 172.17.0.3:1099
Starting remote engines
Starting the test @ Thu Dec 10 15:52:37 UTC 2015 (1449762757802)
Remote engines have been started


Thanks for you help,
Best regards

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58717] JMeter distributed: Master can't connect to slave server when using a different port (from 1099)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58717

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Sebb <se...@apache.org> ---
Bugzilla is not a support forum.

Please subscribe to the JMeter user list and ask there.
But please first check the archives as this question has been asked before.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58717] JMeter distributed: Master can't connect to slave server when using a different port (from 1099)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58717

Kanshi <op...@kanshi.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #2 from Kanshi <op...@kanshi.fr> ---
Hello,

You are right. I got confused with the documentation's instruction as in the
log the port number didn't seem to be in sync with the command line. But I know
understood the difference between RMI & Server.

SERVER_PORT=10100 /home/jmeter/bin/jmeter-server -n
-Jsearch_paths=/loadtest/jar/ -t=/loadtest/tests/upload.jmx

Created remote object: UnicastServerRef [liveRef:
[endpoint:[10.0.0.6:55245](local),objID:[-4246995e:1519075179e:-7fff,
-914146473078265111]]]

Thank you,
Best regards

-- 
You are receiving this mail because:
You are the assignee for the bug.