Charles proxy does not show traffic for a particular build - charles-proxy

My Charles Proxy does not show traffic when I point my app to Prod. It shows traffic when I point to the Test Environment, which implies that I have the Charles set correctly. I tried all the Android devices and iPhone but nothing worked. I removed all filters in SSL Proxy Settings and tried . , but it did not work. The Charles SSL Proxy Settings are as the rest of my team, who can see traffic when pointing to the Prod Environment.

Related

Unable to record ios mobile app on Jmeter

I want to perform load test of ios mobile app using Jmeter but I am facing issues in configuring my mobile phone. I have installed Jmeter and added recording template in it and set the port no of HTTP Test script recorder to 8888. I have also installed and trusted the certificate in my mobile device and set the proxy settings of my device by giving IP and port no. But after setting proxy I am unable to access the internet. Apps as well as other websites on chrome etc stops working due to loss of internet and when I remove proxy it starts working fine.
It's hard to say what is wrong without seeing jmeter.log file preferably with debug logging enabled for the proxy components, it can be done by adding the next line to log4j2.xml file (it's located in JMeter's "bin" folder)
<Logger name="org.apache.jmeter.protocol.http.proxy" level="debug" />
A "blind shot": in order to provide Internet access to the iOS device JMeter must have Internet access itself. Try adding a Thread Group and a HTTP Request sampler manually pointing to some site in the Internet which works for sure, i.e. http://example.com may be a good choice. Then add a View Results Tree listener and run the test. If the test fails it means that JMeter cannot access internet and most probably you need to configure it to use your corporate or ISP proxy
If the test is successful - look into the log files for JMeter and iOS and try to figure out the cause of the problem from them. If you fail to do this yourself - either update this thread with your configuration details and log files or ask a new question

Loopback enabled UWP app successfully reach localhost service only when Fiddler is running

For develop purpose only I'm testing a UWP (Universal Windows Platform) client app locally on my Windows 10 Laptop, where a WebAPI service is running.
By default, WinRT apps cannot connect to localhost but Visual Studio locally deployed apps should, but I coudn't manage to succeed.
Then I've used Fiddler to check and eventually enable loopback ability for my UWP app and found that it was already enabled.
By accident I've discovered that only while Fiddler is running, my UWP app can connect to the WebAPI service.
I'd like to know why.
Fiddler is able to Allow your App to use the local network loopback.
Simply check your App and you can reach your WebService.
You will see if you uncheck your App, you won't reach your WebService again.
Visual Studio enables the local network loopback while debugging as well if you check the option in your Projects Debugging Properties. (Project -> Properties -> Debugging -> Allow local network loopback)

Problems with Proxy in Eclipse

I have a proxy in my clipse. The settings are all ok, it's the same proxy I have on Chrome.
When I debug my application and try to acess a webservice from my client's application, the proxy should let me through.
The problem is that there's no request being sent to the proxy. I've been monitoring the network traffic with WireShark and I see no request to the proxy when I debug my application.
When I open Chrome and the proxy asks for authentication, the request appears on WireShark.
Anyone has any idea why??
Tks in advance
The Eclipse proxy setting is just for Eclipse itself.
You need to explicitly configure your own applications to use the same proxy settings.

iphone app private test network

I am developing an iPhone app that relies on a custom web service I created using Ruby on Rails. I want to setup a test server on my Mac without having to change the URLs that my app is pointing to - served by the RoR service. This way I can test new features or fixed bugs more easily using the test RoR server.
I have enabled internet sharing on my Mac so I can connect with my iphone to a private wifi network. I installed dnsmasq and edited my /etc/hosts file to resolve my web service URLs to the local gateway ip. However when I use my iphone app the URLs are resolved to the production server instead of my test server (my Mac).
How do I setup dnsmasq to point to the local ip.
Thanks!
Have you set the DNS server address on the iPhone to the IP address of your Mac?
After playing with it some more I was able to get it to work. I needed to edit /opt/local/etc/dnsmasq.conf and change the 'address' tag. I also had to change my Mac ethernet settings, under advance->dns I had to add 127.0.0.1 as the first dns server. This will automatically change resolv.conf which is not meant to be edited manually on a Mac.
After reading up a bit on the Dnsmasq solution, I found a nice step-by-step guide for Mac: http://davesouth.org/stories/how-to-set-up-dnsmasq-on-snow-leopard-for-local-wildcard-domains
(although personally I use Fiddler in a Windows VM for all of this sort of thing - ask if you'd like some details on that..)

Access local network SVN through Web VPN

I'm facing some problems using VPN Web authentication:
We have a local protected network on which an https SVN server runs.
Accessing it locally within Eclipse makes no problems.
We have external people which have to access this SVN through Web VPN.
The problem is, this web VPN only works in the specific web browser context, and we are not able to connect eclipse directly through this VPN then.
Accessing the VPN through the browser works though (but no commit/versioning is possible).
Is there any workaround?
Problem has been resolved by activating the JSAM (Java secure application manager) on the WEB VPN. It activates the link between installed clients (external people) and specific IP Connections (allowed by gateway).