Forum Discussion

helium86's avatar
helium86
Senior Member
6 years ago

Ready API 2.3.0 How to run a specific testcases with tags using Groovy

Hi,

 

I have multiple test suites with test cases. I have tagged each test case with the backend it invokes. Now I need to run only those test cases that matches the tags using groovy.

 

The below groovy line runs all test suits & testcases in it.

 

testSuite = project.getTestSuiteByName("testSuite1");
runner = testSuite.run(new com.eviware.soapui.support.types.StringToObjectMap(), false);

Is there any way I can pass parameters to execute specific test cases matching those tags?

 

Thanks.

 

1 Reply