[Hawkular-dev] Mocking HTTP Server

John Sanda jsanda at redhat.com
Fri Jun 5 10:19:00 EDT 2015


On Jun 5, 2015, at 10:09 AM, Peter Palaga <ppalaga at redhat.com> wrote:
> 
> Hi *,
> 
> it happened today: http://perfcake.org/ - one of the sites we unit-test 
> Pinger against is down and therefore the tests are failing.
> 
> Can anybody recommend a solution for mocking an HTTP Server?

If you want more of an integration test, what about just running an HTTP server in a separate thread?

> 
> http://wiremock.org/ is the first result on Google and I am going to 
> have a look at it.
> 
> Thanks,
> 
> Peter
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev




More information about the hawkular-dev mailing list