Ask a Question

REST Mock service returns 404 (dispatch error;missing response)

santamonica
New Contributor

REST Mock service returns 404 (dispatch error;missing response)

Hello,

 

I am trying a really simple scenario, I've made simple REST Service - http://localhost:8089/test with GET operation defined.

Next I've made Mock Service for that service, with a sample response that returns 200 status, however, every time when I am trying to invoke the service I am getting 404 status and in Mock log error is logged: [dispatch error; missing response]

[dispatch error; missing response]

What is strange as well, by sending request on the root I am getting this html response:

 

<html><body><p>There are currently 1 running SoapUI MockServices</p><ul><li><a href="/test?WSDL">REST MockService 1</a></li></ul></p></body></html>

 

I am using SoapUi 5.3.0

 

Has anyone experienced this issue?

 

Thanks in advance!

2 REPLIES 2
nmrao
Community Hero

Re: REST Mock service returns 404 (dispatch error;missing response)

What type of Dispatching are you using?

May have a look the below sample with mock service

https://github.com/nmrao/sample-soapui-projects/tree/master/rest_sample


Regards,
Rao.
santamonica
New Contributor

Re: REST Mock service returns 404 (dispatch error;missing response)

Thanks for a response!

 

During the creation of Mock I made some steps which proved not to be working properly. I would suggest anyone if experience this error during Mock creation to take care of sequence of steps while creating Mock, would recommend any of YT videos for that.

 

Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: