[closed] How to link test case to requirement using OSLC API
Hi,
I was able to update the requirement link to test case in RM project - means i can see the requirement is validate by the test case in the UI.
I was able to do that using update oslc_rm:validatedBy + rdf:Description in the requirement.
But when i move to the test case Requirement Links it is empty!
I tried to update the test case using the REST API but apparently it is impossible.
How can i do that using OSLC API?
The question has been closed for the following reason: "Other" by rschoon Apr 12 '22, 2:07 a.m.
2 answers
Hi Udi Valer,
You could retry the same steps using REST URLs for RQM artifacts.
Here is a cheat sheet for querying rqm through rest api so try the steps below:
1. Create a testcase resource in the web UI.
2. GET the resource XML using the API.
3. Update a property in the resource XML.
4. PUT the resource XML using the API.
2. GET the resource XML using the API.
3. Update a property in the resource XML.
4. PUT the resource XML using the API.
Let me know how it goes..
Best Regards
Sunil
Comments
Hi Sunil,
I understood from your support that i can't update requirement in test case using REST so i used OSLC.
I'm familiar with REST APi and was able to update test cases but when updated requirement inside test case it wasn't succeed.
Are you sure that i can do it from REST?
Thanks,
Udi
Comments
udi valer
May 24 '17, 2:07 a.m.HI.