cancel
Showing results for 
Search instead for 
Did you mean: 

Mock Response - Script returned null

Highlighted
Occasional Contributor

Mock Response - Script returned null

Please could someone advise with the blow query.

 

I have set up a Mock Response, which succesfully responds to the incomming request. I am trying to extract certain details from the inbound request using the 'SCRIPT' dispatch method. 

 

I have added the following line, but when I execute it returns 'Script returned [null]'

 

def holder = new com.eviware.soapui.support.XmlHolder( mockRequest.requestContent )

 Am I missed something as I can see the request arriving in the 'Request' window.

 

Many thanks,

1 REPLY 1
Community Hero

Re: Mock Response - Script returned null

Would you please provide the sample input data and the output expected? That would help better understanding of the issue.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Top Kudoed Authors