What is Hoverfly?
Hoverfly is a lightweight, open source API simulation tool. Using Hoverfly, you can create realistic simulations of the APIs your application depends on.
- Replace slow, flaky API dependencies with realistic, re-usable simulations
- Simulate network latency, random failures or rate limits to test edge-cases
- Extend and customize with any programming language
- Export, share, edit and import API simulations
- CLI and native language bindings for Java and Python
- REST API
- Lightweight, high-performance, run anywhere
- Apache 2 license
说明:
官方提供了比较全的操作文档,对于我们实际开发使用还是比较方便的,一个方便java 集成的github demo
https://github.com/niklind/hoverfly-examples
http://hoverfly.io/