oliverlloyd / jmeter-ec2

Automates running Apache JMeter on Amazon EC2
GNU General Public License v3.0
464 stars 186 forks source link

No realtime aggregated results displayed #8

Closed khuongdp closed 11 years ago

khuongdp commented 11 years ago

Hi

Everything is working fine but no real-time aggregated results is displayed on console. Generate Summary Results listener is added to the test plan so it should not be this problem.

Still no output when using the provided 'myproject'

davidvasandani commented 11 years ago

+1

oliverlloyd commented 11 years ago

Sorry, I just picked this one up.

So I run a test on the latest code here and, for me, it works. That means the problem is local with you. I would say either you have setup jmeter's properties differently or it's a connection issue.

Make sure you're using the jmeter.properties file provided, it contains the right settings for the summariser and the jtl output file. Then check you have connectivity on port 22 to the instance that is created. Try:

telnet THE PUBLIC DNS OF YOUR INSTANCE 22

This should not hang on Trying.. blah but print out some weird characters and return straight away.

It might be either your local security settings are blocking 22 or the security group for the aws instance you provided is not allowing 22 out.

That said, if you can scp files there then you have access on port 22 so you might also want to look at the file named a bit like 1345454546-my-host-name.com-jmeter.out that should appear in the project directory when the test is running. What does that say? It should contain something like

Created the tree successfully using /tmp/execute.jmx
Starting the test @ Fri Dec 14 21:25:30 UTC 2012 (1355520330876)
Waiting for possible shutdown message on port 4445
Generate Summary Results +     1 in   0.0s = 1000.0/s Avg:     1 Min:     1 Max:     1 Err:     0 (0.00%)
Generate Summary Results +     8 in  14.9s =    0.5/s Avg:     0 Min:     0 Max:     0 Err:     0 (0.00%)
Generate Summary Results =     9 in  14.9s =    0.6/s Avg:     0 Min:     0 Max:     1 Err:     0 (0.00%)

If you still have issues can you rerun with bash set to output in debug mode - use bash -x, like:

project="myproject" percent=20 setup="TRUE" terminate="TRUE" count="1" env="UAT" release="3.23" comment="my notes" bash -x ./jmeter-ec2.sh

and print the results here?

oliverlloyd commented 11 years ago

Closed as local setup issue.