Name |
JMeter Plugin |
Authors |
Carlos Fillol, Antonio Calero |
Jira |
http://jira.codehaus.org/browse/SONARPLUGINS/component/14592 |
State |
Under development |
License |
LGPL v3 |
Download sources |
|
Download jar |
|
Compatibility with Sonar
Plugin |
0.1 |
|---|---|
Sonar |
2.4+ |
Description / Features
This plugin collects performance tests results from Apache JMeter. Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to test your server/script/object behavior under heavy concurrent load.
If it is the first time you hear from Apache JMeter then you should try it before using this plugin.
The following metrics are included in Sonar:
- Duration (in seconds)
- Error density (number of errors / number of requests * 100)
- Average response time for requests
- Average response time for transactions
- Successful requests per minute
- Successful requests per minute and user
- Response time deviation for requests
- Response time deviation for transactions
- Number of requests
- Number of transactions
- Successful transactions per minute
- Successful transactions per minute and user
This is an example of the widget you will see in Sonar:

Usage & Installation
JMeter
JMeter installation is very easy. JMeter is developed with Java and it is distributed as a compressed file.
You can download it from http://jakarta.apache.org/jmeter and then run the provided script (bin/jmeter).
Recording a test in JMeter
You can find a step by step tutorial in JMeter's website: http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf
It describes how to record a test plan using the JMeter proxy.
SONAR JMeter plugin uses the results datafile generated by JMeter (file with extension .JTL) so remember to configure your test plan to store the results in a single JTL file.
Known limitations
TBD

