Reputation: 314
I would like to know if there is anyway to debug the HTTP response with the android emulator. my logs show that the response is not arriving complete to the application and i would like to know if it is the server that does not send the complete response or if my application is not processing the response completely.
I tried hooking up Fiddler and Blurp proxy, it actually works with Blurp proxy but only for HTTP and as you may guess i need it also for HTTPS
Upvotes: 2
Views: 1313
Reputation: 461
You can try out Requestly. It has one click support to connect to Android Emulators which can help you modify the response of the https requests too.
Steps
You might need to trust CA certificate if SSL pinning is enabled for your app.
That's it. Now you can see all your network requests and modify them if needed. Here are the docs for same
Upvotes: 0
Reputation: 111565
See this answer regarding capturing network traffic on the emulator:
Android emulator: How to monitor network traffic?
Upvotes: 1
Reputation: 5107
You can setup TCP/IP Monitor within eclipse. Then point your android emulator to talk to your computer and to the port you setup the monitor to listen on. The monitor will then forward the request to the appropriate host (which you configure when you create the monitor). This works nicely for your problem ;)
Take a look at this
Upvotes: 0