It's all about the answers!

Ask a question

RQM automation suite stuck after RTC/RQM server restart


Mark Tsipershtein (34) | asked Nov 12 '15, 5:02 a.m.
 My environment: RQM 5.0.2. command line client: com.ibm.rqm.integration.client_6.0.0.v20150505_1906

Scenario:
1. Scheduler starts automation suite.
2. RTC/RQM server restarted in the middle of the run.
3. RQM command line client get error:ERROR com.ibm.rqm.adapter.commandline                    - "Failed to log an execution complete with the server: "Failed to send data ... (all logs and files here: https://ibm.box.com/s/letgy7fd2bqyhkb5tm9c0tvpx9vyz0z9)
4. All automation suites stuck and the only way to resolve this issue is to stop them manually. (RQMConsole1.jpg file you can find https://ibm.box.com/s/letgy7fd2bqyhkb5tm9c0tvpx9vyz0z9)

Automation suite example: https://rtcmobile.francelab.fr.ibm.com:9443/qm/web/console/Worklight%20RQM#action=com.ibm.rqm.planning.home.actionDispatcher&subAction=viewTestSuite&id=59

Questions:
1. Can I set timeout for RQM suite?
2. Can I set parameter to RQM command line adapter to restart connection with RQM web client automatically.

One answer



permanent link
Subhajit Bhuiya (3941) | answered Nov 24 '15, 6:24 a.m.
JAZZ DEVELOPER
You can pause a test suite run. Pausing takes time. Once the suite execution is paused, then you can restart your server. After the server resarts, you can resume your suite execution. If you restart your server in between, adapter will not be able to send the result to the qm server and as a result next execution request will not be created.

Comments
Mark Tsipershtein commented Nov 24 '15, 7:01 a.m. | edited Nov 24 '15, 7:02 a.m.

 Thanks for the answer. The main issue here is to close or pause the run automatically and not manually. We are talking about automation nightly runs from schedulers. We need solution that can stop the run in RQM Web client automatically after timeout. 


The automation suite can fail if there was network issues, it's ok, but this suite should not stuck, it should be terminated. 
When the suite stucks the next run stucks too etc.

How can we set timeout, or terminate the suite automatically during the nightly run, if the connection between the RQM command line client and RQM Web was lost.

Your answer


Register or to post your answer.