<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Another solution is to use a node.js lib called:<div class="">&nbsp;<a href="https://github.com/basicallydan/interfake" class="">https://github.com/basicallydan/interfake</a></div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">— Mike</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 5 Jun 2015, at 07:13, Artur Dryomov &lt;<a href="mailto:artur.dryomov@gmail.com" class="">artur.dryomov@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra">Hi Peter,</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">OkHttp has one [1], maybe not exactly what you want though.</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Artur.</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">[1]:&nbsp;<a href="https://github.com/square/okhttp/tree/master/mockwebserver" class="">https://github.com/square/okhttp/tree/master/mockwebserver</a></div></div>
_______________________________________________<br class="">hawkular-dev mailing list<br class=""><a href="mailto:hawkular-dev@lists.jboss.org" class="">hawkular-dev@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/hawkular-dev<br class=""></div></blockquote></div><br class=""></div></body></html>