It's tentatively called Bucket listener which is probably not a good name.

It provides information about the distribution of response times.

You define a series of intervals and then it behaves in much the same way 
as the summary element in the postprocessor menu only I've put it under 
the listener menu. Each time a sample occurs it looks at the time and 
increments the appropriate counter. I used a binary search to find the 
correct interval so it shouldn't have too much effect on the amount of 
load j-meter can generate even with a large number of intervals. It then 
prints to the console window and the log file.

You can specify the intervals manually in a table or you can just tell it 
the upper and lower limits and the number of intervals you want and will 
work them out itself.

It uses the same property as the summariser to tell it when to report.

I couldn't get it working as a separate jar file so I added the classes to 
the apache core.jar

The classes are 
org.apache.jmeter.reporters.BucketListenerModel
org.apache.jmeter.reporters.BucketResultCollector

org.apache.jmeter.visualizers.Bucket
org.apache.jmeter.visualizers.BucketSet
org.apache.jmeter.visualizers.BucketListener

I would like to get this added to j-meter if possible. I want to know what 
the procedure is for submitting this addition and what the standards for 
acceptance are. I would also like to know if people think it is a good 
idea and if they find it useful.

My motivation in doing this was that I wanted to be able to run a large 
number of samples (millions) against a website and have some knowledge of 
response time distribution without having to store every result. I'm 
reasonably pleased with it. I'm a tester rather than a programmer so my 
code may well be a bit odd. I would be more than happy to receive 
criticism of my code should someone have the time spare to have a look at 
it.

You can download the files from here if you are interested
http://www.box.net/p/james96046
There are two files one is a built ApacheJmeter_core.jar with the bucket 
listener in it and the other is just the source for it.

James

Reply via email to