Forum Discussion

ankush's avatar
ankush
Occasional Contributor
9 years ago

How to Access Htttp Log from SOAP UI using the soap ui API

Hi,

 

I am using the following code for capturing the http log from SOAP UI :

def logArea = com.eviware.soapui.SoapUI.logMonitor
   def logPanel
   logPanel = logArea.getLogArea("http log")

 

which works fine when run from SOAP UI itself.

 

How can we access the http log when running the groovy script when SOAP ui interface is not open.

 

For ex:

I am running this from ANT.

 

Is there any way I can use the SAOP UI API to capture this http log ?

Basically I want to capture request/responses between redirects.

 

Any help appreciated.Thanks