Creating a test execution record programmatically
I understand there is no supported way to programmatically START an automated test execution in RQM.(See post: http://jazz.net/forums/viewtopic.php?p=52061#52061 )
Is there a way to programmatically CREATE a test execution record?
If I start / execute an automated test outside of RQM, can I use the REST API to programmatically create an execution record to report the results to RQM when the automation has finished running?
Any help/info on this topic will be appreciated.
Thanks,
Mike
Is there a way to programmatically CREATE a test execution record?
If I start / execute an automated test outside of RQM, can I use the REST API to programmatically create an execution record to report the results to RQM when the automation has finished running?
Any help/info on this topic will be appreciated.
Thanks,
Mike
5 answers
I need to programmatically create a Lab Resource Group within a RQM Project (I'm on RQM 2.0.1)
When I put a LabResourceGroup artifact without specifyng the associated TeamArea I get a java.null.Exception in RQM :
java.lang.NullPointerException
at com.ibm.rational.test.lm.service.integration.jaxb.ResourcegroupPutHandler.extractTeamAreaUUID(ResourcegroupPutHandler.java:114)
at com.ibm.rational.test.lm.service.integration.jaxb.ResourcegroupPutHandler.unmarshal(ResourcegroupPutHandler.java:74)
at com.ibm.rational.test.lm.service.integration.jaxb.ResourcegroupPutHandler.unmarshal(ResourcegroupPutHandler.java:1)
at com.ibm.rqm.integration.handler.AbstractPutHandler.handle(AbstractPutHandler.java:199)
...................)))
It lead me think that I need to specify the TeamArea in the LabResourceGroup.
The problem I have is that the TeamArea is not an artifact I'm able to manage programmatically, I can't find any way to list the actual TeamAreas defined in the Project, get the ID and set it in the LabresourceGroup to be post in the RQM -
Any help?
Thanks in Advance
*piero
When I put a LabResourceGroup artifact without specifyng the associated TeamArea I get a java.null.Exception in RQM :
java.lang.NullPointerException
at com.ibm.rational.test.lm.service.integration.jaxb.ResourcegroupPutHandler.extractTeamAreaUUID(ResourcegroupPutHandler.java:114)
at com.ibm.rational.test.lm.service.integration.jaxb.ResourcegroupPutHandler.unmarshal(ResourcegroupPutHandler.java:74)
at com.ibm.rational.test.lm.service.integration.jaxb.ResourcegroupPutHandler.unmarshal(ResourcegroupPutHandler.java:1)
at com.ibm.rqm.integration.handler.AbstractPutHandler.handle(AbstractPutHandler.java:199)
...................)))
It lead me think that I need to specify the TeamArea in the LabResourceGroup.
The problem I have is that the TeamArea is not an artifact I'm able to manage programmatically, I can't find any way to list the actual TeamAreas defined in the Project, get the ID and set it in the LabresourceGroup to be post in the RQM -
Any help?
Thanks in Advance
*piero
RQM does not have public non-REST APIs. However, you can use the RQM Reportable API. For example, see https://jazz.net/wiki/bin/view/Main/RqmApi#Create.