SimulatingΒΆ

The core of this library is the Hoverfly class, which abstracts away and orchestrates a Hoverfly instance. A flow might be as follows:

final Hoverfly hoverfly = new Hoverfly(config(), SIMULATE);
hoverfly.start();
hoverfly.importSimulation(classpath("simulation.json"))
// do some requests here
hoverfly.stop();