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

Query to fetch a build record and associated it to a test execution in RQM

 Hi there,


I am fetching the test cases in RQM using a Perl script:

$l_baseUrl/service/com.ibm.rqm.integration.service.IIntegrationService/resources/$l_prjId/testcase/urn:com.ibm.rqm:testcase:$l_caseNo

That works well.

I am trying to fetch the Build records to generate a test execution record or a test result associated with the corresponding Build, but apparently the fetch does not work:

$l_baseUrl/service/com.ibm.rqm.integration.service.IIntegrationService/resources/$l_prjId/buildRecord/urn:com.ibm.rqm:buildRecord:$l_build

where $l_build is the name of the Build Record created in QM

Could you help me identify what I am missing here?

Thank you

0 votes



One answer

Permanent link

Hi Karim,


You have to provide build id or the build web id for $l_build instead of build name. Also, type should be in lower case i.e buildRecord should be buildrecord.

Example: $l_baseUrl/service/com.ibm.rqm.integration.service.IIntegrationService/resources/$l_prjId/buildrecord/urn:com.ibm.rqm:buildrecord:1 where 1 is the web ID of the build record.

Thanks,
Monika Rajput

0 votes

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
× 10,951

Question asked: Nov 16 '20, 8:20 a.m.

Question was seen: 1,109 times

Last updated: Nov 24 '20, 1:17 a.m.

Confirmation Cancel Confirm