In order to update a test case result in Rally, I am using this payload. The payload works without any issue as long as I can get provide _ref id for the test case. I am able to obtine the _ref id using pyral but wanted to swich over to Rally Rest API as documented here - Rally API.
{
"TestCaseResult": {
"Build": "qa_test",
"Date": curr_time,
"Notes": "any note",
"TestCase": {
"_ref": f"https://rally1.rallydev.com/slm/webservice/v2.0/testcase/{obj_id}",
},
"Verdict": "Pass"
}
}
thanks in advance
I could not find any documentation to obtine ref id for a test case. I have tried using pyral but I am trying to switch over to rest api from Rally