*Test location:* [1] *Prerequisites:* 1. Create a tenant and application
2. Go to the build server, login as un:jenkinssystemadmin/ pw:admin and change the configuration setting # of executors = 1 3. Create API giving following information Name: testAPI001, Version: 1.0.0 Production url : http://weather.yahooapis.com/forecastrss?w=2442047&u=c Sandbox url: http://weather.yahooapis.com/forecastrss?w=2502265 4. Update [2] DataTables.xml file changing the following properties <Table name="initializeTenantLogin"> <Header> <Column name="TenantAdminName" type="String" /> <Column name="TenantAdminPassword" type="String" /> <Column name="TenantDomain" type="String" /> <Column name="AppFactoryUserCommonPassword" type="String" /> <Column name="mainURL" type="String" /> </Header> <Row> <Value>vtest011</Value> <Value>123456</Value> <Value>@vtest011.com</Value> <Value>123456</Value> <Value>https://appfactory.private.wso2.com:9443/appmgt/</Value> </Row> </Table> *Run the tests* go to [1]/scenario1 folder execute "mvn test" *NOTE:* - You can enable/disable test scenarios changing the first value of each row of Table named 'dtScenario1' <Table name="dtScenario1"> <Row> <Value>true</Value> - To test upload application, make sure to change the file paths <Value>//home//appfactory//Desktop//AF_Virtusa//example.war</Value> [1] https://svn.wso2.org/repos/wso2/scratch/appfactory_2.0.0/products/appfactory/2.1.0/selinium-tests/ [2] https://svn.wso2.org/repos/wso2/scratch/appfactory_2.0.0/products/appfactory/2.1.0/selinium-tests/scenario1/src/main/resources/data/DataTables.xml Thanks Amalka
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
