You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by domenico <Do...@iona.com> on 2006/10/19 20:29:14 UTC

Non-GUI JMeter Performance test How-TO?

Hi there

I am running the Performance test that I downloaded from
http://activemq.org/site/jmeter-performance-tests.html. It works all fine,
except that I don't know whether and where the results are being logged. The
GUI version of the "View Results Listener" shows the detailed results in a
Swing Table. The table has three columns:

- sample #
- sample time (sec)
- messages processed

This is how it looks like in the GUI:

http://www.nabble.com/file/3762/JMeterActiveMQ.jpg 

and this is how the test.jtl file looks like!

bash-2.03$ more test.jtl
<?xml version="1.0" encoding="UTF-8"?>
<testResults>
<sample t="191" lt="0" ts="1161281553588" s="true" lb="Producer+Sampler"
rs="" r
m="" tn="Thread+Group+1-1" dt="" de="ISO-8859-1">
  <responseHeader class="java.lang.String"></responseHeader>
  <requestHeader class="java.lang.String"></requestHeader>
  <samplerData class="java.lang.String">tcp://bent:61616</samplerData>
</sample>
<sample t="2479" lt="0" ts="1161281556112" s="true" lb="Consumer+Sampler"
rs=""
rm="" tn="Thread+Group+1-1" dt="" de="ISO-8859-1">
  <responseHeader class="java.lang.String"></responseHeader>
  <requestHeader class="java.lang.String"></requestHeader>
  <samplerData class="java.lang.String">tcp://bent:61616</samplerData>
</sample>

</testResults>

That does not look the same. Or am I just overlooking something? How can I
log all the GUI data in a file? The reason why I can't run the test with GUI
is because I a running Jmeter remotely on a powerful remote machine. Remote
JMeter server is not an optgion because JMeter uses RMI and RMI doesn't pass
subnets without a proxy.

See below how I used jmeter:

bash-2.03$ jmeter -t ./testfiles/bent/Queue_Persistent_P1_S1_T1.jmx -l
./test.jt
l -n
Created the tree successfully
Starting the test
PARAM = tcp://bent:61616/ActiveMQ Server/false/false
PARAM = tcp://bent:61616/ActiveMQ Server/false/false
Tidying up ...
... end of run

Any hint very welcome. thanks and kind regards,
domenico
-- 
View this message in context: http://www.nabble.com/Non-GUI-JMeter-Performance-test-How-TO--tf2475261.html#a6902812
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Non-GUI JMeter Performance test How-TO?

Posted by Jonas Lim <jl...@exist.com>.
Hi,

I'm not sure if the non-gui part of the jmeter performance module was 
fully tested :(   I would suggest to try the Maven 2 performance plugin 
which would basically give you the same set of result data  as the 
jmeter module but can be run on the command line :

    http://activemq.org/site/activemq-performance-module-users-manual.html


Regards,
Jonas

domenico wrote:
> Hi there
>
> I am running the Performance test that I downloaded from
> http://activemq.org/site/jmeter-performance-tests.html. It works all fine,
> except that I don't know whether and where the results are being logged. The
> GUI version of the "View Results Listener" shows the detailed results in a
> Swing Table. The table has three columns:
>
> - sample #
> - sample time (sec)
> - messages processed
>
> This is how it looks like in the GUI:
>
> http://www.nabble.com/file/3762/JMeterActiveMQ.jpg 
>
> and this is how the test.jtl file looks like!
>
> bash-2.03$ more test.jtl
> <?xml version="1.0" encoding="UTF-8"?>
> <testResults>
> <sample t="191" lt="0" ts="1161281553588" s="true" lb="Producer+Sampler"
> rs="" r
> m="" tn="Thread+Group+1-1" dt="" de="ISO-8859-1">
>   <responseHeader class="java.lang.String"></responseHeader>
>   <requestHeader class="java.lang.String"></requestHeader>
>   <samplerData class="java.lang.String">tcp://bent:61616</samplerData>
> </sample>
> <sample t="2479" lt="0" ts="1161281556112" s="true" lb="Consumer+Sampler"
> rs=""
> rm="" tn="Thread+Group+1-1" dt="" de="ISO-8859-1">
>   <responseHeader class="java.lang.String"></responseHeader>
>   <requestHeader class="java.lang.String"></requestHeader>
>   <samplerData class="java.lang.String">tcp://bent:61616</samplerData>
> </sample>
>
> </testResults>
>
> That does not look the same. Or am I just overlooking something? How can I
> log all the GUI data in a file? The reason why I can't run the test with GUI
> is because I a running Jmeter remotely on a powerful remote machine. Remote
> JMeter server is not an optgion because JMeter uses RMI and RMI doesn't pass
> subnets without a proxy.
>
> See below how I used jmeter:
>
> bash-2.03$ jmeter -t ./testfiles/bent/Queue_Persistent_P1_S1_T1.jmx -l
> ./test.jt
> l -n
> Created the tree successfully
> Starting the test
> PARAM = tcp://bent:61616/ActiveMQ Server/false/false
> PARAM = tcp://bent:61616/ActiveMQ Server/false/false
> Tidying up ...
> ... end of run
>
> Any hint very welcome. thanks and kind regards,
> domenico
>