Another solution is to use a node.js lib called:
 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@gmail.com> wrote:

Hi Peter,

OkHttp has one [1], maybe not exactly what you want though.

Artur.

_______________________________________________
hawkular-dev mailing list
hawkular-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev