Forum Discussion

Alex_Volkov's avatar
Regular Visitor
3 years ago

How to define name for testCycle via API?


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 "" -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? 



No RepliesBe the first to reply