Rift is designed for those seeking a faster, Mountebank-compatible mock server. With capabilities that boost performance by 2-250x over traditional tools, it seamlessly integrates with existing Mountebank configurations, providing identical behaviors and responses, all while maintaining high throughput for better testing experiences.
Rift is a high-performance mock server designed for HTTP/HTTPS, compatible with Mountebank and built using Rust. It enhances testing by delivering 2-250x better performance compared to traditional solutions, allowing users to utilize existing Mountebank configurations while enjoying significantly faster test execution.
Key Features
-
Mountebank Compatibility: Use the same REST API, configuration files, and behaviors as Mountebank without modifications. This critical compatibility allows seamless integration and migration.
-
Exceptional Performance: Rift boasts remarkable performance improvements:
Feature Mountebank Rift Speedup Simple stubs 1,900 RPS 39,000 RPS 20x faster JSONPath predicates 107 RPS 26,500 RPS 247x faster XPath predicates 169 RPS 28,700 RPS 170x faster Complex predicates 900 RPS 29,300 RPS 32x faster -
Comprehensive Feature Set: Supports various functionalities, including imposters for HTTP/HTTPS mock servers, a wide variety of predicates, responses, behaviors, and proxy modes for recording and replaying requests.
Quick Start
Rift can be run via Docker, allowing for straightforward setup and configuration. Users can create their first imposter with a simple command:
curl -X POST http://localhost:2525/imposters \
-H "Content-Type: application/json" \
-d '{"port": 4545, "protocol": "http", "stubs": [{"predicates": [{"equals": {"path": "/hello"}}], "responses": [{"is": {"statusCode": 200, "body": "Hello, World!"}}]}]}'
It is also possible to load existing Mountebank configuration files seamlessly.
Extensive Documentation
Rift is equipped with comprehensive documentation that covers installation options, configuration guidance, and feature descriptions to facilitate user onboarding and effective use of the tool.
Explore topics such as:
Rift also includes tools for managing mock servers through a Terminal UI, verifying stubs and linting configuration files, further enhancing the user experience.
In summary, Rift offers a robust and efficient solution for developers seeking a high-performance mock server that integrates seamlessly with existing systems while providing exceptional speed and flexibility.
No comments yet.
Sign in to be the first to comment.