Contributions
run on test case level throws exception
I have a test case with 7 steps. When I run each step separately, the execute with success. But when I run the test case as a whole I got an exception Mon Mar 31 17:07:23 CEST 2014:ERROR:Exception during Test Execution java.lang.RuntimeException: listener must not be null at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.addTestRunListener(WsdlTestCase.java:648) at com.eviware.soapui.impl.wsdl.panels.testsuite.ProWsdlTestSuiteDesktopPanel.beforeRun(SourceFile:134) at com.eviware.soapui.impl.wsdl.panels.testsuite.WsdlTestSuiteDesktopPanel$InternalTestSuiteRunListener.beforeRun(WsdlTestSuiteDesktopPanel.java:492) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.notifyBeforeRun(WsdlTestSuiteRunner.java:215) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalRun(WsdlTestSuiteRunner.java:92) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestSuiteRunner.internalRun(WsdlTestSuiteRunner.java:42) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744)11 years agoPlace ReadyAPI QuestionsReadyAPI Questions927Views0likes0CommentsHow to inherit baseURL variable in assertions?
Hello, I'm trying SoapUI Pro for the moment. I have 3 platforms where I want to run my tests on Dev, Test and Stage. Each has a base URL. At service level I defined 3 endpoints. dev, test and stage On project level I defined 3 environments dev, test and stage Each environment got its own endpoint When I execute a get on a resource, the response contains links to other resources. Those resources contain the same baseURL coupled to the environment I cannot assert this statically, since the baseURL changes when a different environment is selected. How is the baseURL exposed in the project, and how can I use this in message assertions? I read about the property expansion There is a reference to #env# referring to a environment variable But it is not clear to me, how I can discover what is the current variable for my baseURL's Can somebody help me out with this question, please?700Views0likes0Comments