Forum Discussion
SiKing
12 years agoCommunity Expert
Nope
Looking at the API here: http://www.soapui.org/apidocs/index.htm ... nitor.html (would be really kool to have some documentation there )
gives me
Since a Groovy Step does not have the property testSuite, I tried:
which gives me:
Does this mean I have to downgrade to the non-Pro version?
Looking at the API here: http://www.soapui.org/apidocs/index.htm ... nitor.html (would be really kool to have some documentation there )
import com.eviware.soapui.monitor.TestMonitor
TestMonitor.hasRunningTests()
gives me
Wed Oct 16 08:16:40 PDT 2013:ERROR:groovy.lang.MissingMethodException: No signature of method: static com.eviware.soapui.monitor.TestMonitor.hasRunningTests() is applicable for argument types: () values: []
Possible solutions: hasRunningTests(), hasRunningTests(com.eviware.soapui.impl.wsdl.WsdlProject), hasRunningTest(com.eviware.soapui.model.testsuite.TestCase), hasRunningTestCase(com.eviware.soapui.model.testsuite.TestCase)
Since a Groovy Step does not have the property testSuite, I tried:
import com.eviware.soapui.monitor.TestMonitor
TestMonitor.hasRunningTests(testRunner.testCase.testSuite.project)
which gives me:
Wed Oct 16 08:18:33 PDT 2013:ERROR:groovy.lang.MissingMethodException: No signature of method: static com.eviware.soapui.monitor.TestMonitor.hasRunningTests() is applicable for argument types: (com.eviware.soapui.impl.wsdl.WsdlProjectPro) values: [com.eviware.soapui.impl.wsdl.WsdlProjectPro@45ea368b]
Possible solutions: hasRunningTests(), hasRunningTests(com.eviware.soapui.impl.wsdl.WsdlProject), hasRunningTest(com.eviware.soapui.model.testsuite.TestCase), hasRunningTestCase(com.eviware.soapui.model.testsuite.TestCase)
Does this mean I have to downgrade to the non-Pro version?
Related Content
Recent Discussions
- 8 days ago