How to handle RQM Adapters when using docker to create and destroy my test machine
Hi all,
Plain simple, I need to know how I can go to a DevOps track, when I need a Active RQM connection everytime to send my test to RQM, or connect to my test machine.
Kind Regards,
|
Accepted answer
Hi Ricardo,
I assume that you are running your RQM adapters on the same containers where selenium tests are being executed.
Destroying the container would certainly destroy the adapter setup ( and related configuration files which holds information about Adapter ID ).
But I do not see why you can not connect your tests automatically to new adapters when new containers are deployed via new Adaper ID ( but presumably with same name ).
I assume your problem may be related with how do you have RQM identifying the host container on which adapter is running for your RQM tests.
I think you can consider running your Junit Selenium Adapter with few additional options such as -hostname. This would ensure that your test resource in RQM is identified with this hostname. As long as this name is same for each container, I think you should be able to resolve correct Adapter connecting to run your RQM tests.
You could find more information about such options at - https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.rational.test.qm.doc%2Ftopics%2Ft_run_cmd_line_adapter_2.html. .
Also understanding the RQM Lab Resource may solve your problem. You just would need to define your resource in RQM such that each time container is created, the references to those container in RQM remains same.
I hope I have understood your question correctly and have given you correct pointer to explore in correct direction to solve your problems. If not reply back to this chain.
Ricardo Souza selected this answer as the correct answer
|
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.