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

anjaneya 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 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