Forum Discussion

boddupallyanji's avatar
boddupallyanji
New Contributor
2 years ago

Uploading Junit reports to Zephyr Data Center

Hi, I am running below curl command to publish Junit reports but its not successful.
Note: I compressed all xml files into a zip file.

Curl Command:
curl --location 'https://<my_company_jira_server_url>/jira/rest/atm/1.0/automation/execution/<projectKey>?autoCreateTestCases=true' -H "Authorization: Bearer <sometoken>" -F "file=@anji.zip;type=application/x-zip-compressed"

Output:
{"errorMessages":["Invalid ZIP file"]}%

  • jochimvd's avatar
    jochimvd
    New Contributor

    Hi,

    Were you able to solve this issue. I encounter a similar one

    Output:
    {"errorMessages":["Invalid ZIP file"]}%