3

There many tools for testing REST APIs by mimicking a client, but I need the other side- test my client. I wrote a simple server using Flask, but I was hoping for something that includes builtin logging, scripting and configuration out of the box with no need for coding.

  • 1
    mock-server.com will enable checking how your client reacts to different service responses, including illegal and expected error responses. But it required Java coding. – dzieciou Feb 6 '16 at 14:05
  • You can use Properties files for MockServer to implement it as well. I often use MockServer to do a MITM attack on the SUT using it's proxy capabilities and then verify the data being sent and returned. If you submitted this as an answer I would definitely upvote it. – Paul Muir Mar 7 '16 at 16:31
2

Interfake is another option. You can create HTTP servers from a JSON file or through a straightforward JS API.

0

Have a look at Frisbyjs. It is built on top of node.js and Jasmin suitable for end2ent testing.
I would say easy to config and use.

  • Frisbyjs seems to be what I am not looking for, it's a tool for testing a server's API. I want to test a client that sends requests, not receive them. – Rsf Oct 23 '15 at 9:30
  • 1
    There are a number of tools you can use - searching for "mock api" gives a number of options. There's also jsonplaceholder.typicode.com which is a freely available REST service you can use to test your client. – Kate Paulk Oct 23 '15 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.