Hi Chamil,

You can refer test case at [1] which publish web app stats to BAM. You need
to assume BAM server is running and write your test. Test case location
should be [2]. You can consider this as a platform scenario. So platform
test case guide at [3] would help you.

[1]
http://svn.wso2.org/repos/wso2/scratch/as520_ta_hackathon/platform-automated-test-suite/1.2.0/org.wso2.carbon.automation.platform.test.scenarios/src/test/java/org.wso2.carbon.automation.platform.scenarios/as/webapp/stat/monitoring/test/WebApplicationStatMonitoringWithBAMTestCase.java

[2]
https://github.com/wso2/carbon-platform-automated-test-suite/tree/master/platform-automated-test-suite/platform-tests

[3]
http://wso2.com/library/articles/2014/03/platform-test-automation-using-wso2-test-automation-framework/

Thanks,
Krishantha.


On Wed, Jul 2, 2014 at 2:25 PM, Gayan Yalpathwala <[email protected]> wrote:

> Hi Chamil,
>
> Did you happen to come across already existing test cases[1]? Hope you can
> refer [2] as a sample test case and [3] is a good article to follow.
>
> [1]
> https://github.com/wso2-dev/product-as/tree/master/modules/integration/tests-integration/src/test/java/org/wso2/appserver/integration/tests
> [2]
> https://github.com/wso2-dev/product-as/blob/master/modules/integration/tests-integration/src/test/java/org/wso2/appserver/integration/tests/AARServiceTestCase.java
> [3]
> http://wso2.com/library/articles/2014/06/introducing-automated-tests-for-wso2-products/
>
> Thanks,
>
>
> On Wed, Jul 2, 2014 at 2:04 PM, Chamil Jeewantha <[email protected]> wrote:
>
>> Can someone point me to the git/svn location which has the $subject. My
>> requirement is to write an Integration Test for AS-BAM data publishing. its
>> really helpful if I can find some existing tests to refer to.
>>
>> Regards,
>> Chamil
>>
>> --
>> K.D. Chamil Jeewantha
>> Associate Technical Lead
>> WSO2, Inc.;  http://wso2.com
>> Mobile: +94716813892
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Gayan Kaushalya Yalpathwala*
>  Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 71 8682704 <http://asia14.wso2con.com/>
>
>  <http://asia14.wso2con.com/>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to