Kola/Tool Chain
Kola
Understand how SDK, IntelliJ, Gradle, and Kola DSL files work together in the ApiHug testing flow.
This page explains the operational toolchain behind Kola, not just the DSL syntax.
Use it when you need to understand which moving parts must stay aligned before Kola scenarios can run reliably.
Kola depends on four cooperating layers:
If one of these layers is outdated, the testing flow usually degrades quickly.
Keep the following versions aligned:
For current artifacts:
Service, request, response, entity, and supporting metadata are defined in the proto-driven module.
Kola works best when the scenario DSL files evolve together with the same module that owns the API contract.
The typical entry command is:
./gradlew.bat {proto_module}:kolaTest --stacktrace
This is why Kola is best treated as a toolchain concern, not just a standalone DSL feature.
The IntelliJ plugin helps with:
The plugin is not the execution engine. It improves authoring speed, while Gradle and the SDK still own generation and runtime execution.
Gradle is responsible for:
If your build does not expose the Kola task correctly, the DSL files alone are not enough.
When the SDK, plugin, proto module, and Gradle task stay aligned, Kola becomes a repeatable team workflow for contract-aware testing instead of a one-off local experiment.