The kcb.sh script generates a results.json file for every benchmark run. This file contains the input parameters used for Gatling, the resulting output, and metadata to identify the run. The filename includes a timestamp and a UUID, allowing multiple result files to be stored in a single directory for pipeline processing.
Key fields in the JSON include:
uuid: A unique identifier for the run.name: A descriptive name for the run.grafana_input: The timing and input parameters used for Grafana visualization.grafana_output: The resulting metrics/output.system_under_test: Metadata describing the environment (if provided via SUT_DESCRIBE).
{
"uuid": "...",
"name": "...",
"grafana_input": {
"start": "...",
"end": "...",
"input": "..."
},
"grafana_output": "...",
"system_under_test": "..."
}