RQM: How to use Multiple Command Line Adapters on a single Machine with different/limited resources
Is it possible to model licenses/resources per CmdLineAdpter on a single Machine, where each of the
CmdLineAdapter starts the same program using different arguments (and hence uses different licenses).
Currently, I managed to perform a automatic selection based on the IP address (Machine) only,
but this would require duplicating Machines/VMs.
Any ideas ?
Thanks, Stefan
One answer
We try to accomplish that one test adapter is responsible for tests requiring a dongle-locked library, so these tests must be started at most once.
All other tests can run freely without any licensing limitations in parallel and could use the second test adapter.
I think the problem is that the resources (has dongle or not) are mapped to the machine (or its IP address), not to a particular test adapter instance. So we cannot model two test adapters with different available resources, as the resources are bound to the machine entry.
So the only current way would be to use additional physical machines / VMs to get additional instances of the test adapters on different machines/IP addresses. But that seems heavy-weight for the purpose.
Or is there something we completely miss ...?
All other tests can run freely without any licensing limitations in parallel and could use the second test adapter.
I think the problem is that the resources (has dongle or not) are mapped to the machine (or its IP address), not to a particular test adapter instance. So we cannot model two test adapters with different available resources, as the resources are bound to the machine entry.
So the only current way would be to use additional physical machines / VMs to get additional instances of the test adapters on different machines/IP addresses. But that seems heavy-weight for the purpose.
Or is there something we completely miss ...?
Comments
Don Yang
Jul 05 '16, 12:54 a.m.Hi, Stefan
It is not clear what you mean by "each of the
In my understanding, if there are multiples CLI adapters on one machine, I am able to run all of them(different name and id) and allocate them to different test script/test case and run them at the same time. I am not sure what you by "require duplicating Machines/VMs", please clarify.
Stefan Friedrich
Jul 05 '16, 2:15 a.m.Each automated/remote test script starts a local python interpreter via cmd.exe using the CLI adapter as defined in the section "Use test resources that are local to a test machine": e.g.