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:
http://seleniummaster.com/sitecontent/index.php/performance-test-menu/selenium-load-test-menu/171-selenium-testng-load-testing
http://testng.org/doc/selenium.html

Commercial Versions:
https://www.microfocus.com/products/silk-portfolio/silk-test/features/
Load Runner
http://jmeter.apache.org/
https://hiromia.blogspot.com/2016/07/how-to-run-jmeter-load-testing-script.html
http://jmeter.apache.org/usermanual/generating-dashboard.html
JMeter performance monitoring remote JVM: https://jmeter-plugins.org/wiki/PerfMon/
Remote testing or scaling JMeter: http://jmeter.apache.org/usermanual/remote-test.html

Comments:
http://gatling.io/
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.

Advertisements

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