Hoverfly Cloud Blog

Explore the latest updates for realistic API simulations

Written by Hoverfly Cloud Team | Mar 17, 2025 1:00:00 PM

We’re excited to announce the latest updates to Hoverfly Cloud, with features designed to empower developers and testers with more robust and realistic API simulations. These enhancements focus on improving data handling, expanding simulation capabilities, and providing powerful templating and validation tools. Let’s dive into the details.

Enhanced data handling and realism


CSV Data - SQL Syntax
Now, you can directly query and manipulate CSV data sources using a streamlined SQL-like syntax. This makes it easier than ever to build simulations that retrieve and manipulate data just as a real back-end might..

 CSV Key-Value Responses
Deliver dynamic, data-driven API responses by leveraging uploaded CSV files. Combine this with conditional logic to create truly intelligent mocks that adapt to various request scenarios. This feature allows you to build simulations that feel alive and responsive.

Persistent Back-End Simulation
Create the illusion of a persistent backend by retrieving and rendering previous request-response pairs from Hoverfly's in-memory journal. This enables you to simulate stateful APIs, where responses depend on previous interactions.

Advanced simulation capabilities

 Webhook Simulation
Simulate asynchronous workflows and delayed responses by triggering HTTP callbacks after a configurable delay. This allows you to test how your application handles webhooks and other asynchronous events.

Synthetic Data
Generate realistic test data on the fly using built-in functions, including the Go-Faker library. This provides over 200 functions for responding with randomised data to enhance realism and ensure data security compliance.

Simulation Variables
Store and reuse values within your simulations using custom variables. This enables you to create complex logic and maintain consistency across your simulation templates by storing faker values for re-use.

Powerful templating and validation

To further enhance your simulation experience, Hoverfly Cloud has added powerful templating and validation tools.

String & Validation
Leverage new functions for string manipulation (join, split, replace) and robust data validation (type checks, regex matching). This allows your simulations to perform validations on incoming request data as a real API might.

Arithmetic Functions
Perform calculations directly within your simulation templates, for example adding up the total of an array of line items on an order. This is particularly useful for simulating APIs that perform calculations on the fly.

JSON Looping
Use the enhanced iteration block to iterate over JSON arrays, simplifying the handling of complex request bodies. This makes it easier to simulate APIs that work with collections of data.

These enhancements to Hoverfly Cloud provide developers and testers with the tools they need to create more realistic and robust API simulations. We encourage you to explore these new features and experience the difference for yourself.

Dive deeper into the updates and API software testing for realistic API simulation and mocking.

View the docs, get in touch and put us to the test with a free trial.