How can we use BMP with Appium

495 views
Skip to first unread message

sunny sachdeva

unread,
Oct 13, 2015, 3:00:20 AM10/13/15
to BrowserMob Proxy
HI All,

I want to capture calls from a hybrid iOS app. Currently I am using Simulator and then would migrate to real iOS device.

Is it possible to use BMP to record all the response/request made by an hybrid app(simulator/real device), If So then can anyone help me how to configure the simulator/real device.

Thanks
Sunny Sachdeva

Krishnan Mahadevan

unread,
Oct 13, 2015, 3:12:27 AM10/13/15
to browserm...@googlegroups.com
Sunny,

Doesn't setting up the proxy information via the Capabilities object not work for you ?
Setting up the proxy for an app should be no different from how you would go about setting proxy for a web browser.

So the instructions detailed in https://github.com/lightbody/browsermob-proxy/#using-with-selenium should work for apps as well.


Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--

---
You received this message because you are subscribed to the Google Groups "BrowserMob Proxy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to browsermob-pro...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Salem Artin

unread,
Nov 9, 2015, 6:48:24 AM11/9/15
to BrowserMob Proxy
I don't believe it is possible to use the proxy capability in Appium the same way it can be used in Selenium. Check this: https://github.com/appium/appium/issues/4968

sunny sachdeva

unread,
Nov 12, 2015, 2:19:30 AM11/12/15
to BrowserMob Proxy
using ios Simulator, har file is generated but no proxy was recorded
Reply all
Reply to author
Forward
0 new messages