How to create aggregated test reports from Cucumber JSON files

Hi,
I am pretty new to this, I have got Elasticsearch, Logstash and Kibana installed and running successfully.

My requirement is, I have a test report generated by Cucumber in JSON format for each run.
I want to create aggregated test reports (graphs and charts) from Cucumber JSON file, something like http://tech.trivago.com/cluecumber-report-plugin/

I need the exact steps in order to create some sample basic report. Here is the JSON test data.

Here is the JSON file on my Gdrive.
https://drive.google.com/open?id=1PBqy4CHHpVqQaxab1sWsOZbqedjM0FPo

I don't see the relationship between Elasticsearch and Cucumber... Is there any?
May be something to ask to Cucumber project?

Correct. But I want to import the Cucumber JSON file into Elasticsearch and create the aggregated test reports in Kibana.

So, I finally wrote a Maven plugin in Java to read the Test Results at Feature, Scenario and Steps level and publish the JSON documents into Elastic Search.

You can write your own scripts to read JSON and send curl commands to elasticsearch to index in it.
You can use Logstash may be as well.
FSCrawler project has an option to send also JSON documents from a folder to Elasticsearch. See https://fscrawler.readthedocs.io/en/fscrawler-2.5/admin/fs/local-fs.html?highlight=json#indexing-json-docs

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.