Rqm RestApi: How to update executionresult?
Hi,
I need to update the state of my executionresults via my C# programm. I use Rest to get all testcases in my testsuite compare them with a list of testcaseid´s to find out which to update, then i get the executionworkitem with the resourceurl and then i filter out the currentexecutionresult. I change the resultstate and now i need to make a put call with the same url and the headers:
accept, content-type and if-match.
When i try this with my browser restclient, it works fine, but when i make the same calls in my C# programm i get error 405 method not allowed when i make the put call.
Please help me!
Emil Cavani
2 answers
Hi Emil,
It appears that your C# program is using the wrong HTTP method. To update a test artifact using the RQM Reportable REST API, you should be using a HTTP PUT method.
You might get some insight by searching through the CLM API Landing Page: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding
It provides a jumping off point to a lot of the API documentation that's out there.