Forum Discussion

Anonymous's avatar
Anonymous
15 years ago

[See GroovyCallWebServiceAnd..]Is it possible to call n times a test request ?

Hello,

I have a (dynamic) groovy script. This script calls a Webservice : testRunner.runTestStepByName(GeneralWebService).

The first call is done, but the assertions of this step are false.

I do not really understand, but it seems that the second call to the same testStep will do nothing (no network action).

It is true ? it is false ?

Thanks,
PHL.

2 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    this should work as you expect.. can you show the script you have created? Are you using an up-to-date build?

    regards!

    /Ole
    eviware.com
  • Anonymous's avatar
    Anonymous
    This is the same problem as "groovy call web service and (bug ?) assertion".

    It looks like "When the assertion fails, the next call of the step will not send data to the server".