Forums

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

Some of the BDD test cases are not getting imported when I run the Azure pipeline

anjaneya
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!
December 5, 2022

I have archived all the feature files in to a zip archive file and later running the Azure pipeline to import all the BDD test cases.
We are using the XRAY rest APIs in the curl command to import test cases.
Some of the BDD test cases are not getting imported when I run the Azure pipeline.

1 answer

0 votes
anjaneya
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!
December 5, 2022

I'm using using curl command in azure pipeline for importing the test cases.

response=$(curl -i -v -H "Content-Type: multipart/form-data" -X POST -H "Authorization: Bearer ${token}" -F file=@"Features.zip" https://xray.cloud.getxray.app/api/v2/import/feature?projectKey=$(project_key))

Suggest an answer

Log in or Sign up to answer