API Testing
Stoobly API Testing CLI - Questions & Answers
Testing Requests
Q: How do I test a request to validate its response?
stoobly-agent request test "<REQUEST-KEY>"Q: What test strategies are available?
# Diff testing (exact comparison, default)
stoobly-agent request test "<REQUEST-KEY>" --strategy diff
# Contract testing (schema validation)
stoobly-agent request test "<REQUEST-KEY>" --strategy contract
# Fuzzy testing (allows minor variations)
stoobly-agent request test "<REQUEST-KEY>" --strategy fuzzy
# Custom testing (use lifecycle hooks)
stoobly-agent request test "<REQUEST-KEY>" --strategy custom --lifecycle-hooks-path ./test-hooks.pyQ: How do I continue testing even if a test fails?
Q: How do I control which test results are displayed?
Q: How do I filter which properties are tested?
Q: How do I test a request with mock dependencies?
Q: How do I test a request and save the results?
Q: How do I save test results to a specific report?
Q: How do I test with assigned and validated aliases?
Q: How do I batch test multiple requests?
Q: How do I use request commands in a CI/CD pipeline?
Q: How do I integrate request testing with monitoring?
Testing Scenarios
Q: How do I test a scenario to validate responses?
Q: What test strategies are available for scenarios?
Q: How do I continue testing even if a request fails?
Q: How do I control which test results are displayed?
Q: How do I filter which properties are tested?
Q: How do I test a scenario with mock dependencies?
Q: How do I save test results to a report?
Q: How do I save test results?
Environment-Specific Testing
Q: How do I run the same scenario test against different environments?
Q: How do I create environment-specific test scenarios?
CI/CD Integration
Q: How do I use scenario tests in CI/CD pipelines?
Q: How do I generate test reports from scenario tests?
Advanced Testing Operations
Q: How do I chain multiple test scenarios?
Q: How do I conditionally execute test scenarios?
Monitoring and Debugging
Q: How do I debug a failing scenario test?
Q: How do I identify which request in a scenario test is failing?
Q: How do I monitor scenario test health over time?
Last updated