Medusa is a versatile command-line tool designed for developers working on API services. It provides functionalities to capture, replay, and test API calls, enhancing your workflow and ensuring the stability and performance of your services.
When developing or maintaining APIs, Medusa allows you to capture API calls and their responses. This feature is particularly useful when fixing bugs or adding new features. By preserving the order of calls, you can analyze and compare results, facilitating regression testing and performance analysis.
./medusa -mode proxy
Easily replay the API calls captured by the proxy to validate the correctness and performance of your changes.
./medusa -mode replay
For APIs only available on production machines or within secure networks, Medusa offers a caching mode. By storing API results, you can continue working even without internet connectivity.
./medusa -mode caching
Medusa acts as a proxy and checks if the new output matches the previous one, simplifying the creation of regression tests.
./medusa -mode correctness
Employ Medusa's performance testing capabilities by running multiple workers to replay captured data and obtain a comprehensive performance overview.
./medusa -mode performance -worker 5
Modify API calls by editing the captured log. Tailor the data to your needs, ensuring flexibility in your testing process. ing the tool's capabilities.
Medusa is licensed under the MIT License - see the LICENSE file for details.