1
在拉力更新測試用例最後的判決,我能夠成功地更新我的測試用例的判決,但同時更新使用https://rally1.rallydev.com/slm/webservice/v2.0/testcase/28428199725?key=5d4291cf-XXXX-bb3e-b015f486695f
得到以下錯誤最後判決:如何使用REST API
"Warnings": [
"Ignored JSON element Result.Build during processing of this request.",
"Ignored JSON element Result.LastRun during processing of this request.",
"Ignored JSON element Result.LastVerdict during processing of this request."
我用以下的有效載荷:
{"Result":{"Build":"12.0.0.260", "LastRun":"2015-04-16T19:56:05.000Z", "LastVerdict":"Fail" }}
有人能幫我更新最後的判決嗎?
由於它其實同我用下面的curl命令取得了爲我工作。 ** curl --header「zsessionid:_v1txcplHMCzUNCO7tTvk71u7URzWMhSQI」-H「Content-Type:application/json」-d「{\」TestCaseResult \「:{\」Build \「:\」12.0.0.2 \「,\」TestCase \「:\」/ testcase/8199725 \「,\」Date \「:\」2015-04-14T19:56:05.000Z \「,\」Verdict \「:\」Inconclusive \「}}」https:/ /rally1.rallydev.com/slm/webservice/v2.0/TestCaseResult/create** – Siraj