-
Notifications
You must be signed in to change notification settings - Fork 671
Description
Hi,
I have integrated browsermob-proxy with my protractor tests. This works wonderfully when I run my tests from Mac (against local environment, or any other test environment).
However, when I run my tests from CI (agent is SUSE Enterprise 11.4) - my tests fail. I narrowed down the problem to the following scenario:
On some specific user action in the UI, there are a lot (>100) of requests fired from the browser in parallel (batches). There are a couple of scenarios like this in my application - and the test fails in all these cases.
Here is a screenshot of what the captured HAR file shows (in this case -
The same test works when I run this locally from Mac
Any idea how to fix this? Thank you in advance!
Some more information
I am starting the proxy server using a separate shell script
./browsermob-proxy-2.1.1/bin/browsermob-proxy --port $port --address $hostname &>$bmpLogDir/bmpProxy.log &From my protractor tests - I start capture of the HAR file using this command:
{quote}
....
var captureHeaders = true;
var captureContent = true;
var captureBinaryContent = false;
browser.params.proxy.startHAR(browser.params.proxyData.port, name, captureHeaders, captureContent, captureBinaryContent, done);
{quote}
