[Carbon-dev] [QA] Use Jmeter heavily in test automation

2011-10-08 Thread Charitha Kankanamge
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


Re: [Carbon-dev] [QA] Use Jmeter heavily in test automation

2011-10-08 Thread Krishantha Samaraweera
On Sat, Oct 8, 2011 at 2:06 PM, Charitha Kankanamge wrote:

> 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.
>

Great stuff Charitha, We will work on adding this to our automation
framework.

Thanks,
Krishantha.

>
> /Charitha
>
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev