Loadrunner cannot sniff traffic of the android emulator while connected on VPN that disconnects network - android-emulator

I'm want to see the traffic sent and received from an app installed on android emulator while being connected to a private VPN
currently i'm using the loadrunner recorder to sniff this traffic of the app on the emulator but i does not show any requests or responses.
on the other hand when i try to record any of the available websites while connected on the vpn on the google chrome the loadrunner capture these traffic normally.
Is there any configurations that should be adjusted on the emulator? as in my opinion that the IP of the emulator is not the same as the one of the VPN.
Is there any configurations that should be adjusted on the emulator?

You need your proxy recorder to be in the same network as your emulator which is generating HTML. Then you can have a "man in the middle" proxy recording of the behavior.
If you emulator is on VPN and the host of your recorder is not, then you are likely out of luck. However, connect your parent OS to the VPN, which is also running VUGEN and the Emulator, then set your emulator to the recording proxy of VUGEN and you are likely golden.

Related

Monitoring Android Apps

I want to monitor some apps trough android emulator and Charles Proxy/Burp Suite/HTTP Toolkit... Although, those apps aren't starting (probably by detecting Charles Proxy etc).
How can I monitor their requests without actually getting blocked? Is there any way to bypass that protection?

Android emulator API level 25 Connect, no Internet

I tried all following tweaks, suggestions but couldn't able get Internet working on Android emulator. Using Android Studio: 3.1.4, emulator: Nexus 5X API 25
My computer has 2 network interfaces LAN, WiFi both are connected to Internet and working on computer.
I made my computer WiFi interface priority high from Network and
Sharing -> Advanced.
I tried launching emulator with following
emulator -avd Nexus_5X_API_25_Play -dns-server 8.8.8.8
Emulator WiFi configuration
Internet worked without setting any DNS setting and only with LAN connection on computer. I just disabled proxy settings in emulator.

Call web service running on Parallels from iPhone connected via USB

I can request a web service running on IIS Express/Parallels from Mac OS with...
http://windows:57239/api/hello
This works fine from the iPhone simulator, but not from an iPhone device connected via USB, when debugging in XCode.
Is it possible to make this work? I would like to debug my API with in-app purchases.
I switched my Parallels instance to Bridged networking mode and let the Wifi's DHCP assign an IP address to it. Then I used this IP address from the iPhone app.
Not entirely satisfying because the IP will vary, but its very cool having an iPhone trigger a break point in Visual Studio running on a virtual instance of Windows.

I'm not able to start working on Fiddler on my Window 7 system?

Please help me start using Fiddler on my Windows 7 system. As I've already done all the settings/changes required for it as per Fiddler's doc.
I wanna connect my Android and iOS device through it.
I believe you'll need to do the following:
make sure your computer and mobile devices are connected to the same network (wifi for example)
on your iOS device, you must enter the proxy address (IP and fiddler proxy port) in the wifi connection settings; should be at the bottom of the wifi connection settings page.
Fiddler can be used to capture traffic from iOS and Android devices.
Briefly:
Connect both devices to the same network, and make the iOS/Android device discoverable
Allow remote devices to connect to Fiddler
Edit the proxy on the Android device to point to Fiddler.
More specific steps are described in the How to: Capture Android Traffic with Fiddler and How To: Capture iOS Traffic with Fiddler Telerik blog posts.

How to connect TWO android devices to a pc via USB

I wrote an app which runs on two android tablets at the same time. The app enables both devices to communicate with a java server which is running on the pc, via WLAN socket communication.
The problem with the WLAN connection is that it doesn't always seem to be reliable. So I wanted to setup a socket communication to the server via USB cables.
My problem no is how to connect TWO android devices to the server via USB cables. I found this tutorial for connecting ONE device to the server via ADB, but I see no possibility using this approach for two devices:
http://www.anothem.net/archives/2010/10/15/android-usb-connection-to-pc/
Has anyone an idea how to solve it? Thanks!
If your tablet is runs ICS or newer Android OS, then it is very likely that it has OTG capable micro-USB socket, and you can add a USB-Ethernet dongle, and then connect the 2 tablets to your PC over ethernet, instead of USB. This, might be the most elegant solution.
Of course, you'd need a switch (or hub) to connect them together. Also note that, not all USB-Ethernet dongles may work out-of-the-box. You might have to experiment with few models, especially the el-cheapo ones to get them to work.