Hi All

*WSO2 Carbon Test Framework* is now available for testing the ESB product.

Please feel free to use it for testing the product as a whole or for testing
selected components of the product.


*[1]. Set-up ESB*
------------------------

1. Download WSO2 ESB and start the server.
If you want to download the latest binary pack, get it from the nightly
builds[1]

2. Start the axis2server and deploy following services
To deploy services run 'ant' command inside following directories.
        ESB_HOME/samples/axis2Server/src/FastStockQuoteService
        ESB_HOME/samples/axis2Server/src/ReliableStockQuoteService
        ESB_HOME/samples/axis2Server/src/SecureStockQuoteService
        ESB_HOME/samples/axis2Server/src/MTOMSwASampleService
        ESB_HOME/samples/axis2Server/src/SimpleStockQuoteService


*[2]. Set-up the Test Framework in your local machine*
----------------------------------------------------------------------------------

1. Checkout the Carbon Test Framework source from [2]
2. Change the *carbon.home* property value to your ESB_HOME location in the
FRAMEWORK_HOME/config/framework.properties file.

 eg:  for linux users:
               carbon.home = /home/wso2/esb/wso2esb

        for windows users:
              carbon.home = C:\\Documents and
Settings\\proj\\wso2\\esb\\wso2esb\\

3. *To test the whole product*: Goto  FRAMEWORK_HOME and run *mvn clean
install*
4. *To test individual components of the product: *Build following
dependency modules sequentially,

   (a). *authenticator*
   (b). *synapse-config-admin-service*
   (c). *common*
   (d). *servicemanagement*
   (e). *resourceadmin*
   (f). *securitymanagement*
   (g). *test-setup-config*
   (h). *throttleadmin*

and build that particular component module next.

eg: To run the *esb-samples* module*:* Run *mvn clean install* for (a) to
(h) dependency modules sequentially and then esb-samples module. The test
results will be shown at the end, having noted failure scenarios.

5. The readme is available at FRAMEWORK_HOME/README.txt and covered
esb-samples can be found at FRAMEWORK_HOME/esb-samples/readme.txt

*Further: *

The Test Framework includes different test scenarios (covering both positive
and negative tests) for each component separately.
The component modules include adminservices, esb-samples[3] and mediators.
We need to run reasonable number of different test scenarios to get the
framework into a satisfactory level. The current test coverage can be found
at [4].
Whenever the bug fixes are done or new features are introduced, automated
tests need to be executed.

Very importantly, this framework is simple enough to configure for a new
test configuration with a minimum coding effort.
Soon it is going to be available for testing WSO2 cloud infrastructures; the
Stratos!

Please report enhancements or any issues in the public JIRA [5] for QA
automation project.


[1]. 
http://builder.wso2.org/~carbon/releases/carbon/3.1.0/latest/<http://builder.wso2.org/%7Ecarbon/releases/carbon/3.1.0/latest/>
[2].
https://svn.wso2.org/repos/wso2/trunk/commons/qa/component-test-framework
[3]  http://wso2.org/project/esb/java/3.0.1/docs/samples_index.html
[4].
https://wso2.org/wiki/display/esbjava/WSO2+ESB-3.X+High+level+test+scenarios
[5]. https://wso2.org/jira/browse/QA


Thanks


regards,


-- 
Thilini Ishaka
Software Engineer
WSO2, Inc
email: thil...@wso2.com
mobile: +94 718408171
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to