Toby_Hage
17 years agoOccasional Contributor
log response message in listener
Hello,
Have searched the forum and read the manual but couldn't find this.
i'am trying to log the response from a webservice in a listener, but don't know which object to use.
I have the following
which object to use on the pace of the xxx???
thanx in advance
Have searched the forum and read the manual but couldn't find this.
i'am trying to log the response from a webservice in a listener, but don't know which object to use.
I have the following
public synchronized void afterTestStep(LoadTestRunner runner,LoadTestRunContext context, TestRunner testRunner,TestRunContext testContext, TestStepResult result)
{
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder(xxx.responseContent )
def faulstring = holder["string(//faultstring)"]
writer.writeLine(faulstring)
}
which object to use on the pace of the xxx???
thanx in advance