Skip to Content
-1

How to use POST method and test it without having a back-end service available yet?

May 24, 2017 at 06:59 AM

93

avatar image
Former Member

Hi everyone,

I am creating an app using edmx file because I don't have a back-end service yet. I need to enter new data and edit existing data in the back-end.

How do I use POST method and test the functionalities, while I don't have back-end service available yet?

Thanks in advance :)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jun Wu May 25, 2017 at 01:53 PM
0

just code it. there is no dependency to backend.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

I understand, but is there a way to test the functionality?

0
Mahesh kumar palavalli May 26, 2017 at 04:53 PM
0

you can use the mockserver, there you can test all the crud operations and see the data getting updated in real time.

The Best part is if you generate the fiori app using the sap webide template all the mockserver code will be generated automatically and you dont need to write any additional code to make the mockserver to work!!!... but few restrictions are there anyway..

In order to run the app with mockserver you need to create a configuration by right clicking on the project folder and in there you will find a checbox with mockserver, then run the app... It will run now in mockdata mode. If your backend is ready, simply remove the mockdata mode check box.. thats it.. very simple!!.

Make sure to generate the app using the fiori webide template.. thats the only thing you have to do..

Best Regards,

Mahesh

Share
10 |10000 characters needed characters left characters exceeded