Forum Discussion

soapuiuser12345's avatar
12 years ago

Strange WS-RM behaviour when running teststep via script

Hi,

I am trying to run several SOAP request teststeps via a groovy teststep script.

My code for teststep execution is as follows:
testRunner.testCase.testSteps["SOAPRequestTestStepX"].run(testRunner,context);


However this results in no WS-RM sequence beeing created and therefore the SOAP request isn't processed at the server. I thought that I did something wrong with the test context, but here is the funny part:
When I open an editor window for the SOAP request teststep and execute the script everything works fine. So my script produces different results depending on wether there is an open request editor window. Executing the SOAP request via the editor window works fine as well.

This behaviour really bugs me. I want to run the test from the command line, so I end up with my request beeing not processed because of the change in WS-RM behaviour. I would like the test to behave like an editor window is open all the time.

Can you help me? Is this a bug that will be fixed?
No RepliesBe the first to reply