Quantcast
Channel: hasCode.com
Viewing all articles
Browse latest Browse all 92

Mocking HTTP Interaction with Java, JUnit and MockServer

$
0
0
When writing tests for our software components sometimes we need to mock external services based on the HTTP protocol, might it be a RESTful web-service, an XML-RPC call or a simple GET request to some web-server. In the following short tutorial I’d like to demonstrate how to create a mock HTTP server for testing and [...]

Viewing all articles
Browse latest Browse all 92

Trending Articles