Hi Niharika, Thanks for referring my blog. I have gone through the information provided by you and if I understood correctly then how you can run two different thread group on two different VMs? (I believe there is no issue with respect to webdriver config element.)
Just for the curiosity purpose — condition which you have mentioned under IF controller, you have used ${__machineIP()}. It will return the IP address of the machine from where you are running test ,not the distributed VM’s IP. Can you please evaluate that expression and checked you got the right IP? Just a guess….
Please provide more information about the problem so I can help you in right direction. Thanks!