Bug 52773 - JMS Publisher test versus IBM Performance Harness for Java Message Service
Summary: JMS Publisher test versus IBM Performance Harness for Java Message Service
Status: RESOLVED WORKSFORME
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.6
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on: 52775
Blocks:
  Show dependency tree
 
Reported: 2012-02-26 16:22 UTC by Bruno Antunes
Modified: 2012-02-26 22:32 UTC (History)
1 user (show)



Attachments
Ssample project with the load test scenario. See readme.txt for a simple explanation of how to use it. (9.07 KB, application/zip)
2012-02-26 16:22 UTC, Bruno Antunes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Antunes 2012-02-26 16:22:10 UTC
Created attachment 28384 [details]
Ssample project with the load test scenario. See readme.txt for a simple explanation of how to use it.

I have performed a very simple test, using JMS Publisher sampler on JMeter, and a "jms.r11.Sender" test case on Harness , with similar  test conditions:

* No ramp-up, only one thread
* same message size (1000 bytes)
* same destination queue
* same duration test period (60 seconds)
* running as fast as possible (no delay between samples)

From this tests, I observe that Harness generates almost 90% more messages than JMeter. As such we achieve greater throughput with one thread in a one minute test using Harness 

In order to get same throughput for JMeter, we must configure more threads.

Tested with JMeter 2.6, and  IBM Performance Harness for Java Message Service 1.2 (http://www.alphaworks.ibm.com/tech/perfharness)

Any ideas of why JMeter generates much less load? I have even run jmeter with no gui, and saves results in CSV format.

In attach a sample ant script with the load test scenario.
Tested this using Oracle WebLogic Server 10.3.5 and Apache ActiveMQ 5.5.1
See readme.txt for a simple explanation of how to use it.
Comment 1 Philippe Mouawad 2012-02-26 22:02:35 UTC
Hello,
In fact the BIG difference comes from the fact that JMeter with your test case uses PERSISTENT messages while your perfharness Test uses NON PERSISTENT messages.

I made a test on my machine with a local AMQ 5.5.0 server:
JMETER : Generate Summary Results = 199630 in  60,1s = 3319,2/s Avg:     0 Min:     0 Max:   695 Err:     0 (0,00%)
Perfharness : totalIterations=219579,avgDuration=60,12,maxrateR=3933,03

Note that if I add a setup Thread Group that runs one sample (to warm up ) (which is what is done by Perfharness I think), I get :
Generate Summary Results = 210270 in  60,6s = 3469,2/s Avg:     0 Min:     0 Max:   841 Err:     0 (0,00%)


I think documentation should be clearer about this PERSISTENT settings and we should add a new Option to enable NON PERSISTENT messages
Comment 2 Philippe Mouawad 2012-02-26 22:32:34 UTC
See 52775
Comment 3 The ASF infrastructure team 2022-09-24 20:37:49 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2751