ContributionsMost RecentMost LikesSolutionsRe: [RESOLVED]how to run testsuites in multiple projects in one click from the UI? Hello, this look like what i need, but when i run this groovy script, i get following error java.lang.NullPointerException error at line: 4 when i run whole project (with only this script) i get this from error log Wed Jan 20 14:29:30 CET 2016:ERROR:java.lang.NullPointerException java.lang.NullPointerException at com.eviware.soapui.impl.wsdl.WsdlProjectPro.a(WsdlProjectPro.java:1041) at com.eviware.soapui.impl.wsdl.WsdlProjectPro.run(WsdlProjectPro.java:1033) at com.eviware.soapui.impl.wsdl.WsdlProjectPro.run(WsdlProjectPro.java:1) at com.eviware.soapui.model.testsuite.TestRunnable$run.call(Unknown Source) at Script15.run(Script15.groovy:4) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:92) at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:76) at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:155) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:234) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:47) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:148) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:1) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:130) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Looks like function project.run( null, false ) have problems with null (not sure, just my opinion) but i cant find any doc for this function, so i dont know what "null" and "false" means. Any idea whats wrong here, or where to find doc about that function? Thnx Re: How to set test case to OK by a script? Status.PASSED doesn't exists -> https://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestRunner.Status.html And when scipt go throught Status.FAILED tree, my test case finished as green (OK). But in base of your hits a search a little more on google, and I think that I can't change status of running Test Suite/Test Case back to OK from FAILED. Re: How to set test case to OK by a script? Ok, cond. goto may be used for this situation. Answer to to original question is: So i cant set test case to OK by a groovy scipt? Thnx Re: How to set test case to OK by a script? That doesnt really help. I add 2 attachements where u may see what i have and what is my target. I cant add delay with constat time, beacose i never know, when web service finish his work and fall in green. How to set test case to OK by a script? Hello In my test case, i have test step, that may fall in failed (red) state. In that case, i use script to wait few minutes and re-run test step again. (Beacose web service needs a little time before he process infromation from previous web services) Im doing this until test step switch to OK (green) state, in that case I normaly continue throught rest of test case. But when my test step switch to OK, the test case still stay in failed (red) state. So can i set test case to OK (green) state by a script? How? Solved