Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,944
Community Members
 
Community Events
165
Community Groups

Exporting Cucumber Tests response is some junk char

Edited

when we are exporting cucumber test case from X-ray cloud using below API

GET /api/v2/export/cucumber

headers["Accept"] = "application/octet-stream"
headers["Content-Type"] = "application/json"
headers["Authorization"] = "Bearer " + token

response return:

PK
]T;  1_OWMC-12.featureFeature: Automation

@TEST_OWMC-12 @TESTSET_OWMC-17
Scenario: Verify content of 1st web browser should display on DP1
When send EP202_35000 message for DU ID "0" and windowOWID "3" with seqID "1"
PK
]T;  1_OWMC-12.featurePK   ?

 

How to remove the junk char and what the data type of the response

1 comment

I don't know if it helps, but the Accept header you set to "octet-stream" asks the server to return a binary response. Why don't you ask for JSON?

Thank you for your response ,let me check with support team

I changed the Accept header  to application/json but still face the issue

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,799 views 37 48
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you