It's all about the answers!

Ask a question

Unable to get the cancelled task status from RQM using Automation Adapter

pankaj mishra (1145) | asked Nov 18 '13, 5:47 a.m.
We have an Automation adapter with RQM 4.0.3 and OSLC REST API 2.0 specification.
we are facing issue while stopping the execution of RQM test case using the "Stop Run" option on Test Case execution window.
Adapter is not able to get the status of the cancelled task from RQM.
We referred the following docs for our references:
Any pointers regarding this issue is highly appreciated.

Thanks & Regards,
Pankaj Mishra

2 answers

permanent link
Antoinette Iacobo (650712) | answered Nov 18 '13, 4:33 p.m.
 Hi Pankaj,

I suggest you run a similar automated execution with the out-of-the-box Command Line Adapter and test the "Stop Run".  If that is working in the similar environment, then you at least know to focus on your customized Adapter code. 

The applicable note I see referenced here for developing one is this: 
27. Now adapter needs to fork a separate thread for execution. Note that it is important to fork another thread which can be stopped if execution has been canceled in Rational Quality manager.

permanent link
Antoinette Iacobo (650712) | answered Nov 18 '13, 4:38 p.m.

I'm not sure if this will help, but you could try turning up the adapter logging level.  This will generate *a lot* of output, so you would only want to turn it on for sparingly, but it may help debug this.  In the file for the adapter, add:

# added for execution

Restart the adapter.  

To stop this extra logging, remove these lines and restart the adapter. 


Your answer

Register or to post your answer.