It's all about the answers!

Ask a question

Can I execute my RQM test suite using RQM REST API?


Mark Tsipershtein (314) | asked Mar 20 '16, 9:50 a.m.
Is there a RQM REST API available to start automation suite (run test suite)? 
This is my suite for example: 
https://rtcmobile.francelab.fr.ibm.com:9443/qm/web/console/Worklight%20RQM#action=com.ibm.rqm.planning.home.actionDispatcher&subAction=viewTestSuite&id=19




Comments
Joao Carusi commented Mar 21 '16, 10:29 a.m.

I'm sorry, I'm not familiar with RQM REST API. I just wanted to make sure you have the following URLs. Did you look for it in:
https://jazz.net/wiki/bin/view/Main/RqmApi
and
https://jazz.net/products/rational-quality-manager/api-doc-4.0/api-files/schemas/qm_xsd/elements/suiteexecutionrecord_1.html

?


Mark Tsipershtein commented Mar 21 '16, 11:01 a.m.
Thanks for the response. I saw these links and i am trying to use RQM-Extras-ExecutionTool-6.0.1 and RQM-Extras-RQMUrlUtil-6.0.1 but without success. 
For example when I am trying to run RQM-Extras-ExecutionTool-6.0.1 according to the example:
java -jar RQMExecutionTool.jar -tserId=19 -projectName="Worklight RQM" -publicURI=https://rtcmobile.francelab.fr.ibm.com:9443/qm -user=my user  -password=my password -suiteStepAdapterIds=61 -exitOnComplete=false


Mark Tsipershtein commented Mar 21 '16, 11:03 a.m.

 I get error:Procesing Command Line arguments for Test Execution

Logging in to the server Attempting to create SSL_TLS context
java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available
Unable to create SSL_TLS context, trying TLS Successfully created an HTTP client
Attempting to create SSL_TLS context java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available Unable to create SSL_TLS context, trying TLS
Connection to RQM Server is established Using project: Worklight RQM alias: Worklight+FVT


Mark Tsipershtein commented Mar 21 '16, 11:03 a.m.

 Server does not support configurations.  No default configuration will be set.

Execute Execution Command 
Procesing input parameters for TestSuite Execution
Building POST parameters for TestSuite Execution
Exception occurred while retrieving TSER . Error: GET [404]<title>Apache Tomcat/7.0.54 - 
NullPointerException


Joao Carusi commented Mar 21 '16, 12:18 p.m. | edited Mar 21 '16, 12:29 p.m.

Accepted answer


permanent link
Joao Carusi (263114) | answered Mar 24 '16, 7:58 a.m.
Hi Mark,

You are running the command correctly, but you must to inform the TSER id.
You are getting this error because you've used the Test Suite id instead.

Thank you
Mark Tsipershtein selected this answer as the correct answer

Comments
Mark Tsipershtein commented Mar 24 '16, 8:03 a.m.

  Yes, this was my issue. Thank you very much for help! 

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.