Hello Patrick,
thank you very much for your answer.
Could please specify how could I make use of browsermob in-container proxies in case I use java wrapper?
For your information I am assigning unique port for every ProxyServer I create like this
ProxyServer server = new ProxyServer(UNIQUE_PORT);
server.start();
and because of parallel mode with 10 threads I could have up to 10 active proxies each pointing to its own port.
Selenium nodes that execute tests and proxies are separated physically between different machines, I hope that shouldn't be the problem and could just impact latency of tests.
Finally, the really strange thing going on is that when running tests in parallel mode (multiple proxies at a time each pointing to its own port) I am having problems with empty har files (even after n retries)
though while re-running the same tests in sequential mode (with one proxy at a time)
it works OK without any problems.
Thanks
Vasyl