Latest commit 51939cd Jan 30, 2017 @swankjesse swankjesse committed on GitHub Merge pull request #2178 from square/jw/2017-01-30/mock-errors
Allow HTTP errors to be created as part of mock behavior.

Mock Web Server

An mock web server for mocking HTTP responses from a server, and simulating network behaviour.


Download the latest JAR or grab via Maven:


or Gradle:

compile 'com.squareup.retrofit2:retrofit-mock:see.latest.version'

Snapshots of the development version are available in Sonatype's snapshots repository.