spartanhooah
3 years agoOccasional Contributor
How do I run a test step from a LoadUI teardown script?
I have a LoadUI (3.3.0) suite that sometimes causes data to be left in the database after it's been run. I'd like to add a teardown script to call a DELETE API to clean up after the performance test. I tried this:
testSuite().getTestCaseByName("cleanup").getTestStepByName("DELETE objects").run(runner, context)
but when I try to run it I get this error in the log:
Caused by: groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.call() is applicable for argument types: () values: []
I don't know what's attempting to call that method. What do I need to do to get this working?