Skip to Content

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.