SnapshotsSnapshot testing
Snapshot testing
for APIs
Create and compare response snapshots to detect unintended API changes. Perfect for regression testing and change detection.
Create and compare response snapshots
snapshots.yaml
global:
snapshots:
enabled: true
dir: ./__snapshots__
updateSnapshots: false
requests:
- name: Get User Profile
url: https://api.example.com/users/1
snapshot: trueKey Benefits
Why use Snapshots?
Regression Detection
Automatically detect unintended changes in API responses over time.
Easy Updates
Review and update snapshots when intentional changes are made.
Version Control
Store snapshots in version control for team collaboration and history.
Use Cases
Perfect for these scenarios
Regression testing
API contract validation
Change detection
Documentation of expected responses
Ready to try Snapshots?
Get started with curl-runner and unlock powerful snapshots capabilities for your API testing workflow.