Forum Discussion
SmartBear_Suppo
15 years agoSmartBear Alumni (Retired)
Hi,
It's possible to mock rest using static files and the docroot setting for a mockservice, but improved rest mocking will be in some next version we hope.
The folder specified under MockService Options / Docroot will be used as a root folder for returning files from the file-system, so if you put a file in the c:\SoapUIResponses folder named "test.html" and then call your mockservice with a GET request to http://localhost://test.html it should return the test.html file.
Hope this helps you.
Regards,
/Dragica
eviware.com
It's possible to mock rest using static files and the docroot setting for a mockservice, but improved rest mocking will be in some next version we hope.
The folder specified under MockService Options / Docroot will be used as a root folder for returning files from the file-system, so if you put a file in the c:\SoapUIResponses folder named "test.html" and then call your mockservice with a GET request to http://localhost:
Hope this helps you.
Regards,
/Dragica
eviware.com