It's all about the answers!

Ask a question

To generate executionresult for new executionworkitem through API


1
1
Ajay Jais (212) | asked Nov 09 '19, 10:54 a.m.
edited Nov 09 '19, 11:01 a.m.

 I am using RQM Utility REST API, I am successfully able to navigate for TestPlan --> Testcase--> workitem.


But the thing is I need to manually move particular entry in Test Cace Execution Record for Newly created Test Plan.
I am not able to see executionresult in executionworkitem xml, until unless its manually moved to in-progress from not run by web login. 

Please suggest, how to generate executionresult  through API in specific executionworkitem.

Below is xml representation of GET respons from executionworkitem

<?xml version="1.0" encoding="UTF-8"?>
<ns2:executionworkitem xmlns:ns2="http://jazz.net/ <wbr> xmlns/alm/qm/v0.1/"

               '

               '

               <ns9:frequency>Once</ns9: <wbr> frequency>

                <ns9:regression>false</ns9: <wbr> regression>

                <ns9:priority

                               <wbr>   ns7:resource="{BaseURL} <wbr> service/com.ibm.rqm. <wbr> integration.service. <wbr> IIntegrationService/process- <wbr> info/XXXXXXX/priority/literal. <wbr> priority.130">literal. <wbr> priority.130</ns9:priority>

                <ns9:weight>100</ns9:weight>

                <ns9:tags />

                <ns2:testcase

                               <wbr>   href="{BASEURL n Project}/testcase/TC_19_XXXX" />

                <ns2:testscript

                               <wbr>   href="{BASEURL n Project}/testscript/TC_19_ <wbr> XXXXX" />

                <ns2:testplan

                               <wbr>   href="{BASEURL n Project}/testplan/urn:com.ibm. <wbr> rqm:testplan:14639" />

                <ns2:configuration

                               <wbr>   href="{BASEURL n Project}/configuration/TE1818" />

                <ns2:currentexecutionresult

                               <wbr>   href="{BASEURL n Project}/executionresult"/>

                <ns2:lastpassedexecutionresult

                               <wbr>   href="{BASEURL n Project}/executionresult"/>

                <ns2:executionresult

                               <wbr>   href="{BASEURL n Project}/executionresult" />

                <ns2:executionresult

                               <wbr>   href="{BASEURL n Project}/executionresult" />

</ns2:executionworkitem>

 

One answer



permanent link
Subhajit Bhuiya (6222) | answered Nov 15 '19, 4:54 a.m.
JAZZ DEVELOPER

 Please use "Rational Quality Manager Execution Tool" to run execution work item from command line interface

Your answer


Register or to post your answer.