momus-diff
Regression/diff testing — compare API responses between environments.
What is this?
momus-diff runs the same test plan against two environments (e.g. staging vs production, or v1 vs v2) and reports differences in responses. It detects body changes, new or missing fields, status code changes, and header differences — making it ideal for regression testing and API migration validation.
Key Features
- Multi-Environment Comparison — run the same plan against baseline and target URLs
- Body Diff — detect added, removed, and modified fields in JSON responses
- Status Code Changes — flag endpoints where status codes differ between environments
- Header Differences — compare response headers between environments
- Structured Reports — per-endpoint diff summaries with field-level granularity
Usage
use ;
use TestPlan;
async
Part of the Momus project — a generic API test harness with a composable assertion AST.