Cizo89
11 years agoFrequent Contributor
[Registred] Can't run DataSink via Groovy Script
Hi,
it looks like there is a problem with the DataSink TestStep - it's impossible to run via Groovy script.
I've tried 2 different methods, but the result was still the same.
It's also strange that if I close and open SoapUI (or Project) and run those methods (or just one of them), the DataSink step will go red, but it won't do anything.
The DataSink step is working correctly only if I run it manually.
Could you, please, have a look at this?
Thanks in advance
Regards,
Marek
it looks like there is a problem with the DataSink TestStep - it's impossible to run via Groovy script.
I've tried 2 different methods, but the result was still the same.
testRunner.runTestStepByName("DataSink")
def dataSink = testRunner.testCase.testSteps["DataSink"]
dataSink.run(testRunner, context)
It's also strange that if I close and open SoapUI (or Project) and run those methods (or just one of them), the DataSink step will go red, but it won't do anything.
The DataSink step is working correctly only if I run it manually.
Could you, please, have a look at this?
Thanks in advance
Regards,
Marek