Not able to save Testscript in RQM 4.0 from C# code
Hi, I am able to save testscript in my Sandbox for RQM2.0 but wtih same code not able to save it in RQM4.0
1) URL for 2.0 : https://adtjazz3052.accenture.com:443//jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/SANDBOX/testscript Project Name : SANDBOX 2) URL for 4.0 : Project Name : Sandbox-CLM-General(QM5.0) Let me know, Is anything wrong here. After saving on 2.0 when i do "HTTPWEBRequest.GetResoponse()", i got unique id appended to URL. But in 4.0 no it run succesfully with no error and i can not see my script get save in RQM 4.0.
Thanks, Nilesh B
|
2 answers
You are using the RQM Reportable REST API URL (remove /web/console/jazz/). See https://jazz.net/wiki/bin/view/Main/RqmApi#resourceUrl_for_interaction_with.
Comments
Nilesh Bawalekar
commented Jun 18 '14, 8:46 a.m.
Hi Paul, I removed /web/console/jazz/ from my URL, i am getting "The remote server returned an error: (404) Not Found." Please post the exact URL you are using.
Nilesh Bawalekar
commented Jun 19 '14, 12:10 a.m.
Nilesh Bawalekar
commented Jun 19 '14, 4:42 a.m.
I removed /web/console/jazz/ from above URL and use below URL to Post my script, and got error as "The remote server returned an error: (404) Not Found." Your last URL is correct. Does the Sandbox-CLM-General(QM5.0) project area exist or the project area alias incorrect (see https://jazz.net/wiki/bin/view/Main/RqmApi#projectAlias)?
Nilesh Bawalekar
commented Jun 20 '14, 12:18 a.m.
Hi Paul, Given Project has correct name and with same alias. I use it for login also. URL login for given project is :
https://wegsfes29277clm3.accenture.com/qm/web/console/Sandbox-CLM-General(QM5.0) When i use below url to post my script: I get 302 as return value.
Nilesh Bawalekar
commented Jun 23 '14, 3:28 a.m.
I am using Poster now : For RQM 4.0 my URL to get testscript deatils is as below :
and i got response is as : Status : 200 OK with content type in text/html; which is not proper result set. but when i use Poster for RQM 2.0, its giving correct result in XML format.
as content type : application/xml;charset=UTF-8
You are using the wrong URL (see https://jazz.net/wiki/bin/view/Main/RqmApi#resourceUrl_for_interaction_with).
Nilesh Bawalekar
commented Jun 25 '14, 1:07 a.m.
Hi Paul,
To understand how to use an API, like the RQM Reportable REST API, you MUST read the API documentation. Please read the RQM Reportable REST API documentation at https://jazz.net/wiki/bin/view/Main/RqmApi. You are still using the wrong URL.
Nilesh Bawalekar
commented Jun 26 '14, 12:29 a.m.
The correct URL format is:
showing 5 of 13
show 8 more comments
|
Finally i got the solution, RQM integration team gave me contextID to use in the given URL instead of Project Area name. Thanks for your help Paul.
|
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.
Comments
https://wegsfes29277clm3.accenture.com/qm/web/console/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Sandbox-CLM-General(QM5.0)/testscript URL for 4.0 by mistake i add '//'.