Can you not update the AdapterTask via the API?
One answer
Hi,
Comments
As mentioned in the question I am trying to update the selectedAdapterId attribute. Here is the segment of the xml that is is being updated:
Every so oftent the update works and I see the new adapter in the UI assigned to the task. When it does update, it just sits in a Queued status and never kicks off on the adapter machine. Is there something else I need to change in the adapterTask xml to have RQM "start" the execution on the update adapter Id? Thanks...
I take that back, I am unable to see where the selected adapter id has changed. On one attempt I thought it did, but that doesn't seem to be the case.
I think there is complicated logic of selecting adapters for execution. The adapter should be assigned before the adapter task goes in to queue, so that the required resources (adapter) could be reserved. Unless the resource is reserved it wont be picked up for execution.
Changing the adapter id for a task which is already in queue may result in unstable behavior.
Yeah, what I am attempting here is a workaround for RQM's inability to truly run in a parallel automated fashion. When a test suite execution starts all test cases are pre-assigned adapters rather than assigning them as test cases finish. So we end up having adapters assigned to shorter running tests not doing anything while there is a queue on adapters that had longer running scripts. I was hoping to help with this by monitoring this behavior and reassigning queued tasks to available adapters.