Hello everyone,
I have a complex freestyle UI5 application with different dependencies. In order to test the app I need many different types of data coming from varios sources. To save immense work and test case creation I want to mock my data. I can mock all my OData requests by using the
sap-fe-mockserver in my ui5-local.yaml.
However I must mock /sap/bc/ui2/start_up because my app has a dependency of it as well. Unfortunately that's some sort of a service that's not OData and doesn't have proper metadata. I've tried to mock it with a customMiddleware in the yaml but UI5 can't resolve anything that should serve a custom JSON.
Can anyone suggest a way to mock a service / url request for GET requests ? I can do it via a custom node server or a python one with reverse proxy but I don't want to leave the SAP UI5 framework.
In a nutshell I want to be able to GET data from
http://[domain]/custom/service
in my case :
http://localhost:8081/sap/bc/ui2/start_up
For example:

This one gives the following error:

Thanks in advance 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.