Import Multiple cucumber json results(Multiple feature file result) through single curl command

rgnair April 21, 2020

In my project there is 2 feature files and its generating a single cucmber.json file with two arrays of results for each feature file.I want to post this results to two separate existing execution key through a single curl command.initially i posted the cucumber.json with below curl command and then whole results are posting in one execution key(First feature file mapped key in @feature)even though both the execution keys are present in combined cucumber json file.

Used below command for this

POST /rest/raven/1.0/import/execution/cucumber

Next i splitted this cucmber json to 2 seperate json file suppose json1&json2 for each feature file. i zipped this file to a single folder.

Then i tried with zip file of above Json1&json2 with below bundle command.Its not throwing any messages in curl terminal but no updates in execution  key or anywhere

POST /rest/raven/1.0/import/execution/bundle

can some one advice me on this?

0 answers

Suggest an answer

Log in or Sign up to answer