Forum Discussion
3 Replies
- nmrao
Champion Level 1
Just looking at the below api link, where getMessages method there as pointed which returns string array.
http://www.soapui.org/apidocs/com/eviwa ... esult.html
So, now are you looking for setMessages method(of course not available there) or you would want to change the messages after getting the messages into array? - nmrao
Champion Level 1
Btw, would you like to share the use case trying to achieve? - mohaistkNew ContributorYes, a setMessages() is what I'm looking for.
The reason for this is that I have a groovy script that calls another script in another test suite. Now, that other script uses a JAR. When the JAR returns false, it returns a message detailing the reason for failure. I want to display that message as the reason why the first script failed; for when I look at in in the report.
Makes sense? Thank you!