distributed mode error.

405 views
Skip to first unread message

mdig...@gmail.com

unread,
Feb 1, 2017, 5:10:46 PM2/1/17
to codename-taurus
Hi, I am running the test with distributed mode.
I just tested with one slave but it doesn't work.

---
modules:
  blazemeter:
    token: ${TokenInfo}

reporting:
  - module: blazemeter
    report-name: web-perf6

execution:
- distributed:
  - 172.18.2.216
  scenario:
    script: /home/user/jmeter30/bin/script/Perf_jm3_cookie_0131.jmx
  concurrency: 10
  ramp-up: 100s
  hold-for: 10m

++++++++++++
jamkim$ bzt PerfEnv_jm3_distributed.yml
17:07:02 INFO: Taurus CLI Tool v1.7.5
17:07:02 INFO: Starting with configs: ['PerfEnv_jm3_distributed.yml']
17:07:02 INFO: Configuring...
17:07:02 INFO: No personal config: /Users/jamkim/.bzt-rc
17:07:03 INFO: Artifacts dir: /Users/jamkim/Documents/apache-jmeter-3.0/apache-jmeter-3.0/bin/2017-02-01_17-07-03.624305
17:07:03 INFO: Preparing...
17:07:05 WARNING: Could not find location at path: /home/user/jmeter30/bin/script/Perf_jm3_cookie_0131.jmx
17:07:05 WARNING: Could not find location at path: /home/user/jmeter30/bin/script/Perf_jm3_cookie_0131.jmx
17:07:06 ERROR: Internal Error: XML parsing failed for file /home/user/jmeter30/bin/script/Perf_jm3_cookie_0131.jmx: Error reading file '/home/user/jmeter30/bin/script/Perf_jm3_cookie_0131.jmx': failed to load external entity "/home/user/jmeter30/bin/script/Perf_jm3_cookie_0131.jmx"
17:07:06 INFO: Post-processing...
17:07:06 INFO: Artifacts dir: /Users/jamkim/Documents/apache-jmeter-3.0/apache-jmeter-3.0/bin/Kaplan/2017-02-01_17-07-03.624305
17:07:06 WARNING: Done performing with code: 1

I put the jmx file in the server with full path.
Do I have to configure the slave server to the config ?

Any advise ?

thanks

- James 

mdig...@gmail.com

unread,
Feb 1, 2017, 5:32:48 PM2/1/17
to codename-taurus, mdig...@gmail.com
I just updated the yml as below.

---
modules:
  blazemeter:
    token: ${token}

reporting:
  - module: blazemeter
    report-name: web-perf6

execution:
- distributed:
  - 172.18.2.216
  - 172.18.2.88
  scenario:
    script: PerfEnv_jm3_cookie_0131.jmx
  concurrency: 10
  ramp-up: 100s
  hold-for: 10m

I got the below error from the result
++++++++++++++++++++++++++++
17:27:24 ERROR: Child Process Error: Empty results, most likely PerfEnv_jm3_cookie_0131.jmx (JMeterExecutor) failed

Please kindly help me out.

Thanks.

-James 

mdig...@gmail.com

unread,
Feb 1, 2017, 5:46:48 PM2/1/17
to codename-taurus, mdig...@gmail.com


On Wednesday, February 1, 2017 at 5:10:46 PM UTC-5, mdig...@gmail.com wrote:
2017/02/01 17:27:20 ERROR - jmeter.engine.DistributedRunner: Failed to create engine at 172.18.2.216 java.rmi.ConnectException: Connection refused to host: 172.18.2.216; nested exception is: 
java.net.ConnectException: Connection refused (Connection refused)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
....
2017/02/01 17:27:20 INFO  - jmeter.engine.DistributedRunner: Stopping remote engines 
2017/02/01 17:27:20 INFO  - jmeter.engine.DistributedRunner: Remote engines have been stopped 
2017/02/01 17:27:20 ERROR - jmeter.JMeter: Error in NonGUIDriver java.lang.RuntimeException: Following remote engines could not be configured:[172.18.2.216, 172.18.2.88] 
2017/02/01 17:27:20 INFO  - jmeter.engine.DistributedRunner: Failed to configure 172.18.2.216 

I installed taurus/jmeter both servers on the AWS EC2 instances.

Andrey Pokhilko

unread,
Feb 2, 2017, 3:32:18 AM2/2/17
to codenam...@googlegroups.com

You should start jmeter-server.sh on those servers before test. Or, if you want to avoid hassle, use cloud provisioned tests: http://gettaurus.org/docs/Cloud/


Andrey Pohilko
Chief Scientist
P: +7 (909) 631-21-69
BlazeMeter Inc.
--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/3a6ed512-759f-4e60-8560-65ea09cc1422%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages