Forum Discussion

mrdwprice's avatar
3 years ago


I have this groovy script as a project level setup script.

But when tests execute via the ReadyAPI Azure DevOps extension, the execution is PARALLEL for both DEV and TEST.

Is there an error in my script? 




def env =  runner.project.getActiveEnvironment().name

import com.eviware.soapui.model.testsuite.TestSuite
project.setRunType(TestSuite.TestSuiteRunType.PARALLEL )

if (env == "DEV")
project.setRunType(TestSuite.TestSuiteRunType.SEQUENTIAL ) project.getRunType()

if (env == "TEST")
project.setRunType(TestSuite.TestSuiteRunType.PARALLEL ) project.getRunType()




No RepliesBe the first to reply