Ask a Question

Failing a Groovy Script Test Step

Radford
Super Contributor

Re: Failing a Groovy Script Test Step

You may find it better to start a new topic as your question doesn't really relate to the original message title. A new message will more likely get more appropriate answers. Anyway, to answer your question...

 

If you are new to Groovy I would suggest that you have a look at the pint and click Get Data functionality. This will allow you to easily retrieve the a SOAP response by creating the required Property Expansions for you.

 

Regarding logging, the Groovy Script editors provide a predefined variable "log" (See the section "Editing Groovy test step" of this page) to allow access to the Ready API script log, this object is a Log4J logger.

 

AlexKaras
Community Hero

Re: Failing a Groovy Script Test Step

Hi Manoj,

 

https://community.smartbear.com/t5/SoapUI-Pro/Saving-request-and-response/td-p/171405 might help.

 

P.S. Your question has nothing related to the initial question asked in this thread. Which is pretty old, by the way. If you not able to find a discussion related to your problem within the Community, it is much better to start a new thread.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: