Forum Discussion

edmund_n's avatar
edmund_n
New Member
10 months ago

Export Robot Framework's xml to Zephyr Scale - customized Test Cycle name.

I want to amend Test Cycle name of Automated Build.

 

I am able to change the test cycle name by command line method from default ''Automated Build''.  This is the curl command:

curl -H "Authorization:???" -F "file=@???.xml;type=application/xml" --form "testCycle={\"name\": \"???\"};type=application/json" https://api.zephyrscale.smartbear.com/v2/automations/executions/junit?projectKey="???"

 

However, the same curl command is unable to execute in Robot Framework.  The error msg:  " {"errorCode":400,"message":"Invalid form-data parameter(testCycle): Unexpected character ('n' (code 110)): was expecting double-quote to start field name\n at [Source: (org.jvnet.mimepull.DataHead$ReadMultiStream); line: 1, column: 3]","status":"Bad Request"}
"

 

Please share if anyone has a solution.  Thanks!

No RepliesBe the first to reply