Apache Jmeter is a very useful tool for both functional and performance testing. At the moment, we use Jmeter in HB checker app to test console level login for all Stratos services as well as Jmeter is used to test concurrent login to management console, webapp uploads etc.
Similarly, Jmeter can be used for trivial functional testing in our products/stratos services. The attached Jmeter test has been written to test AAR services which does the following automatically. 1. Log in to AS management console 2. Upload an AAR service 3. Assert to check whether the service appears in service list 4. Invoke the service by sending both POST and GET requests 5. Sign out Jmeter does all these things very nicely. The beauty of Jmeter is, the same test can be converted to a load test by increasing the thread count. The possiblity of breaking tests due to UI changes is also minimum. Krishantha and automation team, please look at the attached test script and modify/add to relevant svn location and invoke this automatically through test framework. Similarly, we can produce tests for other services too. /Charitha
as-functional-test-plan.jmx
Description: Binary data
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev