API Performance Testing / Functional Testing

After so many years…..Still JMeter rocks.
We can use JMeter to perform both functional and performance testing.

Developer can use JUnit/TestNG for unit testing.
Tester can use JMeter to do functional/performance testing.
Also JMeter/Selenium is good combination to do load testing for UI.

Better to integrate JMeter tests with Maven and tie them with continuous integration.
Next question, how to prepare test data?
Use JUnit/TestNG to run JMeter tests. From Java code we can do setup and teardown steps.
Also we can commit JMeter scripts, hence easy to maintain versioning.
Also we need to commit test data.

We can tie performance numbers with TestNG/JUnit and we can fail test cases.

Generate reports/dashboards from JMeter through command line.
Publish them periodically with date prefix.

At this time there is no ready to use tutorial or framework for this.
But somebody good at Java/TestNG/JUnit/JMeter/Selenium can help.

Few Links for your reference:

Commercial Versions:
Load Runner
JMeter performance monitoring remote JVM: https://jmeter-plugins.org/wiki/PerfMon/
Remote testing or scaling JMeter: http://jmeter.apache.org/usermanual/remote-test.html

Better to stay away from open source from commercial products. They are giving base version free and we need to buy commercial support or version for more features.


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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s