It's all about the answers!

Ask a question

How to run multiple tcerid using the RQM execution tool


Balaji Mandava (11) | asked Feb 29, 7:30 a.m.

 How to execute the multiple tcerids using the RQM execution tool 

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Feb 29, 8:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Please correctly tag your product, in this case ETM/RQM. Provide version information, this should be the norm.
If you ask about stuff that is downloadable or has documentation, consider providing the link.

The documentation is here: https://jazz.net/wiki/bin/view/Main/RQMExecutionTool


You can only provide one tcerid. So what you can do is wrap the call into an application that reads a file and calls the command line for each set of arguments. 

As an example, provide a CSV file, use python to read that, iterate it and call the execution tool for each tcerid with the additional parameters.



Comments
Balaji Mandava commented Feb 29, 8:53 a.m. | edited Feb 29, 9:36 a.m.

 Thanks a lot for providing the answer.


Please do let me know if there is any API to call import the CSV using the command line.


Balaji Mandava commented Feb 29, 8:53 a.m.

  Thanks a lot for providing the answer.


Please do let me know if there is any API to call import the CSV using the command line.


Balaji Mandava commented Feb 29, 8:58 a.m.

 java -Dcom.ibm.team.repository.transport.client.protocol="TLSv1.2" -jar C:\Temp\RQM\RQM-Extras-RQMUrlUtil-4.0.4\RQMUrlUtility.jar -command GET -user %uservar% -password  %userpsswd% -filepath C:\Temp\CT\Testsuiteexecutionrecord.xml -url https://JAZZ:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Automotive+Inverter/suiteexecutionrecord?fields=feed/entry/content/suiteexecutionrecord/(testplan[@href='https://JAZZ:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Automotive+Inverter/testplan/urn:com.ibm.rqm:testplan:%testplanid%']) - I used this to fetch all the tserid's from test plan already. Similarly I am looking to fetch the tcerid's from tserid.


Ralph Schoon commented Feb 29, 9:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I have already answered this. You can only provide arguments for one item in the call you asked about. If you want to execute multiple items, you can do that manually. If that is too tedious, you can write some automation around this and call the application in the automation. 

How you implement that and how you provide the data is up to you and your preferences.

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.