RPE: How do I get to a test script step's associated requirement?
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
Accepted answer
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
You can simply use testscript/steps/step/requirement/summary, which gives the title of the requirement (at the time the link was created). The RPE template becomes simple, but if the requirement title changes, the current title may not be shown in output.
Comments
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
Thank you! The template helps a lot, though it seems to only print the steps that have a requirement linked to them.
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
I have figured out a way to get it to print out all steps. Thank you so much for your help :)
![](http://jazz.net/_images/myphoto/dbe94a27c372fd9d8fa482d274c8da80.jpg)
No. It will print all the execution steps irrespective of whether requirement linked or not. You need to add another Keyword data source, to print steps of type Keyword.
Correct. We use https://server:port/rm/publish/resources?metadata=schema to add "resources" data source schema and https://server:port/rm/publish/text?metadata=schema to add "text" schema.
3 other answers
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
Note that if the RQM data source type is Generic XML, you need to explicitly append ?fields parameter while configuring data source. You can set data source type to REST, if you are using RQM 5.0 or higher.
Comments
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
Do you mean I need a container that says-
![](http://jazz.net/_images/myphoto/dbe94a27c372fd9d8fa482d274c8da80.jpg)
Yes. You need to insert the query to get requirement href.
![](http://jazz.net/_images/myphoto/1afaef0a79ce03293b429fec96574625.jpg)
I would post a picture, but my reputation is not high enough. Do you have a sample template that achieves this goal that I could see? What I have does not seem to be working.
![](http://jazz.net/_images/myphoto/dbe94a27c372fd9d8fa482d274c8da80.jpg)
This is how the template should be designed. Is the DNG artifact of "text" type? If not, you should use "resources".
Also check the data source URI used for document generation. If you are trying test case feed URL, please use
https://server:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKEBanking/testcase?abbreviate=false
Comments
Fariz Saracevic
FORUM MODERATOR / JAZZ DEVELOPER Feb 04 '17, 5:29 p.m.Dylan, can you be a bit more specific? What do you mean under "havin problems" and which template? Is this out of the box or custom template?