ContributionsMost RecentMost LikesSolutionsRe: NullPointerException at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStepYea ! I have already moved it to a different test step but I just wanted to understand why it is throwing this error .NullPointerException at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep I am stuck with below error . I am calling a groovy test step from assertion of a Test Step and this groovy test step is calling another test case . it is running but below exception is coming . Just sample code . Test Step 1 - > In assertion calling another test step based on some conditions context.testCase.getTestStepByName("VerifyAddress").run(context.testRunner,context) Test step 2 (VerifyAddress) //calling another step based on few conditions def key = context.testCase.testSuite.project.testSuites['Keywords_Addresses'].testCases['ApproveAdress'] key.setPropertyValue("city",city) def runner = key.run( null, true ) runner.waitUntilFinished() Thu Apr 29 22:53:32 IST 2021: ERROR: java.lang.NullPointerException java.lang.NullPointerException at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:921) at com.eviware.soapui.model.testsuite.TestStep$run$0.call(Unknown Source) at Script7.run(Script7.groovy:14) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:94) at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SoapUIProGroovyScriptEngineFactory.java:83) at com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.GroovyScriptAssertion.assertScript(GroovyScriptAssertion.java:150) at com.eviware.soapui.impl.wsdl.teststeps.assertions.basic.GroovyScriptAssertion.internalAssertResponse(GroovyScriptAssertion.java:186) at com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion.assertResponse(WsdlMessageAssertion.java:164) at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.assertResponse(RestTestRequest.java:150) at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequest.setResponse(RestTestRequest.java:141) at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.afterSubmit(AbstractHttpRequestDesktopPanel.java:606) at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestDesktopPanel.afterSubmit(RestTestRequestDesktopPanel.java:365) at com.eviware.soapui.impl.wsdl.WsdlSubmit.notifyListenersAfterSubmit(WsdlSubmit.java:111) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:157) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:835) SolvedRe: how to stop exporting failed test cases result to a file in - FAIL.txt in afterStep I had added a simple print statement in TestRunListener.afterStep but this is not getting executed for Rest Test Step however it is getting executed for Groovy Test Steps. how to stop exporting failed test cases result to a file in - FAIL.txt in afterStep I have lots of pre steps in my test suite which might fail sometime but that is expected. But the problem here is this is generating a FAIL.txt file in Jenkins machine . is there any way to stop creating this file ? Thanks in Advance. Re: Calling a TestSuite from test step of another Test casePerfect aaronpliu . This worked . One more question is there anyway to make it run in parallel ?Calling a TestSuite from test step of another Test case I have a requirement to call a Test suite from test step of another Testcases. Project structure Our Project structure is 1.TestSuite1 1.1 TestSuite1_Positive 1.2 TestSuite1_Negative 2. TestSuite2 2.1 TestSuite2_Positive. 2.2 TestSuite2_Negative 3. TestSuite3 3.1 Runner Requirement is to run TestSuite 1 from TestSuite3 --> Runner . Is there any way to achieve this ? Thanks in advance . SolvedRe: Customising parallel runs Thanks for the suggestion . But we have total 37K test cases Split across 18 Projects based on functionalities . Each projects has around ~40 test suites. So splitting again is not an option for us . Customising parallel runs Hi Team , We are trying to figure out a way to run our test cases in a customised parallel fashion . To start with , we are using readyAPI paid version 3.2.5. Our Project structure is 1.TestSuite1 1.1 TestSuite1_Positive > 100 cases 1.2 TestSuite1_Negative > 20 cases 2. TestSuite2 2.1 TestSuite2_Positive. > 50 cases 2.2 TestSuite2_Negative > 30 cases 3. TestSuite3 3.1 TestSuite3_Positive > 50 cases 4. TestSuite4 4.1 TestSuite4_positive. > 10 cases test Suite 2 is dependent on TestSuite1 and it should run only after TestSuite1 is completed. TestSuite 4 is dependent on TestSuite3 and it should run only after TestSuite3 is completed TestSuite1 and TestSuite3 are independent and can run in parallel and TestSuite2 and TestSuite4 can run in parallel. What we are trying to achieve here to once we start our run , TestSuite1 and TestSuite3 should run in parallel. Once TestSuite1 complete its run TestSuite2 should start , similar for TestSuite3 and TestSuite4. Kindly help . SolvedSOAP UI Pro 4.6.4 not launching with Open JDK 11 I installed Open JDK 11 on my mac and updated jre.bundle to point to JDK 11 / Contents/Home and tried to start it . But it failed with below errror. I verified that i have commons-cli-1.4 jar and it is compatabile with JDK 11. java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser at com.eviware.soapui.SoapUIPro.<clinit>(SourceFile:140) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.exe4j.runtime.LauncherEngine.launch(Unknown Source) at com.install4j.runtime.launcher.MacLauncher.main(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.CommandLineParser at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 7 more I am using SOAP UI Pro 4.6.4. Can someone help me in this ? Solved