Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to abort RQM execution automatically

Hello,

I'm using RQM execution tool to execute test suites in RQM, but I want to abort execution automatically - aborting the process of RQM execution tool is not enough (ABORT=ps axf | grep '[j]ava -jar RQMExecutionTool.jar' | grep -v grep | awk '{print "kill -9 " $1}' | sh).
it's not enough cause I still see the script that was ran from the test script running in the background and the execution still in progress in RQM web.
how do I automatically (REST API etc) terminate an execution properly?
please help!

1 vote

Comments

Is it automatically or programmatically? If the test script is still running, how do you determine you should end it? I suppose you should receive some signals or messages from the script already?

I meant programmatically..

I thought that once I end the RQM execution tool, it will stop all executions (test scripts) that started from it as if the execution Failed\Passed. the same that happens once you manually cancel a run in RQM web.
aborting the automation that started the execution in the first place doesn't send a TERM signal to the running script, so I was wondering if there is a way of programatically end an an execution in RQM. (REST API call etc.)



One answer

Permanent link

Unfortunately, there is no way to terminate the execution programmatically.  Please open a RQM enhancement for this feature.

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 02 '17, 5:18 a.m.

Question was seen: 2,190 times

Last updated: Dec 01 '17, 7:38 a.m.

Confirmation Cancel Confirm