How to get href or URI of test script which needs to be added to test case through XML?
'in the below xml I need to specify href and vega:id. Where do I get that?
<?xml version="1.0"?>
<testcase xmlns="http://jazz.net/xmlns/alm/qm/v0.1/">
<title xmlns="http://purl.org/dc/elements/1.1/">TC_01_Create Artifact_103</title>
<description xmlns="http://purl.org/dc/elements/1.1/">Testing the create artifact functionality</description>
<category term="Complexity" value="Complex
<category term="Safety Related" value="Yes
<category term="Type" value="MANUAL
<category term="Type of Testing" value="Functional Testing
<testscript href="TS_03" vega:id =???/>
</testcase>
One answer
Hi Sridhar,
How did you get this xml? Is it obtained via some GET call on any RQM test artifact? It is not clear in your question.
How ever, If you question is regarding modifying an existing test artifact - then you may have to do a PUT on the target test artifact.
The short answer - do a GET on the artifact. Then modify the content of the GET response, and then perform PUT.
Please see the RQM Reportable REST API WIKI (https://jazz.net/wiki/bin/view/Main/RqmApi):