Mocking - paulvi/notes GitHub Wiki
Quick research about Mocking HTTP server
Quick research about mocking HTTP server. WireMock seems to better and most commonly used, But we need to say what abd how exactly we are going to test, As sometime Mockito will just do or there are alternative approaches like Betamax (Record & replay HTTP traffic)
WireMock Betamax REST-driver MockServer Moco Spring MockRestServiceServer
https://github.com/tomakehurst/wiremock 500 http://wiremock.org/ WireMock WireMock is a flexible library for stubbing and mocking web services. Unlike general purpose mocking tools it works by creating an actual HTTP server that your code under test can connect to as it would a real web service.
http://www.mock-server.com/ https://github.com/jamesdbloom/mockserver 260
https://github.com/rest-driver/rest-driver 100 Test Driver to test your RESTful services and clients https://github.com/rest-driver/rest-driver/wiki
https://github.com/dreamhead/moco 850 Easy Setup Stub Server
http://freeside.co/betamax/ https://github.com/robfletcher/betamax 222 Record & replay HTTP traffic for simple, reliable tests.
org.springframework.test.web.client.MockRestServiceServer http://docs.spring.io/spring/docs/current/javadoc-api/index.html?org/springframework/test/web/client/package-tree.html
https://code.google.com/p/rest-assured/ by Jayway (PowerMock) Testing and validating REST services in Java is harder than in dynamic languages such as Ruby and Groovy. REST Assured brings the simplicity of using these languages into the Java domain.
old and closed http://stackoverflow.com/questions/393099/mocking-http-server points at WireMock