E
E
Ekaterina2014-12-25 08:46:10
JavaScript
Ekaterina, 2014-12-25 08:46:10

How to test REST api on the client?

Are there any services (or server libraries/utilities) for generating test results from REST API calls?
Those. I have a client (in JavaScript and Java), but there is no server part yet (it is being cut separately). And it would be desirable to be tested already as with the real server.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel Elizariev, 2014-12-25
@effetto

I use absolutely no libraries just json files that are issued instead of Web Api. Works well without extra libraries. Sometimes I just mock $.ajax and immediately get json from there.

H
haiku, 2014-12-25
@haiku

There is a mockJSON, you can mock api
experiments.mennovanslooten.nl/2010/mockjson
Calls with an ordinary $.ajax wrapper.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question