I am able to trigger the XRay export/cucumber REST endpoint to export a feature file via Postman. The feature file is fully exported however there are some spurious characters before the body payload and after it:-
The characters are in the form :-
PKFQ ..�
etc.
Has anyone seen this before as it is generating a feature file for me that cucumber can't parse?
Hi Justin,
The result of exporting to Cucumber is a ZIP file.
What you're seeing is not caused by the wrong encoding, you need to unzip the file to get the feature file(s).
When importing use this:
curl --request GET --url 'https://xray.cloud.xpand-it.com/api/v1/export/cucumber?keys=XXX-0000' --headers 'Accept-Encoding: UTF-8' --header "Authorization: Bearer ${token}" --header 'Cache-Control: no-cache' --header 'Content-Type: application/json' --output
XXX-0000.zip
Any other question please contact us through our support portal.
Best regards,
Xray Team
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.