Forum Discussion

tom_13's avatar
tom_13
Contributor
15 years ago

get text of error

Hi all,
I run test case from groovy like this:
runner =  activate.run(new com.eviware.soapui.support.types.StringToObjectMap(), false)


Sometimes test case can be failed. How I can get text of error ?

p.s. I'm using soap 2.5.1 free

1 Reply

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

    the runner has a "results" property containing all TestStepResult objects for the executed TestSteps; these in turn each have a messages property (String[]) containing their corresponding status messages..

    Hope that helps!

    regards,

    /Ole
    eviware.com