Simulation
Overview
Hoverfly Cloud manages simulations created by you or your team (for Enterprise account) in one place.
We currently provides 4 convenient ways of creating a simulation:
A simulation is only a configuration file, you use it by importing it into a virtual service.
Key features
Hoverfly simulation supports these commonly used Service Virtualization features:
Strict or loose HTTP request matching based on URL, method, body and header combinations.
Build dynamic response using templating based on handlebarjs.
Simulate different responses to the same request based on the current state of a service (Stateful Simulation).
Add fixed or lognormal delay to the response.
Hoverfly Cloud also provides an easy-to-use Simulation Editor to let you create/edit simulation data without any knowledge of the Hoverfly simulation schema.
The editor gives you auto-completion and suggestions for things like response status code, header names, request matchers and state keys. You can work with the JSON/XML/HTML body using the embedded code editor which provides syntax highlighting and validation. The code editor also supports auto-completion of templating functions, and automatic conversion of encoded body. Batch processing is possible with the global find-and-replace rules.
Last updated