Forum Discussion

Alex_Volkov's avatar
Alex_Volkov
Regular Visitor
3 years ago

How to define name for testCycle via API?

Hello,

Please help me to figure out what I'm doing wrong.

 

I'm trying to send automation test results to Zephyr via API. It creates test cycle but it doesn't define name for the cycle which is in test API call.

Here is the curl request I'm using:

curl -v -F "file=@junit_tests.zip" -F testCycle={"name":"Health Check"} -H "Authorization: Bearer ${TOKEN}" $URL

The response is 200, but created test cycle still has default name "Automated Build"
What am I doing wrong? 

 

Thanks.

No RepliesBe the first to reply