Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to extract all testcase IDs along with custom fields associated with respective testcases using REST Api ?

I want to extract all test case ids and their corresponding custom field( in my case , it is Defect ID) using Rest API

0 votes



2 answers

Permanent link

Chaitali,


Please refer Rational Quality Manager Reportable REST API for detailed documentation. Even RQM URL Utility could be helpful to retrieve test case ids and related attributes.

Regards,
Mehul

0 votes

Comments

Hi Mehul,
I tried using RQM URL utility , but when I try to hit URL like : https://<server>:<port>/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectalias>/testcase?fields=feed/entry/content/testcase/(webId|testplan[@href=<url>])

I got error like this
'testplan[@href' is not recognized as an internal or external command,
operable program or batch file.

Also I tried to hit same URL using Postman REST Client : I got 200 Status code but in response , I am getting "Javascript is either disabled or not available in your Browser", I am not able to login to application using Postman client.

Chailtali,


It seems like you need to clear the authentication while using Poster, are you getting response header 'X-com-ibm-team-repository-web-auth-msg' as 'authrequired'? Or check if you are using the required header as explained in Rational Quality Manager Reportable REST API. I found some web article, check if that helps.

Regards,
Mehul

Hi Mehul ,
I can now hit the URL using POSTMAN successfully , but now I have two different URL to achieve my expected output , output of first URL will be input for second one, for the same purpose I am trying to write a script in node js using Request Module , but then I'm getting : Unable to verify first certificate error ...

I have already tried all possible solutions that are available on internet , is there any specific SSL Setting requires for RQM?


Permanent link

Chaitali,


That error doesn't look specific to RQM unless you have set something specific to your infrastructure, I suggest to check qm.log and get in touch with support if it has some more diagnostic data related to this error.

Regards,
Mehul

0 votes

Comments

Okay Thanks Mehul.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,025

Question asked: Jan 01 '18, 4:29 a.m.

Question was seen: 2,085 times

Last updated: Jan 04 '18, 9:05 a.m.

Related questions
Confirmation Cancel Confirm