Automations Custom Format
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Automations Custom Format
I'm playing around with the Zephyr Scale API for the purposes of connecting it to automated tests. I've been trying to upload a custom format zip file per the documentation here, but I keep getting the following failure response:
{
"errorCode": 400,
"message": "Malformed zip archive",
"status": "Bad Request"
}
I'm using content-type = multipart/form-data and using Postman as my http agent. Is there any other documentation available about what this zip file is supposed to look like?
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
I faced the same problem when I set the wrong form data parameter name.
To fix this problem, the parameter name should be "file".
https://support.smartbear.com/zephyr-scale-cloud/api-docs/#operation/createCustomExecutions
I hope that could help you.
Best regards.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah ha! Postman was defaulting to a capital F rather than lower case. Changing "File" to "file" solved it.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was not able to see the entire message. But it looks like something regarding the projectKey. Could you please paste here the entire error message?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I made few changes and now I am getting attached error.
I am passing projectKey: "My project Key" and autoCreateTestCases: " true" in the params.
In Body apart from file i am passing testCycle as text and "
