I try to use GET /rest/raven/1.0/export/test endpoint to export my Cucumber scenarios to .feature file. But after successful operation I've got file with incorrect encoding, like:
PK Q«L 1
I call:
curl -u <login>:<password> <serverName>/rest/raven/1.0/export/test?keys=<keys> --output "file1.feature"
Can you please tell me, how can I solve this issue?
Hi Timmy,
Could you provide us
This way we can try to help you solve this issue.
Best regards,
Xpand Add-ons Team
Hi, I've runned into the same problem, have you guys found a fix?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bruno,
Can you open a ticket in our support system or to provide us with
Best regards,
Xray Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, my bad.. it was a zip file i was trying to open as UTF-8.. not an encoding problem.
Cheers, and thanks for your quick response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Even I am getting same error mentioned by Timmy. Here I am attaching the sample Xray Test feature file and response from the post man. what is the issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did anyone find a solution to this issue as I'm experiencing the same problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The output is returned in ZIP format "PK......" so just rename the file from "file1.feature" to "file1.zip" and open it with a zip tool like unzip or other.
If you need further assistance, please open a support ticket.
Best regards,
Xray Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Same issue facing when export the feature file from X-ray cloud using below API
GET /api/v2/export/cucumber
Response:
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 ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.