https://github.com/eddyseed/openapi-testing-tool
OpenAPI Testing Tool – Automatically generates test cases for your APIs using a local Ollama model. Streamline API validation, reduce manual testing, and integrate seamlessly with your development workflow.
https://github.com/eddyseed/openapi-testing-tool
axios clsx-npm express-js js-yaml lucide-react monaco-code-editor multer-fileupload openapi-spec react-hooks react-hot-toast react-table-v8 reactjs shadcn-ui socket-io tailwindcss-v4 vite winston-logger xterm-js zod-validation
Last synced: 5 months ago
JSON representation
OpenAPI Testing Tool – Automatically generates test cases for your APIs using a local Ollama model. Streamline API validation, reduce manual testing, and integrate seamlessly with your development workflow.
- Host: GitHub
- URL: https://github.com/eddyseed/openapi-testing-tool
- Owner: eddyseed
- Created: 2025-08-21T12:49:26.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-10-03T18:46:34.000Z (5 months ago)
- Last Synced: 2025-10-03T20:36:03.210Z (5 months ago)
- Topics: axios, clsx-npm, express-js, js-yaml, lucide-react, monaco-code-editor, multer-fileupload, openapi-spec, react-hooks, react-hot-toast, react-table-v8, reactjs, shadcn-ui, socket-io, tailwindcss-v4, vite, winston-logger, xterm-js, zod-validation
- Language: TypeScript
- Homepage:
- Size: 446 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## OpenAPI Testing Tool
Automatically generate comprehensive API test cases from your OpenAPI specification using a local Ollama model. This tool simplifies API validation, reduces manual effort, and integrates seamlessly into your development workflow.
For learning more about OpenAPI Specifications: https://spec.openapis.org/oas/v3.1.0.html#openapi-specification
### Features
- **OpenAPI Integration** - Parses your API specification to understand endpoints and schemas.
- **Local Ollama Model** - Uses a locally hosted LLM for generating intelligent test cases.
- **Automated Test Generation** - Quickly produces unit/integration tests for endpoints.
- **User Friendly Interface** - View the snapshots of the application below
- **Fast & Secure** - No external API calls; all processing happens locally.
### Prequisities
- Node.js `v22.12.0` or higher (Important)
- npm or yarn
- Ollama installed locally (https://ollama.com/download)
- Your OpenAPI specification file (`openapi.yaml` or .json)
## 🛠 Installation Steps
1. Clone the Repository
```shell
git clone git@github.com:eddyseed/OpenAPI-Testing-Tool.git
cd OpenAPI-Testing-Tool/
```
2. Install Dependencies (For both Frontend & Backend)
```shell
npm install
```
3. Verify Ollama Installation
```shell
ollama list
```
Ensure your desired model (e.g., `phi3:mini`) is available.
4. Edit your `.env.sample` in `backend/`
```env
# All variables should be changed according to the development requirements.
PORT=3000
NODE_ENV=development
LOCAL_HOST=http://localhost:3000
CORS_ORIGIN=http://localhost:5173
OLLAMA_HOST=http://localhost:11434
#Set your own local model name
MODEL_NAME=your_model_name
```
> For getting a list of all models do `ollama list`
## Screenshots