cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 mock data does not work

jasonwangcn
Participant
0 Kudos

All Expert,

I am practice Mock server functions. From debugging, i noticed mock server is started.But from network, i still can see it try to visit internet to get the metadata info. May u know what the issue?

Accepted Solutions (0)

Answers (1)

Answers (1)

jhodel18
Active Contributor

Hi Frank,

Try this in debug mode just before the execution of start():

oMockServer.getRequests()

It should give you an array list of requests that can be mocked. If the request you are using is not there, you might need to inject the mock response yourself.