Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate BrowserMobProxy in production mode as part of infrastructure #7

Closed
vdelendik opened this issue Jan 26, 2018 · 1 comment
Assignees

Comments

@vdelendik
Copy link
Contributor

[BMP intergration]

[There are two possible ways to implement it]:

  1. Embedded proxy (starts in code as Java object etc)
  2. Rest proxy (starts as java process and all interactions are using REST requests)

Overview:
Embedded proxy works much more faster and lots of projects were integrated with enbedded one due to the performance issues with REST.

[LIMITATIONS]

  1. There is no chance to automate process of proxy configuration on device (except of script which navigates using appium, it can be implemented in future I think):
    all existence sollutions are unstable (even for Android);
  2. Devices are pre-configured (proxy is configured manually);
  3. Devices have no access to the i-net due to stopped proxy;
  4. Possible issues in case of lots devices are configured to one host (not sure here, there is an example with ~15 proxies and it works);
  5. Separate pools of devices for proxy (not)based devices: since with proxy it works a bit slower than without.

[IMPLEMENTATION]

  1. Core functionality to start/stop/configure proxy (partly implemented but I'm not sure it work in latest cores, but anyway it should be re-implemented);
  2. Capabilities matcher to filter devices with/without proxy (it can be done a bit later);
  3. Free port resolver: to stop processes in case port is in use;
  4. ...
    bmp-proxy
@vdelendik vdelendik self-assigned this Jan 26, 2018
@vdelendik
Copy link
Contributor Author

feature should be available in selenium-hub 2.9+
carina 5.2.3.67+

proxy_port should be added as appium capability for each device

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant