Forum Discussion
nmrao
9 years agoCommunity Hero
Interesting. Can you please elaborate your use case?
avanthi
9 years agoNew Contributor
Our organisation uses Ruby for scripting So we would like to integrate the SoapUI with Ruby same as how its integrated with Junit.
I want the Same ruby code exist in Junit here :
public void testTestCaseRunner() throws Exception
{
WsdlProject project = new WsdlProject( "src/dist/sample-soapui-project.xml" );
TestSuite testSuite = project.getTestSuiteByName( "Test Suite" );
TestCase testCase = testSuite.getTestCaseByName( "Test Conversions" );
// create empty properties and run synchronously
TestRunner runner = testCase.run( new PropertiesMap(), false );
assertEquals( Status.FINISHED, runner.getStatus() );
}