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

Stopping running RFT script from RQM web interface

Does anyone have detailed knowledge of the sequence of events involved in stopping a running Rational Functional Tester script from the Rational Quality Manager web interface ? What I assume happens is that the RQM server somehow uses the RFT adapter to send some sort of message or signal to the RFT Java process. What we are seeing is that, having clicked the button in the web interface there is often a lengthy delay before the RFT Java process terminates. Furthermore we've found that simply by introducing sleep() calls into the Java code this allows the RFT Java process to be terminated more quickly in response to clicking stop in the web interface.

0 votes



3 answers

Permanent link
Please see RFT adapter does not handle close event gracefully for start two RFT adapters (78154).

0 votes

Comments

Unfortunately that link doesn't work for (some sort of permissions thing). Is there some other way I can get to it ? 

Apologies, this enhancement is in the RQM private project area.  In essence, the enhancement was rejected since the RFT adapter is owned by the RFT Team.


Permanent link
Hi Paul,

The RFT adapter contacts RQM server after some polling interval (normally 5 sec.) to check, if RQM has any job for it. RQM server never contacts to any adapter.

When you click on the "Stop Run" button in the RQM web UI, RQM generates "Stop Execution" request for the adapter. When adapter next time contacts RQM server, RQM sends the request to the adapter and adapter send the stop request to the RFT tool to stop the ongoing execution. 
So the time required to stop the execution depends on the adapter's polling interval and the network latency.

Hope this is helpful.

Thanks,
Vijay.

0 votes

Comments

  The bit that interests me is the stop request mechanism. The issue we have is neither the polling interval nor network latency - it's entirely independent of that.The running Java code is either stopped or not stopped according to whether we have or do not have sleep() calls in that code.


Permanent link
Hi Paul,
Would elaborate.
Do you have any error message? Or do you want just to stop an RFT script Execution?
Are you saying that you see more Java process than reaquired?
Thx

0 votes

Comments

 I just want to stop the RFT script execution (i.e. the running Java process, there's just the one) by clicking on the Stop Run button in the RQM web interface. That only works if we put sleep() calls in the Java code.


Paul

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: Sep 25 '14, 5:51 a.m.

Question was seen: 5,211 times

Last updated: Nov 07 '14, 4:03 a.m.

Confirmation Cancel Confirm