RQM API :How to link existing testscript with newly created testcase
I am using PUT method to create testcase and link an existing testscript . I am sending below xml with request .
I am able to create testcase on each run but testscript is not getting linked . Please suggest if xml is missing some property ? hope this should be possible .
Thank you in advance .
|
Accepted answer
Hi
which response do you get by your request?
I think testscript is in your case not in namespace ns2. So far as I know it use the namespace: "http://jazz.net/xmlns/alm/qm/v0.1/". Also template shouldn't be in ns2....
In your case ns2 is declared as "http://schema.ibm.com/vega/2008/". Not sure if this is the problem...
regards,
Dani
Khajan Pandey selected this answer as the correct answer
Comments
Khajan Pandey
commented Sep 24 '20, 11:27 a.m.
Hi @Dani ,
Thanks for quick response . I am getting 201 created successful .However testscript is not getting linked . I noticed namespace which you pointed ,i am using ns5 namespace . Any other suggestion would be highly appreciated.
<ns5:testscript href="https://<server>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<id>/testscript/urn:com.ibm.rqm:testscript:1170"/>
Thanks
1
Khajan Pandey
commented Sep 24 '20, 12:43 p.m.
Problem is solved with packaging whole xml body with right namespace .
Thank you for pointers .
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.