0

Without calling the webservice. Is there a testing framework/library to mock the responses? Use a fixture for responses?

PuercoPop
  • 6,707
  • 4
  • 30
  • 40
  • 1
    Here's a simple way to use mock responses http://stackoverflow.com/questions/8788904/what-is-an-easy-way-to-stub-dummy-a-restful-web-service/15243123#15243123 – vokilam Mar 06 '13 at 09:13

2 Answers2

0

You can test your webservices by downloading the Advance Rest Client plug-ins in your chrome browser.

GrIsHu
  • 29,068
  • 10
  • 64
  • 102
0

There are several instrumentation frameworks such as Mercury and Instrumentation.

However, for actual network emulation your best bet would be to use a localhost server, for example with WAMP which would let you run PHP locally and emulate the responses.

Oleg Vaskevich
  • 12,444
  • 6
  • 63
  • 80