I'm using JMeter 5, and trying to setup a distributed testing environment. I have one client and one server for now. The Client Jmeter.properties file has the remote_host set to server ip. server.rmi.ssl.disable=true in both client and server JMeter.properties.
Client & server are on the same subnet and have same versions of Java and JMeter
Server starts up without issues, using jmeter-server.bat
In client when JMeter is started in GUI mode and clicked on Run>Remote Start>server ip, getting an error, after about 30 secs, as
shown below.
Error in rconfigure() method java.rmi.ConnectException: Connection refused to host: #.#.#.#; nested exception is: java.net.ConnectException: Connection timed out: connect
Did anyone get the same/similar issue and how did you resolve it? Please, give me all details since this is the first time Im setting this up.
Note: I've many answers for older versions of JMeter that do not seem to work.
Logs:
2019-01-04 12:52:36,319 INFO o.j.r.JARSourceHTTP: Found cached repo 2019-01-04 12:52:36,463 INFO o.j.r.PluginManager: Plugins Status: [jpgc-graphs-basic=2.0, jpgc-plugins-manager=1.3, jmeter-core=5.0, jmeter-ftp=5.0, jmeter-http=5.0, jmeter-jdbc=5.0, jmeter-jms=5.0, jmeter-junit=5.0, jmeter-java=5.0, jmeter-ldap=5.0, jmeter-mail=5.0, jmeter-mongodb=5.0, jmeter-native=5.0, jmeter-tcp=5.0, jmeter-components=5.0] 2019-01-04 12:52:37,879 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2019-01-04 12:52:37,880 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2019-01-04 12:52:37,880 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2019-01-04 12:52:37,880 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser 2019-01-04 12:52:37,880 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 2019-01-04 12:52:37,880 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser 2019-01-04 12:52:38,020 INFO o.a.j.e.KeyToolUtils: Exception checking for keytool existence, will return false, try another way. 2019-01-04 12:52:38,185 INFO o.a.j.e.KeyToolUtils: keytool found at 'C:\Program Files\Java\jre1.8.0_191\bin\keytool' 2019-01-04 12:52:38,186 INFO o.a.j.p.h.p.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file C:\Program Files\apache-jmeter-5.0\apache-jmeter-5.0\bin\proxyserver.jks 2019-01-04 12:52:38,343 INFO o.a.j.s.FileServer: Default base='C:\Windows\System32' 2019-01-04 12:52:38,734 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times 2019-01-04 12:52:38,734 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 2019-01-04 12:52:38,734 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true 2019-01-04 12:52:38,734 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000 2019-01-04 12:52:41,112 INFO o.a.j.g.a.Load: Loading file: D:\APEX Performance Tests\BetsAPI-MgmtPerformanceTests.jmx 2019-01-04 12:52:41,112 INFO o.a.j.s.FileServer: Set new base='D:\APEX Performance Tests' 2019-01-04 12:52:41,228 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 2019-01-04 12:52:41,233 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8 2019-01-04 12:52:41,234 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0 2019-01-04 12:52:41,237 INFO o.a.j.s.SaveService: Loading file: D:\APEX Performance Tests\BetsAPI-MgmtPerformanceTests.jmx 2019-01-04 12:52:41,714 INFO o.a.j.s.FileServer: Set new base='D:\APEX Performance Tests' 2019-01-04 12:52:52,046 INFO o.a.j.e.DistributedRunner: Configuring remote engine: HQ-DEV-CORE-04:1099 2019-01-04 12:52:52,048 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,118 INFO o.a.j.e.DistributedRunner: Starting remote engines 2019-01-04 12:53:13,118 INFO o.a.j.e.DistributedRunner: Starting the test # Fri Jan 04 12:53:13 PST 2019 (1546635193118) 2019-01-04 12:53:13,118 INFO o.a.j.e.ClientJMeterEngine: running clientengine run method 2019-01-04 12:53:13,120 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,120 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,122 INFO o.a.j.s.SampleEvent: List of sample_variables: [] 2019-01-04 12:53:13,125 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,125 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,142 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,142 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,143 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000 2019-01-04 12:53:13,143 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run 2019-01-04 12:53:13,143 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,143 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,144 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000 2019-01-04 12:53:13,144 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run 2019-01-04 12:53:13,144 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,144 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,144 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000 2019-01-04 12:53:13,144 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run 2019-01-04 12:53:13,144 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,144 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true' 2019-01-04 12:53:13,144 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000 2019-01-04 12:53:13,145 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run 2019-01-04 12:53:34,151 ERROR o.a.j.e.ClientJMeterEngine: Error in rconfigure() method java.rmi.ConnectException: Connection refused to host:
169.254.61.109; nested exception is: java.net.ConnectException: Connection timed out: connect 2019-01-04 12:53:34,152 INFO o.a.j.e.ClientJMeterEngine: Interrupting RMI Reaper 2019-01-04 12:53:42,043 INFO o.a.j.e.DistributedRunner: Remote engines have been started
Do you have to connect all the computer in the same network? It's mean you can using Ip from another computer.
And you have start jmeter-server.bat in all computer you using distribute
Connection refused to host: 169.254.61.109
169.254.61.109 resides in link-local address space, normally machines get IP address from this range by auto-configuration i.e. when DHCP server cannot be found.
So double check your network configuration by executing ipconfig /all command or via Control Panel
You can force JMeter to bind to specific IP address by setting java.rmi.server.hostname property or RMI_HOST_DEF environment variable like:
jmeter -Djava.rmi.server.hostname=your_IP_address
make sure that the IP address is not in link-local network
More information:
Remote Testing
How to Perform Distributed Testing in JMeter
Related
I'm trying to run a JMX in JMeter with OS Process Sampler using commands like "cat testplan.jmx" and "java -jar ApacheJMeter.jar -help" but everytime I see the test is failing when running in distributed mode (it works fine in non-distributed mode though) based on this in jmeter.log :
**summary = 0 in 00:00:00 = ******/s Avg: 0 Min: 9223372036854775807 Max: -9223372036854775808 Err: 0 (0.00%)**
Why are there 2 summary statements in jmeter.log of JMeter client? How does OS Process Sampler work in this setup?
JMeter log on controller node (JMeter client) -
..................
2022-03-31 14:26:03,397 INFO o.a.j.JMeter: Creating summariser <summary>
2022-03-31 14:26:03,404 INFO o.a.j.e.DistributedRunner: Configuring remote engine: 172.17.0.2
2022-03-31 14:26:03,408 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2022-03-31 14:26:03,495 INFO o.a.j.e.DistributedRunner: Starting distributed test with remote engines: [172.17.0.2] # Thu Mar 31 14:26:03 GMT 2022 (1648736763495)
2022-03-31 14:26:03,496 INFO o.a.j.e.ClientJMeterEngine: running clientengine run method
2022-03-31 14:26:03,504 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2022-03-31 14:26:03,505 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2022-03-31 14:26:03,585 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2022-03-31 14:26:03,585 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2022-03-31 14:26:03,590 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2022-03-31 14:26:03,603 INFO o.a.j.s.AsynchSampleSender: Using Asynch Remote Sampler for this test run, queue size: 1000
2022-03-31 14:26:03,604 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2022-03-31 14:26:03,607 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2022-03-31 14:26:03,608 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2022-03-31 14:26:04,054 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2022-03-31 14:26:04,054 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2022-03-31 14:26:04,058 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2022-03-31 14:26:04,059 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2022-03-31 14:26:04,060 INFO o.a.j.s.AsynchSampleSender: Using Asynch Remote Sampler for this test run, queue size: 1000
2022-03-31 14:26:04,061 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2022-03-31 14:26:04,251 INFO o.a.j.e.ClientJMeterEngine: sent test to 172.17.0.2 basedir='root/artifacts'
2022-03-31 14:26:04,252 INFO o.a.j.e.ClientJMeterEngine: Sending properties {}
2022-03-31 14:26:04,261 INFO o.a.j.e.ClientJMeterEngine: sent run command to 172.17.0.2
2022-03-31 14:26:04,262 INFO o.a.j.e.DistributedRunner: Remote engines have been started:[172.17.0.2]
2022-03-31 14:26:04,497 INFO o.a.j.JMeter: Started remote host: 172.17.0.2 (1648736764497)
2022-03-31 14:26:04,589 INFO o.a.j.r.Summariser: **summary = 0 in 00:00:00 = ******/s Avg: 0 Min: 9223372036854775807 Max: -9223372036854775808 Err: 0 (0.00%)**
2022-03-31 14:26:04,591 INFO o.a.j.JMeter: Finished remote host: 172.17.0.2 (1648736764591)
2022-03-31 14:26:04,593 INFO o.a.j.JMeter: All remote engines have ended test, starting RemoteTestStopper thread
2022-03-31 14:26:04,596 INFO o.a.j.e.ClientJMeterEngine: about to exit remote server on 172.17.0.2
2022-03-31 14:26:04,599 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2022-03-31 14:26:04,600 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to UTF-8
2022-03-31 14:26:04,600 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2022-03-31 14:26:04,601 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
2022-03-31 14:26:04,618 INFO o.a.j.r.Summariser: **summary + 1 in 00:00:00 = 35.7/s Avg: 13 Min: 13 Max: 13 Err: 0 (0.00%) Active: 0 Started: 1 Finished: 1**
2022-03-31 14:26:09,635 INFO o.a.j.JMeter: Interrupting RMI Reaper
JMeter.log on worker node (JMeter server) -
2022-03-31 14:26:04,600 WARN o.a.j.e.StandardJMeterEngine: About to run System.exit(0) on 172.17.0.2
2022-03-31 14:26:04,634 WARN o.a.j.e.StandardJMeterEngine: About to run System.exit(0) on 172.17.0.2
KPI log
timeStamp,elapsed,label,responseCode,responseMessage,threadName,success,bytes,grpThreads,allThreads,Latency,Hostname,Connect
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-3,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-1,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-4,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-5,false,2976,5,5,0,3d8ec0ef127d,392388
1637689348093,392388,GenerateToken,Non HTTP response code: org.apache.http.conn.HttpHostConnectException,"Non HTTP response message: Connect to reportportal.productivity.dtcisb.technology:443 [reportportal.productivity.dtcisb.technology/10.27.125.70, reportportal.productivity.dtcisb.technology/10.27.124.159, reportportal.productivity.dtcisb.technology/10.27.126.216] failed: Connection timed out (Connection timed out)",Report_Portal-ThreadStarter 1-2,false,2976,5,5,0,3d8ec0ef127d,392388
When I run the JMX script which has 3 CSV data config file in JMETER it working fine, but When I run the same file in Blaze meter with (5 ur,1min duration) getting the error 443(connection timed out, browser crash)error rate is 100%. running test in private account in blaze meter
1.uploaded the 3 csv files and JMX in blaze meter
2.In the place of path of csv in csv config I have given the name of csv file not path
3.In blaze meter it shows response as-non http
I have tried every thing "Implementation" added some lines in "user. Properties"
using the latest version of JMeter
Thanks in advance
***I have used http samplers.
JMETER LOG
2021-11-23 17:42:27,293 INFO o.a.j.u.JMeterUtils: Setting Locale to en_US
2021-11-23 17:42:27,307 INFO o.a.j.JMeter: Loading user properties from: /shared/.bzt/jmeter-taurus/5.2.1/bin/user.properties
2021-11-23 17:42:27,308 INFO o.a.j.JMeter: Loading system properties from: /shared/.bzt/jmeter-taurus/5.2.1/bin/system.properties
2021-11-23 17:42:27,308 INFO o.a.j.JMeter: Loading additional properties from: /tmp/artifacts/jmeter-bzt.properties
2021-11-23 17:42:27,309 INFO o.a.j.JMeter: Copyright (c) 1998-2019 The Apache Software Foundation
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: Version 5.2.1
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: java.version=1.8.0_292
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: os.name=Linux
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: os.arch=amd64
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: os.version=4.14.225-168.357.amzn2.x86_64
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: file.encoding=UTF-8
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: java.awt.headless=true
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: Max memory =4250402816
2021-11-23 17:42:27,310 INFO o.a.j.JMeter: Available Processors =8
2021-11-23 17:42:27,313 INFO o.a.j.JMeter: Default Locale=English (United States)
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: JMeter Locale=English (United States)
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: JMeterHome=/shared/.bzt/jmeter-taurus/5.2.1
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: user.dir =/tmp/artifacts
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: PWD =/tmp/artifacts
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: IP: 172.17.0.2 Name: 3d8ec0ef127d FullName: 3d8ec0ef127d
2021-11-23 17:42:27,314 INFO o.a.j.JMeter: user.classpath=/tmp/artifacts:/tmp/artifacts
2021-11-23 17:42:27,315 INFO o.a.j.JMeter: Adding to classpath and loader: /tmp/artifacts
2021-11-23 17:42:27,315 INFO o.a.j.JMeter: Adding to classpath and loader: /tmp/artifacts
2021-11-23 17:42:27,320 INFO o.a.j.s.FileServer: Default base='/tmp/artifacts'
2021-11-23 17:42:27,321 INFO o.a.j.s.FileServer: Set new base='/tmp/artifacts'
2021-11-23 17:42:27,427 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2021-11-23 17:42:27,432 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2021-11-23 17:42:27,437 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2021-11-23 17:42:27,443 INFO o.a.j.s.SaveService: Loading file: /tmp/artifacts/modified_sample_report_portal.jmx
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2021-11-23 17:42:27,496 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2021-11-23 17:42:27,544 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2021-11-23 17:42:27,545 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2021-11-23 17:42:27,545 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2021-11-23 17:42:27,546 INFO o.a.j.JMeter: Starting Beanshell server (9000,)
2021-11-23 17:42:27,552 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2021-11-23 17:42:27,552 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2021-11-23 17:42:27,893 INFO o.a.j.JMeter: Running test (1637689347893)
2021-11-23 17:42:27,951 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Report_Portal
2021-11-23 17:42:27,951 INFO o.a.j.e.StandardJMeterEngine: Starting 5 threads for group Report_Portal.
2021-11-23 17:42:27,951 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2021-11-23 17:42:27,955 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2021-11-23 17:42:27,955 INFO c.b.j.t.c.ConcurrencyThreadStarter: Start supplying threads
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to UTF-8
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2021-11-23 17:42:27,960 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-2
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-5
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-1
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-4
2021-11-23 17:42:27,991 INFO o.a.j.t.JMeterThread: Thread started: Report_Portal-ThreadStarter 1-3
2021-11-23 17:42:27,993 INFO o.a.j.s.FileServer: Stored: launch_names.csv
2021-11-23 17:42:28,009 INFO o.a.j.p.h.s.HTTPHCAbstractImpl: Local host = 3d8ec0ef127d
2021-11-23 17:42:28,015 INFO o.a.j.p.h.s.HTTPHC4Impl: HTTP request retry count = 0
2021-11-23 17:42:28,125 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
2021-11-23 17:42:28,134 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
2021-11-23 17:42:28,134 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
2021-11-23 17:43:27,978 INFO c.b.j.t.c.ConcurrencyThreadStarter: Done supplying threads
No one will be able to help unless you provide more details like:
schematic view of your test plan so we could see which Samplers are being used
JMeter Log file
kpi.jtl from Test Artifacts
optionally bzt.log
If you're a BlazeMeter customer it may make more sense considering opening a BlazeMeter Support Ticket
Error image
I am running taurus in master node in distributed mode and jmeter in slave node. Slave is running jmeter server properly but master is unable to perform the test. Master instance is able to reach the remote host on the ip but the test plan execution fails. I am pinging bng url in taurus yml scenario.
Below is the jmeter log for reference.
13:07:38 ERROR: JMeter log:
2021-10-12 13:07:29,533 INFO o.a.j.u.JMeterUtils: Setting Locale to en_EN
2021-10-12 13:07:29,550 INFO o.a.j.JMeter: Loading user properties from: /opt/apache-jmeter-5.4/bin/user.properties
2021-10-12 13:07:29,550 INFO o.a.j.JMeter: Loading system properties from: /opt/apache-jmeter-5.4/bin/system.properties
2021-10-12 13:07:29,551 INFO o.a.j.JMeter: Loading additional properties from: /root/bzt/2021-10-12_13-07-24.364107/jmeter-bzt.properties
2021-10-12 13:07:29,551 INFO o.a.j.JMeter: Setting Global properties from the file /root/bzt/2021-10-12_13-07-24.364107/jmeter-bzt.properties
2021-10-12 13:07:29,551 INFO o.a.j.JMeter: Setting System properties from file: /root/bzt/2021-10-12_13-07-24.364107/system.properties
2021-10-12 13:07:29,615 INFO o.a.j.JMeter: Copyright (c) 1998-2020 The Apache Software Foundation
2021-10-12 13:07:29,615 INFO o.a.j.JMeter: Version 5.4
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: java.version=1.8.0_275
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: java.vm.name=OpenJDK 64-Bit Server VM
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: os.name=Linux
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: os.arch=amd64
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: os.version=4.15.0-1113-azure
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: file.encoding=UTF-8
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: java.awt.headless=true
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: Max memory =4294967296
2021-10-12 13:07:29,616 INFO o.a.j.JMeter: Available Processors =1
2021-10-12 13:07:29,625 INFO o.a.j.JMeter: Default Locale=English (EN)
2021-10-12 13:07:29,625 INFO o.a.j.JMeter: JMeter Locale=English (EN)
2021-10-12 13:07:29,625 INFO o.a.j.JMeter: JMeterHome=/opt/apache-jmeter-5.4
2021-10-12 13:07:29,625 INFO o.a.j.JMeter: user.dir =/root/bzt
2021-10-12 13:07:29,626 INFO o.a.j.JMeter: PWD =/root/bzt
2021-10-12 13:07:29,626 INFO o.a.j.JMeter: IP: 10.97.104.71 Name: wk-caas-72db06a10f1e40fba0235dcea9465aaf-bd09aa1593d47434818635 FullName: wk-caas-72db06a10f1e40fba0235dcea9465aaf-bd09aa1593d47434818635
2021-10-12 13:07:29,626 INFO o.a.j.JMeter: user.classpath=/root/bzt/2021-10-12_13-07-24.364107:/root/bzt/2021-10-12_13-07-24.364107
2021-10-12 13:07:29,626 INFO o.a.j.JMeter: Adding to classpath and loader: /root/bzt/2021-10-12_13-07-24.364107
2021-10-12 13:07:29,627 INFO o.a.j.JMeter: Adding to classpath and loader: /root/bzt/2021-10-12_13-07-24.364107
2021-10-12 13:07:29,635 INFO o.a.j.s.FileServer: Default base='/root/bzt'
2021-10-12 13:07:29,636 INFO o.a.j.s.FileServer: Set new base='/root/bzt/2021-10-12_13-07-24.364107'
2021-10-12 13:07:29,963 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2021-10-12 13:07:30,057 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-8
2021-10-12 13:07:30,063 INFO o.a.j.s.SaveService: Using SaveService properties version 5.0
2021-10-12 13:07:30,072 INFO o.a.j.s.SaveService: Loading file: /root/bzt/2021-10-12_13-07-24.364107/modified_requests.jmx
2021-10-12 13:07:30,144 INFO o.a.j.p.h.c.CacheManager: Will only cache the following methods: [GET]
2021-10-12 13:07:30,146 INFO o.a.j.p.h.c.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE_
2021-10-12 13:07:30,226 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-10-12 13:07:30,226 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-10-12 13:07:30,226 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-10-12 13:07:30,226 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2021-10-12 13:07:30,226 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2021-10-12 13:07:30,227 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2021-10-12 13:07:30,339 INFO o.a.j.e.DistributedRunner: Configuring remote engine: 10.97.104.70:1099
2021-10-12 13:07:30,341 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:30,421 INFO o.a.j.e.DistributedRunner: Starting distributed test with remote engines: [10.97.104.70:1099] # Tue Oct 12 13:07:30 GMT 2021 (1634044050419)
2021-10-12 13:07:30,421 INFO o.a.j.e.ClientJMeterEngine: running clientengine run method
2021-10-12 13:07:30,427 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2021-10-12 13:07:30,427 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2021-10-12 13:07:31,313 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:31,313 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:31,316 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2021-10-12 13:07:31,323 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000
2021-10-12 13:07:31,323 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2021-10-12 13:07:31,323 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:31,323 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:31,324 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000
2021-10-12 13:07:31,324 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2021-10-12 13:07:31,325 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:31,325 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:32,217 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:32,217 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2021-10-12 13:07:32,350 INFO o.a.j.e.ClientJMeterEngine: sent test to 10.97.104.70:1099 basedir='2021-10-12_13-07-24.364107'
2021-10-12 13:07:32,351 INFO o.a.j.e.ClientJMeterEngine: Sending properties {user.classpath=/root/bzt/2021-10-12_13-07-24.364107:/root/bzt/2021-10-12_13-07-24.364107, jmeterengine.force.system.exit=true, jmeter.save.saveservice.timestamp_format=ms, summariser.name=, sampleresult.default.encoding=UTF-8, jmeterengine.nongui.port=4445, client.rmi.localport=1099, jmeter.save.saveservice.connect_time=true, jmeter.save.saveservice.autoflush=true, server.rmi.ssl.disable=True, loops=10, rampup=10, jmeterengine.nongui.maxport=4445, threads=2}
2021-10-12 13:07:32,423 INFO o.a.j.e.ClientJMeterEngine: sent run command to 10.97.104.70:1099
2021-10-12 13:07:32,423 INFO o.a.j.e.DistributedRunner: Remote engines have been started:[10.97.104.70:1099]
2021-10-12 13:07:32,439 INFO o.a.j.JMeter: Started remote host: 10.97.104.70:1099 (1634044052439)
2021-10-12 13:07:32,561 INFO o.a.j.JMeter: Finished remote host: 10.97.104.70:1099 (1634044052561)
2021-10-12 13:07:32,561 INFO o.a.j.JMeter: All remote engines have ended test, starting RemoteTestStopper thread
2021-10-12 13:07:37,565 INFO o.a.j.JMeter: Interrupting RMI Reaper
13:07:38 INFO: Artifacts dir: /root/bzt/2021-10-12_13-07-24.364107
13:07:38 WARNING: Done performing with code: 1
2021-10-12 13:07:32,439 INFO o.a.j.JMeter: Started remote host: 10.97.104.70:1099 (1634044052439)
2021-10-12 13:07:32,561 INFO o.a.j.JMeter: Finished remote host: 10.97.104.70:1099 (1634044052561)
Are you sure that your test is supposed to finish in 122 milliseconds?
If yes, are you sure that the slave can reach the master in order to transfer the results back?
Make sure that you can connect from the slave to the port you define as the client.rmi.localport, this port is open in OS firewall and in Azure Network Security Groups, etc.
Also jmeter-server.log file from the slave should contain some information regarding the failure.
More information:
Remote hosts and RMI configuration
JMeter Distributed Testing with Docker - there you can see how and what ports to open and how to specify the ports on the master and slaves
Introduction:
I'm new to Jmeter, so I'm working with basic tasks but I have a mentor. We are working with distributed architecture, one master and one slave in my local network executing a real world working testplan.
Problem:
No response from slave:
We have installed and configured Jmeter 5.3 and java version "1.8.0_271" in both slave and master with windows 10 machines. Each machine can ping the other. When the testplan is executed in the master, from the JMeter GUI or CLI, the slave recognize the order and start the process, it also notify the end, but there is no response in the .jtl file another than the file header. We have tried with RMI enabled and disabled. The logs don't show errors.
System specs:
OS W10, Jmeter 5.3, Java 1.8, Jmeter plugin: jmeter-plugins-manager-1.4.jar (Plugins installed: Custom Thread Groups, 3 Basic Graphs, Console Status Logger), Windows Firewall is disabled in both machines, Jmeter properties (Master remote_hosts: Slave ip, Slave remote_hosts: 127.0.0.1)
JMeter GUI execution log (Master):
2020-12-11 11:33:45,446 INFO o.a.j.e.DistributedRunner: Configuring remote engine: 192.168.1.135
2020-12-11 11:33:45,446 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,624 INFO o.a.j.e.DistributedRunner: Starting distributed test with remote engines: [192.168.1.135] # Fri Dec 11 11:33:45 CET 2020 (1607682825623)
2020-12-11 11:33:45,624 INFO o.a.j.e.ClientJMeterEngine: running clientengine run method
2020-12-11 11:33:45,629 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,629 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,630 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000
2020-12-11 11:33:45,630 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2020-12-11 11:33:45,630 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,630 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,630 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000
2020-12-11 11:33:45,630 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2020-12-11 11:33:45,630 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,630 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,630 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,630 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,641 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,641 INFO o.a.j.r.RmiUtils: Disabling SSL for RMI as server.rmi.ssl.disable is set to 'true'
2020-12-11 11:33:45,641 INFO o.a.j.s.BatchSampleSender: Using batching (client settings) for this run. Thresholds: num=100, time=60000
2020-12-11 11:33:45,641 INFO o.a.j.s.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2020-12-11 11:33:48,060 INFO o.a.j.e.ClientJMeterEngine: sent test to 192.168.1.135 basedir='.'
2020-12-11 11:33:48,060 INFO o.a.j.e.ClientJMeterEngine: Sending properties {}
2020-12-11 11:33:48,075 INFO o.a.j.e.ClientJMeterEngine: sent run command to 192.168.1.135
2020-12-11 11:33:48,075 INFO o.a.j.e.DistributedRunner: Remote engines have been started:[192.168.1.135]
2020-12-11 11:33:48,721 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, 192.168.1.135)
2020-12-11 11:35:49,030 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, 192.168.1.135)
JMeter CLI interface:
Creating summariser <summary>
Created the tree successfully using fileExample.jmx
Configuring remote engine: 192.168.1.135
Starting distributed test with remote engines: [192.168.1.135] # Fri Dec 11 12:41:46 CET 2020 (1607686906826)
Remote engines have been started:[192.168.1.135]
Waiting for possible Shutdown/StopTestNow/HeapDump/ThreadDump message on port 4445
summary = 0 in 00:00:00 = ******/s Avg: 0 Min: 9223372036854775807 Max: -9223372036854775808 Err: 0 (0.00%)
Tidying up remote # Fri Dec 11 12:43:51 CET 2020 (1607687031041)
... end of run
Guides and articles read:
Our own guide, which has worked in the past (installed in production), based in:
https://jmeter.apache.org/usermanual/jmeter_distributed_testing_step_by_step.html
https://jmeter.apache.org/usermanual/remote-test.html
JMeter Summary report in distributed mode
https://loadium.com/blog/jmeter-distributed-testing-step-by-step/
https://cwiki.apache.org/confluence/display/jmeter/JMeterFAQ#How_to_do_remote_testing_the_.27proper_way.27.3F
Question:
So the question is basically what can be wrong to make the server recognize the start calls, send the end signal, but don't write the .jtl file.
EDIT WITH SOLUTION
The .csv file in what the test are based must be in the slave inside the JMeter bin folder /bin/data/yourFile.csv
How about slave log? Given the symptoms I can think of 3 possible reasons:
Your test relies on external data file, i.e. CSV file or .properties file, if this is the case - you need to copy all the dependent files to all the slave machines
Your test relies on a plugin which is not installed on the slave(s), either copy your JMeter installation from master to all the slaves or use JMeter Plugins Manager to install the missing plugins
Your RMI configuration is not correct, i.e. port which is used for communication from the slave to the master is random by default, you might want to set it explicitly and open it in firewall
In order to be able to tell more I need to see your jmeter-server.log file (it's being generated in "bin" folder of your JMeter installation given you launch the slave process via jmeter-server.bat file, if you use other approach you can set the desired log file name/location via -j command-line argument
Is it possible to configure which IP address should jmeter-server use?
We have 1 Windows jMeter client server and 2 Linux jMeter server.
Windows:
User-IP 44.44.44.110
Backup-IP 180.110.110.10
Linux 1:
User-IP 44.44.44.111
Backup-IP 180.110.110.11
Linux 2:
User-IP 44.44.44.112
Backup-IP 180.110.110.12
I send execution of test to the slaves on IPs: 44.44.44.111 and 44.44.44.112, but slaves try to send me results back on IPs 180.110.110.11 and 180.110.110.12.
I get an Error:
2017/11/03 22:18:09 ERROR - jmeter.samplers.RemoteListenerWrapper: testStarted(host) java.rmi.ConnectIOException: Exception creating connection to: 180.110.110.10; nested exception is:
java.net.NoRouteToHostException: No route to host
Backup-IP communication is forbidden, so I have to use only User-IP. How to hande this?
still the same problem.
root#slave02jm:/usr/jmeter/apache-jmeter-3.0/bin : ps -ef | grep jmeter
root 31350 30659 0 09:38 pts/0 00:00:00 /bin/sh ./jmeter-server
root 31352 31350 0 09:38 pts/0 00:00:00 /bin/sh ./jmeter -Djava.rmi.server.hostname=44.44.44.112 -Dserver_port=1099 -s -j jmeter-server.log
root 31381 31352 9 09:38 pts/0 00:00:00 java -server -XX:+HeapDumpOnOutOfMemoryError -Xms1024m -Xmx6144m -XX:MaxTenuringThreshold=2 -XX:+CMSClassUnloadingEnabled -jar ./ApacheJMeter.jar -Djava.rmi.server.hostname=44.44.44.112 -Dserver_port=1099 -s -j jmeter-server.log
log
2017/11/04 09:38:23 INFO - jmeter.util.JMeterUtils: Setting Locale to en_US
2017/11/04 09:38:24 INFO - jmeter.JMeter: Loading user properties from: /usr/jmeter/apache-jmeter-3.0/bin/user.properties
2017/11/04 09:38:24 INFO - jmeter.JMeter: Loading system properties from: /usr/jmeter/apache-jmeter-3.0/bin/system.properties
2017/11/04 09:38:24 INFO - jmeter.JMeter: Setting System property: java.rmi.server.hostname=44.44.44.112
2017/11/04 09:38:24 INFO - jmeter.JMeter: Setting System property: server_port=1099
2017/11/04 09:38:24 INFO - jmeter.JMeter: Copyright (c) 1998-2016 The Apache Software Foundation
2017/11/04 09:38:24 INFO - jmeter.JMeter: Version 3.0 r1743807
2017/11/04 09:38:24 INFO - jmeter.JMeter: java.version=1.8.0_102
2017/11/04 09:38:24 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2017/11/04 09:38:24 INFO - jmeter.JMeter: os.name=Linux
2017/11/04 09:38:24 INFO - jmeter.JMeter: os.arch=amd64
2017/11/04 09:38:24 INFO - jmeter.JMeter: os.version=3.0.101-108.10-default
2017/11/04 09:38:24 INFO - jmeter.JMeter: file.encoding=ANSI_X3.4-1968
2017/11/04 09:38:24 INFO - jmeter.JMeter: Max memory =5726797824
2017/11/04 09:38:24 INFO - jmeter.JMeter: Available Processors =4
2017/11/04 09:38:24 INFO - jmeter.JMeter: Default Locale=English (United States)
2017/11/04 09:38:24 INFO - jmeter.JMeter: JMeter Locale=English (United States)
2017/11/04 09:38:24 INFO - jmeter.JMeter: JMeterHome=/usr/jmeter/apache-jmeter-3.0
2017/11/04 09:38:24 INFO - jmeter.JMeter: user.dir =/usr/jmeter/apache-jmeter-3.0/bin
2017/11/04 09:38:24 INFO - jmeter.JMeter: PWD =/usr/jmeter/apache-jmeter-3.0/bin
2017/11/04 09:38:24 INFO - jmeter.JMeter: IP: 44.44.44.112 Name: slave02 FullName: slave02
2017/11/04 09:38:24 INFO - jmeter.engine.RemoteJMeterEngineImpl: Starting backing engine on 1099
2017/11/04 09:38:24 INFO - jmeter.engine.RemoteJMeterEngineImpl: Resolving by name the value of System property 'java.rmi.server.hostname':44.44.44.112
2017/11/04 09:38:24 INFO - jmeter.engine.RemoteJMeterEngineImpl: Local IP address=44.44.44.112
2017/11/04 09:38:24 INFO - jmeter.engine.RemoteJMeterEngineImpl: Creating RMI registry (server.rmi.create=true)
2017/11/04 09:38:24 INFO - jmeter.engine.RemoteJMeterEngineImpl: Bound to registry on port 1099
2017/11/04 09:38:57 INFO - jmeter.samplers.SampleEvent: List of sample_variables: []
2017/11/04 09:38:57 INFO - jmeter.protocol.http.control.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE_
2017/11/04 09:38:57 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2017/11/04 09:38:57 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2017/11/04 09:38:57 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2017/11/04 09:38:57 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2017/11/04 09:38:57 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2017/11/04 09:38:57 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2017/11/04 09:38:57 INFO - jmeter.protocol.http.control.CacheManager: Will only cache the following methods: [GET]
2017/11/04 09:38:57 INFO - jmeter.samplers.BatchSampleSender: Using batching for this run. Thresholds: num=100, time=60000
2017/11/04 09:38:57 INFO - jmeter.samplers.DataStrippingSampleSender: Using DataStrippingSampleSender for this run
2017/11/04 09:39:00 INFO - jmeter.engine.RemoteJMeterEngineImpl: Creating JMeter engine on host slave02 base '.'
2017/11/04 09:39:00 INFO - jmeter.engine.RemoteJMeterEngineImpl: Remote client host: 44.44.44.110
2017/11/04 09:39:00 INFO - jmeter.services.FileServer: Default base='/usr/jmeter/apache-jmeter-3.0/bin'
2017/11/04 09:39:00 INFO - jmeter.services.FileServer: Set new base='.'
2017/11/04 09:39:00 INFO - jmeter.engine.StandardJMeterEngine: Applying properties {}
2017/11/04 09:39:00 INFO - jmeter.engine.RemoteJMeterEngineImpl: Running test
2017/11/04 09:39:00 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2017/11/04 09:39:00 INFO - jmeter.samplers.SampleEvent: List of sample_variables: []
2017/11/04 09:39:00 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2017/11/04 09:39:00 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2017/11/04 09:39:03 ERROR - jmeter.samplers.RemoteListenerWrapper: testStarted(host) java.rmi.ConnectIOException: Exception creating connection to: 180.110.110.10; nested exception is:
java.net.NoRouteToHostException: No route to host
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:631)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:130)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
at com.sun.proxy.$Proxy1.testStarted(Unknown Source)
at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted(RemoteListenerWrapper.java:85)
at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:205)
at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:324)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 10 more
do you see any problem?
Thanks for your help.
s.
When starting the jmeter-server ensure you add
-Djava.rmi.server.hostname=Internal_IP
This will do what you want
configuration setting in system.properties (jmeter Windows client) do the trick java.rmi.server.hostname=44.44.44.110