Testing / Karate Framework Interview questions
What is Karate-Gatling integration used for?
Karate's Gatling integration lets existing functional API test scenarios be reused directly for load and performance testing, instead of rewriting the same request logic a second time in a separate performance-testing tool.
The same feature file that verifies an endpoint returns the correct data functionally can be pointed at by a Gatling simulation to run it under load, with many virtual users executing the scenario concurrently while Gatling collects response-time and throughput metrics. This avoids the common problem of functional tests and performance tests silently drifting out of sync because they were written and maintained as two separate scripts against the same API.
More Related questions...