FAQ
Frequently asked questions about moclojer. Find quick answers to common installation, configuration, and usage questions.
Getting Started
What is moclojer?
How is moclojer different from other mock servers?
Do I need to know Clojure to use moclojer?
Installation
Which installation method should I choose?
I'm getting "Java not found" errors
Can I run moclojer without installing anything?
The installation script fails with permission errors
Configuration
Where should I put my configuration file?
Can I use JSON instead of YAML?
How do I organize large configuration files?
Can I include other files in my configuration?
Template Variables
My template variables show as empty strings
How do I access nested JSON properties?
Can I use template variables in headers?
How do I handle array data?
Why are my numbers showing as strings?
HTTP Methods and Status Codes
Can I use custom HTTP methods?
How do I return different status codes?
Can I return the same endpoint with different status codes?
Performance
How many requests can moclojer handle?
Can I run multiple moclojer instances?
Does moclojer cache responses?
How do I optimize for better performance?
Advanced Features
How do I simulate slow APIs?
Can I simulate authentication?
How do I mock file uploads?
Can I use moclojer with HTTPS?
WebSockets
Do WebSockets work the same as HTTP endpoints?
Can I use template variables in WebSocket responses?
How do I test WebSocket endpoints?
Troubleshooting
Moclojer starts, but I get "connection refused"
My configuration file isn't being loaded
"Port already in use" error
Template variables aren't working
Configuration changes aren't reflected
Integration
Can I use moclojer in my test suite?
How do I integrate with CI/CD pipelines?
Can I generate OpenAPI specs from moclojer configs?
Getting Help
Where can I get more help?
How do I report a bug?
How do I request a feature?
Can I contribute to moclojer?
Last updated
Was this helpful?