cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Practise Walkthrough step 27, Mock server does not work

Basten
Newcomer
0 Kudos
136

I'm trying to practise configuring mock server and use local json file as the data source, but I always got the following error. I don't understand why the application trys to read /webapp/test/Invoices.json. Why the applicaion does not read localService/mockdata/Invoices.json?

Anyone can help? 

Note that when I run the application with index.html, it works. This only failed with mockServer.html.

 

Basten_0-1727571922372.png

 

 

Some configuration files as below. Please let me know if you want more. Thank in advance.

Basten_1-1727571973277.png

 

 

Basten_2-1727572019853.pngBasten_3-1727572056222.png

Basten_4-1727572198162.pngBasten_5-1727572226585.pngBasten_6-1727572256386.pngBasten_7-1727572273362.pngBasten_8-1727572309634.pngBasten_9-1727572343295.png

 

Accepted Solutions (0)

Answers (0)