It's all about the answers!

Ask a question

Inconsistent data returned for RM resource in Validated By links content title field based on whether logged in or not to RQM


michele choban (1644) | asked Jan 13 '15, 12:46 p.m.
edited Jan 13 '15, 12:51 p.m.

Environment: 

  • RM and RQM on different servers
  • Validated By links were created to base artifact (core)
  • RM 5.0.1 iFix003 

Scenario: 

1. Log in to RM application

2. Open a Module

3. Add Validated By column

4. Include links, tags and comments from base artifact

Below is what appears in displayed in the Validated By column PRIOR to logging into RQM

757: New Requirement [3]
 https://server:port/qm/oslc_qm/contexts/_IsDfkZ83EeO1NtKwis5dgw/resources/com.ibm.rqm.planning.VersionedTestCase/_70RxsUplEeSoc40q3Q1JMQ

Item 1:  linked Test Script [Step] (First item displayed) in Validated By column - You can see ID: Name[step

Item 2:  linked Test Case (Second item displayed) in Validated By column -data that shows in relation field in the resource schema when viewing

5. Run an RPE report to display the Title of the Validated By links.

Only Test Script [Step] is shown in Validated By output, not the test case title

6. Verify Data source XML:  Put resource in browser to view data:  https://servername:port/rm/publish/resources?resourceURI=_xxxxxxxxxxxxxxxxxxx (core id, not id of resource when viewing in Module)

Test Script title [Step] is shown in title field as shown above

Nothing is shown in title field for test case link

7. LOG INTO RQM

8. Run an RPE report to display the Title of the Validated By links.

ampersand+nbsp; is displayed where Test Script [Step] was previously shown

Test Case title now appears

9. Verify Data source XML: Put resource in browser to view data: https://servername:port/rm/publish/resources?resourceURI=_xxxxxxxxxxxxxxxxxxx (core id, not id of resource when viewing in Module)

Only ampersand+nbsp; is in the title field where the Test Script title was previously displayed

Test Case title is now displayed in the title field

Issue:  The XML file for data source (https://servername:port/rm/publish/resources?resourceURI=_xxxxxxxxxxxxxxxxxxx) displays different results for Validated By links of a resource based on whether user is logged into RQM or not.  This results in inconsistencies in report output based on whether user is logged into both applications (RM & RQM) or not when running the report on the RM application. 

Not sure how to resolve this issue and allow the report to be run on RM application and show the correct data (BOTH links).  I would think BOTH the test script [step] title AND the test case title (since both appear to be linked in the Validated By links) should be available in the XML for the data source on the DNG side without having to go to RQM to report on this information.

Any assistance to get correct title information from DNG-side for BOTH links in the data returned from the resource.

Also posted on RPE Devworks forum:  https://www.ibm.com/developerworks/community/forums/html/topic?id=2b0ddf88-b0eb-4bd3-b7c0-75ec59838c4b&ps=25


Comments
Donald Nong commented Jan 13 '15, 11:27 p.m.

Out of curiosity, how can you link a test script to a requirement artifact? Also, the data source the you verified should not be any different to what you saw in RPE. You may try to check the OSLC presentation of the requirement artifact using a OSLC/REST client, and you should see two "nodes" there.
https://servername:port/rm/resources/_xxxxxxxxxxxxxxxxxxx
See the below article for more details.
https://jazz.net/library/article/1197


michele choban commented Jan 14 '15, 12:51 p.m.

"...how can you link a test script to a requirement artifact?"  Requirements were linked to a Test Script Step in RQM and in DNG is illustrated by the "757: New Requirement [3]".  When a user hovers over the link it says it is of type test script.

One answer



permanent link
michele choban (1644) | answered Feb 24 '15, 8:23 a.m.
Refer to article at:  https://jazz.net/library/article/1241.  I no longer get the TC title info that is stored on the DNG side, I traverse the OSLC link stored in the relation field in DNG via the OSLC schema and then go to the REST API.  It was the OSLC schema hop that was missing.

Your answer


Register or 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.