Karate Dojo
AI-powered companion for Karate Framework. Boost your API testing productivity with intelligent chat, automated feature generation, analysis, and a built-in mock server.
Features
AI Agent Chat
Ask anything about Karate Framework — syntax, best practices, debugging, configuration. The agent has a built-in knowledge base with Karate documentation and responds with code examples.
Feature Generator
Generate .feature files automatically from:
- cURL commands — paste a curl and get a full Karate test
- OpenAPI/Swagger specs — generate tests from API contracts
- Plain text descriptions — describe what you want to test
Feature Analyzer
Right-click any .feature file and select "Karate Dojo: Analizar Feature Activo" to get AI-powered suggestions for:
- Missing test scenarios and edge cases
- Weak assertions that could be improved
- Best practice recommendations
Mock Server
Start a local HTTP mock server directly from the extension:
- Records all incoming requests in real-time
- Shows method, URL, headers, body, and cURL for each request
- Export recorded requests as a Karate
.feature file
- Configurable port (default: 9876)
Supported AI Providers
| Provider |
Models |
| Google Gemini |
gemini-2.0-flash, gemini-pro, etc. |
| OpenAI |
gpt-4o, gpt-4o-mini, etc. |
| Anthropic |
claude-sonnet-4-20250514, claude-3-haiku, etc. |
| Ollama |
Any local model (llama3, codellama, etc.) |
Configuration
Open Settings (Ctrl+,) and search for Karate Dojo:
| Setting |
Default |
Description |
karateDojo.provider |
gemini |
AI provider |
karateDojo.apiKey |
— |
API Key for the selected provider |
karateDojo.model |
gemini-2.0-flash |
Model to use |
karateDojo.baseUrl |
— |
Custom URL (for Ollama or proxies) |
karateDojo.mockServerPort |
9876 |
Mock server port |
Getting Started
- Install the extension
- Click the Karate Dojo icon in the activity bar (left sidebar)
- Go to the Settings tab and configure your AI provider and API key
- Start chatting, generating features, or launching the mock server
License
MIT — Created by Felipe Farias A. (LinkedIn)