RPE url to list testcase for a specific testplan and a specific category?
![]()
jay cheng (6●1●8)
| asked Jun 26 '15, 8:56 a.m.
edited Feb 24 '16, 5:33 a.m. by Francesco Chiossi (5.7k●1●11●19) Hello All, I am new to RQM reporting. I want to list the testcase for a specific testplan and a specific category from RQM, what is the url for the data dynamic configuration in RPE? I know for a specific testplan only It can be: https://server:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/PN/testcase?fields=feed/entry/content/testcase[testplan/@href="https://server:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/PN/testplan/urn:com.ibm.rqm:testplan:115"]/(webId | title | description | category | testscript) how about for both testplan and category? Thanks. Jay Cheng
|
2 answers
![]()
> Test Cases filtered by category included in Test Plan
https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase?fields=feed/entry/content/testcase/%28title|description|testcase|category[@term=%27Fase%20de%20Teste%27%20and%20@value=%27Teste%20de%20Integra%C3%A7%C3%A3o%27]|testplan[@href=%27https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testplan/urn:com.ibm.rqm:testplan:3%27]%29
|
![]()
For filtering in RPE, you can either user native filter or scripted filter.
You may refer http://ironsiderational.com/2014/03/filtering-rqm-data-with-rational-publishing-engine/ for RPE's scripted filter. For fields filtering, you may refer https://jazz.net/wiki/bin/view/Main/RqmApi#fields. Regards, Prasad |
Comments
Hi Jay,
I'm researching about this. Here is what I have so far:
> Filter Test Plan by title and category:
https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testplan?fields=feed/entry/content/testplan[title=%27Development%20Test%27]/%28title|description|category[@term=%27Fase%20de%20Teste%27%20and%20@value=%27Teste%20de%20Desenvolvedor%27]%29
> Test Cases included in Test Plan
https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testcase?fields=feed/entry/content/testcase/%28*|testplan[@href=%27https://localhost:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKE+Banking+%28Quality+Management%29/testplan/urn:com.ibm.rqm:testplan:2%27]%29