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

How to get Test suite assocuated testcases, execution records, current verdict and Test Results using RPE

Hi,

Am trying to generate the report like it should contain Test Suite, associated Test Case, test case's test execution record, current verdict and test result using RPE. I have used Testsuitelog API but not getting the testcase details.
Can you please help me on this as how to achieve this using RPE.


0 votes



One answer

Permanent link
Please check for Filtering Properties in https://jazz.net/wiki/bin/view/Main/RqmApi.
You can start with testcase feed url (that lists all testcases), filter by /testsuite/@href to get test cases in the suite. You need to use Data Source Configuration element in RPE for each resource type. Similarly, you should get execution result with status.

0 votes

Comments

Hi Prasad,

Am able to get the testsuite but when i used DSC for tescases not getting desired output.
This is what i did,
Created two schemas 1. Testsuite 2. Testcases.
Build the URI for Testcases using filters but not getting expected output.
Can you please let me know what would be the causes?

Note that if you have set the data source schema type (while adding the schema) as "Generic XML", you need to append the fields which need to be retrieved to the URL. This is not needed if the type is set to "REST" as RPE will construct the request URL with all fields used in the template.

Hi Prasad,

Thanks for the help. I was used Genric XML as schema.Now changed to REST and  am able to get the test suite and associated testcases perfectly however am not able to get the testcase execution records. Could you please let me know which query and property should be used to get test case execution record, current result and test case results. Am not able to identify the exact query for this. thanks a lot again.


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

Question asked: Dec 08 '16, 11:33 p.m.

Question was seen: 1,860 times

Last updated: Dec 20 '16, 1:05 p.m.

Confirmation Cancel Confirm