It's all about the answers!

Ask a question

Multiple Command line adapters with same user/pw


Ro Gu (132) | asked Feb 12 '16, 4:09 a.m.
We have set up 3 VM's and put an adapter on each of them with a unique adapterName but the rest of the properties is the same and the same user/pw

now we have the problem that we can't start execution on a SINGLE adapter, even though selecting a specific one in RQM Testscript, but rather it always runs on ALL active adapters

Is this due to the same automation user we have?

Accepted answer


permanent link
Timo Reiss (209512) | answered Feb 15 '16, 4:46 a.m.
If I remember correctly, the reported behaviour is observed, if you copy Config2.ini from machine to machine. AFAIK it is not sufficient to alter only the adapter's name: RQM discerns the adapters based on the unique adapter ID, i..e, I would suggest that you also change the property "rqm.adapterId" to a unique valie

The easiest approach to create a valid adapter ID may be to do an initial call passing all parameters
start{.bat/.sh} -user USER -password PASS -repository https://server/qm -projectArea AREA -adapterName
which automatically creates a valid adapter ID.
Hope that solves your problem. Cheers!
Timo.
Ro Gu selected this answer as the correct answer

Comments
Ro Gu commented Feb 15 '16, 7:52 a.m.

Excellent Timo, thanks that was the cause of the issue!

The config2 file was indeed copied to the other 2 machines (not by me I have to add ;))

kinda dumb but well...

Thanks again

One other answer



permanent link
Donald Nong (14.5k614) | answered Feb 14 '16, 11:08 p.m.
I try to run two adapters on the same machine with only the adapterName being different, and do not have such problem. You may have to look into more details and see what else is shared that may have caused this.

Your answer


Register or 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.