Forum Discussion
mrhaboobi
16 years agoNew Contributor
Ok so ive now figured out how to return the correct response. didnt realise all you had to do was
Return "" -- just too simple 
but now im getting confused by the documentation.
def holder = groovyUtils.getXmlHolder( mockRequest.requestContent )
why can we access the private property requestContent? where is an API that lists all these methods that we can call? Im getting very confused, all i want to do in my script is to log the mockservice and the mock operation that is being called/used. i cant seem to do anything at this point. getting very confused. something as simple as mockOperation.name would seem to be the property i want, but this doesnt work and i cant see what properties i can actually use or reference.
Cheers
Return "

but now im getting confused by the documentation.
def holder = groovyUtils.getXmlHolder( mockRequest.requestContent )
why can we access the private property requestContent? where is an API that lists all these methods that we can call? Im getting very confused, all i want to do in my script is to log the mockservice and the mock operation that is being called/used. i cant seem to do anything at this point. getting very confused. something as simple as mockOperation.name would seem to be the property i want, but this doesnt work and i cant see what properties i can actually use or reference.
Cheers