It's all about the answers!

Ask a question

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


Karim Andreu (11) | asked Nov 16 '20, 8:20 a.m.

 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

One answer



permanent link
Monika Rajput (2412) | answered Nov 24 '20, 1:17 a.m.

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

Your answer


Register or to post your answer.