Apache JMeter with Badboy

I was exploring some of the free open source softwares for load + performance testing and came across Apache JMeter (http://jakarta.apache.org/jmeter/). I used it in combination with Badboy (http://www.badboy.com.au/) to capture/record a single instance of manual test scenario requests and then exported the recorded script to JMeter format. Badboy comes as a handy tool because JMeter’s proxy to record server requests isn’t that efficient.
Now once we have the JMeter script for a single use case, we can use it for functional testing and more essentially scale the same scenario for load testing (JMeter has the concept of Thread Group that internally spawns thread corresponding to the number of users specified and synchronizes them to simulate load). In addition, it has got plenty of samplers (request categories for http, SOAP/XML/ftp/JDBC etc.) to send various types of requests and listeners (results/response collection category like aggregate graph, report, table, tree etc.) for reporting purpose.

JMeter also has a concept of distributed testing: http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf

Some useful links for reference and tutorial:
http://javaboutique.internet.com/tutorials/JMeter/index.html
http://www.methodsandtools.com/tools/tools.php?jmeter
http://jmeter-expert.blogspot.com/
http://charithaka.blogspot.com/2011/02/data-driven-web-service-testing-with.html
http://www.badboysoftware.biz/docs/variables_and_looping.htm
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor

Advertisements
This entry was posted in Information Technology. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s