Karate for Go
One syntax.
Test your whole stack.
API tests, browser automation, load tests and mocks.
One native binary. No JVM.
Start here¶
Jump straight to a working example or a core feature.
- Your first test
Start a local mock, make a request, and check the response. - JSON assertions
Match complete responses with schemas, predicates, and fuzzy markers. - Reusable flows
Share login, setup, and helpers with feature calls. - Data-driven tests
Run a scenario for each table row or generated input. - Load thresholds
Set a request rate and fail on latency or errors. - Tests in CI
Run a tagged suite and keep its reports when a job fails.
Explore the documentation¶
Browse by section, from your first request to running gi inside Go.
Get started¶
Install gi and run a working example against a local mock.
Write tests¶
Build requests, validate responses, and work with test data.
Language · Helpers · HTTP, GraphQL and SOAP · Assertions · JSON, XML and data · Calls and configuration
Run tests¶
Select scenarios, run in parallel, and inspect the results.
Command line · Parallel execution · Reports · CI and automation
Test more¶
Reuse feature files under load, stub dependencies, or exercise a browser and messaging services.
Load testing · HTTP mocks · Browser automation · WebSocket, gRPC and Kafka
Use gi from Go¶
Run features in your application or tests, and expose Go helpers to scenarios.
Know the boundaries¶
Check current limits or report a problem with a small reproducer.