Contributions
Run X number of scripts per batch on groovy scipt SoapUI
I have this code which runs all scripts inside the test suite concurrently: import com.eviware.soapui.model.testsuite.TestSuite.TestSuiteRunType log.info testRunner.testCase.testSuite.getRunType() testRunner.testCase.testSuite.setRunType(TestSuiteRunType.PARALLEL) assert testRunner.testCase.testSuite.getRunType() == TestSuiteRunType.PARALLEL but it seems that the application can't handle too much scripts, question is: Is it possible to run scripts per batch? like for example I have 300 scripts and it will get only 10 scripts to run concurrently and after that another batch of 10 will be executed? Thanks in Advance!7 years agoPlace ReadyAPI QuestionsReadyAPI Questions616Views0likes0CommentsRun X number of scripts per batch on groovy scipt SoapUI
I have this code which runs all scripts inside the test suite concurrently: import com.eviware.soapui.model.testsuite.TestSuite.TestSuiteRunType log.info testRunner.testCase.testSuite.getRunType() testRunner.testCase.testSuite.setRunType(TestSuiteRunType.PARALLEL) assert testRunner.testCase.testSuite.getRunType() == TestSuiteRunType.PARALLEL but it seems that the application can't handle too much scripts, question is: Is it possible to run scripts per batch? like for example I have 300 scripts and it will get only 10 scripts to run concurrently and after that another batch of 10 will be executed? Thanks in Advance!7 years agoPlace ReadyAPI QuestionsReadyAPI Questions773Views0likes0CommentsCan't Execute TestSuite on SoapUI Pro
I can't execute a specific Test Suite on SoapUI. I don't know why it's happening since I have ran it multiple times. Sample Test Suite Name: Sprint_ABC Sample Test Case Name: Sprint_00 - ABC-0000 - abcabcabc Here is the Error log returned Mon Jan 22 12:33:58 CST 2018:ERROR:Exception during Test Execution java.lang.NullPointerException: Cannot invoke method getTestCaseByName() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:35) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at Script1.run(Script1.groovy:8) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:98) at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:82) at com.eviware.soapui.impl.wsdl.WsdlTestSuite.runScript(WsdlTestSuite.java:622) at com.eviware.soapui.impl.wsdl.WsdlTestSuite.runSetupScript(WsdlTestSuite.java:599) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalRun(WsdlTestSuiteRunner.java:113) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalRun(WsdlTestSuiteRunner.java:1) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129) 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)7 years agoPlace ReadyAPI QuestionsReadyAPI Questions979Views0likes2Comments