[Hawkular-dev] Mocking HTTP Server

mike thompson mithomps at redhat.com
Fri Jun 5 10:25:58 EDT 2015


Another solution is to use a node.js lib called:
 https://github.com/basicallydan/interfake <https://github.com/basicallydan/interfake>

That works quite well with creating fake responses and statuses (i.e., 404, 500). And you can even script the responses together to simulate a real server with dependent multi-page flows.

— Mike

> On 5 Jun 2015, at 07:13, Artur Dryomov <artur.dryomov at gmail.com> wrote:
> 
> Hi Peter,
> 
> OkHttp has one [1], maybe not exactly what you want though.
> 
> Artur.
> 
> [1]: https://github.com/square/okhttp/tree/master/mockwebserver <https://github.com/square/okhttp/tree/master/mockwebserver>_______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20150605/e18cfa5d/attachment.html 


More information about the hawkular-dev mailing list