RapidFire Lite is a zero-dependency API load tester designed for simplicity and efficiency. Developed in pure Python 3.8+, it allows users to test any HTTP API directly from the terminal without the hassle of installs or configurations. Ideal for air-gapped environments, this tool ensures quick load testing in just a few commands.
RapidFire Lite is an effective and straightforward API load testing tool, built entirely in Python 3.8 and above. With no dependencies, this utility can be executed directly from the terminal, making it highly efficient for testing HTTP APIs under load in a matter of seconds. The simplicity of RapidFire Lite allows it to run without the need for Docker, npm, or complex configuration files.
To run a basic test, use the following command:
python RapidFireAPI_Lite.py --url https://api.example.com --users 10 --duration 30
This command will initiate a test on the specified API URL with 10 concurrent users running for 30 seconds.
RapidFire Lite is compatible with multiple operating systems, including:
Below are some examples of how to use RapidFire Lite for different scenarios:
GET Request for 10 Users:
python RapidFireAPI_Lite.py --url https://api.example.com/endpoint --users 10
POST Request with JSON Body:
python RapidFireAPI_Lite.py \
--url https://api.example.com/login \
--method POST \
--body '{"username":"test","password":"secret"}'
Custom Requests: Easily handle different HTTP methods (GET, POST, PUT, DELETE) by specifying the method flag.
Stopping Tests Early:
Users can abort the test process at any time using Ctrl+C, with a summary of the data collected thus far.
At the end of each test, RapidFire Lite provides a summary report containing valuable insights such as:
RapidFire Lite serves as a robust solution for quick API load testing without any prerequisites. It is well-suited for developers looking to quickly validate API performance without the overhead of complex setups. For more advanced features, consider exploring RapidFire Pro, designed for exhaustive testing needs.
No comments yet.
Sign in to be the first to comment.