Actual solution:
I have created a volume claim in a Kubernetes cluster where my entire performance test project is stored. I have prepared a TestRun YAML file in which I’m pushing my Docker image created according to these docs. This solution works well.
Proper solution:
I want to run my performance test in a Kubernetes cluster as mentioned in the actual solution. After my performance test is finished, it will generate an HTML report file with results in the handleSummary function. The HTML report will be generated, for example, in the /tmp/ folder in the running Kubernetes pod. Then, I want to run a Python script that will retrieve the HTML reports, parse them, and generate results in a reporting tool.
I would like to receive advice from you if there is a way to push Python, k6 extensions with the Python script to a Docker image and then somehow run the test via the TestRun YAML file. After the test is finished, run a Python script to push the results to the reporting tool.
thank you for your answer. I have prepared solution for pushing real time metrics into InfluxDb.
I want to push aggregated results (obtained from HTML) to ReportPortal.