momus-cli-0.6.2 is not a library.
momus-cli
Momus API test harness — CLI runner.
What is this?
momus-cli is the command-line binary for the Momus API test harness. It provides a unified interface to all Momus capabilities: running and validating test plans, starting a mock server, load testing, fuzzing, chaos engineering, contract testing, security scanning, diff testing, and converting API descriptions into test plans.
Commands
Usage: momus <COMMAND>
Commands:
run Run a test plan from a JSON file
validate Validate a test plan JSON file
mock Start a mock server for testing
bench Load test a plan (steady, max-throughput, or soak)
fuzz Fuzz test a plan with payload mutations
chaos Run chaos experiments against a plan
convert Convert an API description into a test plan
contract Validate API responses against an OpenAPI/GraphQL spec
guard Security scan a plan for common vulnerabilities
diff Diff responses between two environments
momus run
# Run with default output directory
# Override base URL
# Generate HTML report
momus validate
# ✓ Valid test plan: 'health check'
# Total tests: 3
# Steps: 1
momus mock
# Momus mock server listening on http://127.0.0.1:8091
momus bench
# Steady load: 50 concurrent users for 60 seconds
# Generate HTML report
momus fuzz
# Generate 5000 mutations
momus chaos
# Run chaos experiments
momus convert
# Convert a cURL command into a test plan
# Convert a HAR file into a test plan
# Convert an OpenAPI spec into a test plan
# Convert a Postman collection into a test plan
# Convert a GraphQL schema into a test plan
# Convert a gRPC proto into a test plan
# Convert a FHIR IG package into a test plan
momus contract
# Validate responses against an OpenAPI spec
momus guard
# Security scan a plan
momus diff
# Diff responses between two environments
Part of the Momus project — a generic API test harness with a composable assertion AST.