Run
Stoobly Main CLI Commands - Questions & Answers
Getting Started
Q: How do I check the Stoobly agent version?
stoobly-agent --versionQ: How do I get help for any command?
# Main help
stoobly-agent --help
# Command-specific help
stoobly-agent run --help
stoobly-agent record --help
stoobly-agent mock --helpInitializing Stoobly
Q: How do I initialize a new Stoobly context?
Q: What does init create?
Q: When should I run init?
Running the Agent
Q: How do I start Stoobly with both proxy and UI?
Q: How do I run Stoobly in headless mode (proxy only)?
Q: How do I run Stoobly without the proxy (UI only)?
Q: How do I run Stoobly on custom ports?
Q: How do I run Stoobly on a specific host/interface?
Q: How do I run Stoobly in detached/background mode?
Q: How do I enable intercept mode on startup?
Q: How do I set the intercept mode on startup?
Logging and Debugging
Q: How do I increase logging verbosity?
Q: How do I control proxy flow detail output?
Q: How do I enable request logging?
Q: How do I view the intercepted requests log?
SSL/TLS Configuration
Q: How do I specify a custom CA certificates directory?
Q: How do I use custom SSL certificates?
Q: How do I provide a passphrase for encrypted certificates?
Q: How do I disable SSL certificate verification?
Proxy Modes
Q: What proxy modes are available?
Q: How do I set up a reverse proxy?
Q: How do I use an upstream proxy?
Lifecycle Hooks
Q: How do I use lifecycle hooks with the agent?
Mocking and Response Fixtures
Q: How do I use response fixtures for mocking?
Q: How do I serve static files for mocking?
Q: How do I specify origin for fixtures and public directories?
Header Modification
Q: How do I modify request headers?
Quick Record Command
Q: How do I quickly record a single request without starting the agent?
Q: How do I record a request to a scenario?
Q: How do I save recorded response to a file?
Q: How do I format the recorded response output?
Q: How do I record requests with lifecycle hooks?
Quick Mock Command
Q: How do I quickly mock a request without starting the agent?
Q: How do I mock with custom headers?
Q: How do I mock a POST request?
Q: How do I mock with response fixtures?
Q: How do I mock with public directory files?
Q: How do I save mocked response to a file?
Connection Strategy
Q: What connection strategies are available?
Complete Examples
Q: How do I set up a complete development environment?
Q: How do I run Stoobly for API mocking in tests?
Q: How do I run Stoobly in CI/CD?
Environment Variables
Q: How do I enable latency simulation for mocked responses?
Troubleshooting
Q: How do I debug connection issues?
Q: How do I verify the agent is running?
Q: What do I do if ports are already in use?
Quick Reference
Q: What are the essential commands?
Last updated