freddejones
13 years agoNew Contributor
Load tests with SoapUITestCaseRunner/SoapUIProTestCaseRunner
Hi,
Have anyone had any luck with running load tests within the JUnit soloution that can be found here:
http://www.soapui.org/Test-Automation/i ... junit.html
public void testRunner() throws Exception
{
SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
runner.setProjectFile( "src/dist/sample-soapui-project.xml" );
runner.run();
}
Since we are building a build pipeline we want the most processes to be automated as much as possible.
I would like to trigger the load tests from the Junit runner as and not only the functional tests.
However it seems like those tests are never executed.
I can run them via the command line interface but I would rather see it within the Java/Junit solution.
Any suggestions?
Regards
Fredrik
Have anyone had any luck with running load tests within the JUnit soloution that can be found here:
http://www.soapui.org/Test-Automation/i ... junit.html
public void testRunner() throws Exception
{
SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
runner.setProjectFile( "src/dist/sample-soapui-project.xml" );
runner.run();
}
Since we are building a build pipeline we want the most processes to be automated as much as possible.
I would like to trigger the load tests from the Junit runner as and not only the functional tests.
However it seems like those tests are never executed.
I can run them via the command line interface but I would rather see it within the Java/Junit solution.
Any suggestions?
Regards
Fredrik