I need to generate a file that consolidates all the results of each feature execution?
karate-dsl generates the test results in a JSON file for each of the executed feature files.
I need to generate a file that consolidates all the results of each feature execution?
karate-dsl generates the test results in a JSON file for each of the executed feature files.
Copyright © 2021 Jogjafile Inc.

... so I created a utility that allows me to do it in Java.
I invite you to read the README https://github.com/jesusop/karate-cucumber-xray
The method reads all the json result files generated by karate and unifies them into a single cucumber.json file
You can aslo modify the paths of the files:
Note that upon completion of the tests, you will receive a message like this:
Finally you can use the cucumber.json file and use it for example in the Jira Xray API.