Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[Xray] - How to update existing test-execution using /api/v1/import/execution/cucumber

son.ton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 6, 2019

Let say : I have an existing test-execution with key: KEY-123

I run the cucumber test -> import execution result to KEY-123

I have tried everything but,

/api/v1/import/execution/cucumber
/api/v1/import/execution/cucumber/multipart

It just create a new test-execution on Xray

1 answer

1 vote
son.ton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 6, 2019

I found the solution. 

 

Add the test-execution key on top of your .feature file to have it updated correctly

 

So let say we have Test-Execution key : KEY-123

 Feature file Content: 

@KEY-123
Feature:
Test

@KEY-456 @test
Scenario: Test
Given I perform test

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events