Forum Discussion
tjdurden
12 years agoFrequent Contributor
Hi Ashish,
Are you looking for any specific data from the log, or do you just want the entire output? For example, the response time can be gathered by:
I've been having a look at the SoapUI API's and I'm not sure how to specifically grab the Response Log from a SOAP request directly using Groovy. It may be easier to consider what you are trying to achieve by grabbing the logs unless anyone else knows specifically?
Kind regards,
Tim
Are you looking for any specific data from the log, or do you just want the entire output? For example, the response time can be gathered by:
log.info("Response Time :" + messageExchange.getTimeTaken())
I've been having a look at the SoapUI API's and I'm not sure how to specifically grab the Response Log from a SOAP request directly using Groovy. It may be easier to consider what you are trying to achieve by grabbing the logs unless anyone else knows specifically?
Kind regards,
Tim