WireMock

Open-source HTTP API mocking for reliable integration tests.

访问官网
WireMock
访问官网

概览

WireMock simulates HTTP services so developers can test applications without depending on live third-party APIs. Define responses for specific requests, simulate errors or slow responses, and verify which requests your application sent. Run it as a standalone server or use it as a Java library in your test suite.