It's all about the answers!

Ask a question

RQM not assigning all available adapters to Test Suite Execution


Michael Caldwell (111) | asked Sep 11, 12:06 p.m.

 Hello,


We have noticed that when we execute a test suite from the RQMExecutionTool and provide the test cell name to pull adapters from, RQM is not always assigning all the adapters in the test cell across all the tests within the test suite.

As an example we executed a test suite containing 20 test cases.  The test cell assigned to the test suite had 13 available adapters.  When we triggered the run via the RQMExecutionTool, only 3 of the 13 adapters were assigned across the 20 tests.

The adapters match the test script type so that shouldn't be the issue.  Any thoughts?

Thanks...

RQM Version 6.0.6

One answer



permanent link
Subhajit Bhuiya (5492) | answered Sep 14, 1:57 a.m.
JAZZ DEVELOPER

 It may happens if other 10 adapters are already reserved by the other user. Please check the reservation for corresponding lab resource.


Comments
Subhajit Bhuiya commented Sep 14, 3:47 a.m.
JAZZ DEVELOPER

Also check the "Preferred machine" for the test script. If you are using command line test script, use shared location instead of resources local to a machine.


Michael Caldwell commented Sep 14, 9:13 a.m.

 Confirmed that no other users reserved the machines. As far as the Preferred machines, all the test machines are setup to have the resources they need for testing on the machines.  We don't want to use a shared network location for resources.


Subhajit Bhuiya commented Sep 15, 4:03 a.m.
JAZZ DEVELOPER

In that case it will run on the preferred machine if available. 


Subhajit Bhuiya commented Sep 15, 6:40 a.m.
JAZZ DEVELOPER

You can do 1 more thing. Copy the same folder structure with the test script in all the machine. From the ETM / RQM web UI, open each test script and clear the "Preferred machine" and save the test script


Michael Caldwell commented Sep 15, 8:55 a.m.

To allow for automation we made sure none of the test scripts have a  Preferred Machine set.  The majority of tests are using the Eggplant Adapter where preferred machines isn't an option.


I guess what I am after is the algorithm RQM uses to determine which machines are available at the start of a test suite execution from the RQMExecutionTool.  We have seen inconsistencies between assigning all the adapters in a test cell to only using a subset and queuing the remainder of the tasks instead of assigning those available adapters in the test cell.

This inconsistency happens on the same set of scripts.

Your answer


Register or to post your answer.