Need assistance on updating the Last Result field on Test Case Execution Record as PASSED/FAILED/BLOCKED using Jazz REST API
I need some assistance on updating the Last Result field on Test Case Execution Record as passed/failed/blocked using Jazz REST API.
Usually we will create the Test Plan and Generate the Test case execution records manually, Initial status of Last Result column of Test case execution record is empty when we create the Test Plan, <o:p> </o:p>
then after that we wanted to use the Jazz REST API to update the Last Result Column status of the Test case execution record with passed or failed or blocked.
Have tried to use the some of the Jazz REST APIs but nothing worked.
I am using the following headers while sending GET/PUT Requests => {"Accept": "application/atom+xml"}
RQM Version we are using is 6.0.4 <o:p> </o:p>
Have tried below link but it didn't work:
4 answers
The Owner field is set to the last tester who ran the test. Tested By; Test Plan; Iteration; Test Case; Test Script; Test Data; Build; Weight.
Need assistance on updating the Last Result field on Test Case Execution Record as PASSED/FAILED/BLOCKED using Jazz REST API.
Hi Challa,
Comments
Hi Karthik,
The "last result" column is a query (for the latest test result artifact), and not a field that you can directly update. So if you create a new Test Result artifact for that TCER, it should appear as the "last result" (until you create a new Test Result artifact).
Comments
Thanks for the reply Geoffrey.
https://jazz.net/wiki/bin/view/Main/RQMTestAutomationAdapterAPI is where I'd suggest starting.
Hi Gepffrey, I have started looking into it, am struggling to get the API to create creating a new Test Result artifact for the TCER, it would be great if there is an example how to create a new Test Result artifact for the TCER.
Unfortunately, I have never used the API personally, so cannot give any detailed guidance. If we don't get a response from someone else on the forum, I'll ping a couple of folks on the dev team to see if they have time to respond.
Thanks Geoffrey That would be Great