Excellent work Nuwan and Dharshana! QA team/Product teams hope you guys can add the jmeter scripts that used for day to day testing in to automation framework and enable them to run daily with our build system.
Thanks, Krishantha. On Thu, Mar 7, 2013 at 7:42 PM, Nuwan Wimalasekara <[email protected]> wrote: > Hi all, > We have enable the test automation framework to run Jmeter script alone > with integration test while building products. There are lot of Jmeter > script for product functional testing and those are manually triggered from > Jmeter tool after building the product to test product functionality. with > this feature you can execute the Jmeter test which ensure a functionality > of a product with proper assertions with the product integration test and > see the test reports. > > if you have any Jmeter script(.jmx) file, Please integrate those test with > the integration test. Please send the feedback if you face any limitation > or issue while integrating. > > Please find the source code from[1] > > Note : This is not recommended for load testing with high value. > > You need to have bellow dependency > <dependency> > <groupId>org.wso2.carbon.automation</groupId> > > <artifactId>org.wso2.carbon.automation.tools.jmeter</artifactId> > <version>4.0.8</version> > </dependency> > > Then you can write a test method in your integration test to run Jmeter > script. > > @Test() > public void serviceListTest() throws Exception { > JMeterTestManager test = new JMeterTestManager(); > JMeterTest file = new JMeterTest(new > File("$PATH/ESB-list-service.jmx")); > test.runTest(file); > } > > [1] > https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/platform-integration/clarity-framework/4.0.8/org.wso2.carbon.automation.tools.jmeter/ > > Thanks > Nuwanw > > > -- > Nuwan Wimalasekara > Software Engineer - Test Automation > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > phone: +94 71 668 4620 > > > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
