This project is an API Testing Tool that allows users to configure API requests, generate test data, and validate responses. The tool supports MongoDB integration for storing test data and results. It is built using Flask for the backend and a Bootstrap-based frontend.
- Generate random test data (integers, floats, strings, phone numbers, etc.)
- Validate and send API requests
- Store API responses in MongoDB
- Simple UI for easy configuration
- Supports multiple test iterations
- Backend: Flask, Python
- Frontend: HTML, Bootstrap, JavaScript
- Database: MongoDB (optional)
- Libraries:
- Flask
- Pymongo
- Requests
- Random & String (for test data generation)
Ensure you have the following installed:
- Python 3.x
- MongoDB (if using database storage)
- Pip (Python package manager)
- Clone the repository:
git clone https://github.com/palashsiyal7/json-storm.git cd json-storm
- Install dependencies:
pip install -r requirements.txt
- Run the Flask application:
python app.py
- Open the frontend in a browser:
http://127.0.0.1:3000
- Configure MongoDB settings (optional) in the UI.
- Define test data mappings.
- Paste a JSON template for API requests.
- Set API endpoint and iterations.
- Run tests and view responses.
/
- Serves the frontend UI./configure_mongodb
- Configures MongoDB settings./run_test
- Executes API tests.
Feel free to contribute by submitting pull requests or reporting issues on GitHub.
MIT License
Author: Palash