Skip to Content
Sep 12, 2017 at 07:38 AM

How to setup Mockserver and mockdata for XSJS service?


On the SAPUI5 Demokit I found the documentation for setting up the mockserver and mockdata when the datasource is xsodata service.

But I want to set up mockserver and mockdata where the manifest has no datasource and no model mentioned and I am setting up the default model in my controller with the help of JSON data returned by my Xsjs service which I call using jQuery.get().

But I am not able to find documentation regarding setting up mockdata and mockserver when the service is xsjs and it is not mentioned in manifest.

If anyone has any link or example on how to do this then it will be very helpful if you can provide with links.

Thank you.