How to connect your mobile to JMeter to record scripts inspite of Company firewall - jmeter-3.2

How can i connect my mobile device to Jmeter in laptop to record native Mobile app inspite of Company Firewall.
I have tried connecting my mobile device to JMeter in my personal laptop and that was working fine. I think the issue is because of Firewall.

Check if your laptop and Mobile is in the same wifi network or not. If it is then disabled laptop firewall (if it can be disabled) and check again. If still it won't work then you can explore Blazemeter option where you record script using proxy. Reference is "https://guide.blazemeter.com/hc/en-us/articles/360000271458-Creating-the-Proxy-Recorder".
I hope this will help you.

Related

Cannot connect Charles Proxy to see traffic on any mobile

First of, I can see on traffic coming through when I browse on my desktop.
I have set the IP in network settings along with the port but when I connect I do not get the do you want to connect this phone message from Charles.
I have:
deleted all certificates and tried to go to chls.pro/ssl but get no internet message and the certificate doesn't download.
tried ios and android both with the same result.
tried to manually add it to the access devices in Charles.
The only difference is from two weeks ago when I last did this successfully is the VPN I am on (I open the Charles before connecting to the VPN, to rule that out).
Any suggestions? I am going crazy!
There are various issues that can cause this issue: I collect here and you can verify each step to solve it: https://docs.proxyman.io/troubleshooting/my-ios-devices-couldnt-connect-to-proxyman-via-proxy
I would like to summarize:
Check if your Firewall is blocking all incoming traffic -> Turn it OFF
Stop all VPN app from your iOS device
Make sure your iOS devices and your macOS are in the same network.
Disclaimer: I create the Proxyman app, which is a modern version of Charles-Proxy. Hopefully it helps you resolve the problem.

Fiddler 4-iOS 10.2.1 cannot reach internet after configure proxy

I am following this instruction http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureForiOS. Everything works until section Set the iOS Device Proxy.
Once I set the proxy on my iPhone, I can't connect to the internet from the phone anymore. Not even accessing the echo page, which I could access before turning on the proxy on the phone. I already installed the root cert on my phone, the makecert add-on on Fiddler
Could someone help with ideas to diagnose the issue here? Thanks,
What might be stopping your iphone from reaching your Fiddler machine on the port specified, usually 8888?
Have you a firewall on the Fiddler machine? You might need to open
the port.
Does your LAN have an automatic redirect to a login page? Ours
does, so I have to disable the proxy on the iphone while I login,
then reenable it.
Does your LAN expose the IPs of cable-connected machines to WIFI
users? Not all do.
Can you browse a simple web page on your Fiddler machine from your
iphone, before starting fiddler or doing any proxy configuration?
You might need to get really serious and install a ping utility on the iphone.

iOS - Access web service running on computer from iPad

I'm trying to test my iPad app which accesses a web service currently running on my machine. How can I make it so the app can make calls to the web service?
The easiest way would be to connect your iPad and your PC to the same wireless network.
Every computer in your network has an unique Network IP (Usually something like "192.168.0.100"). If you know how to to connect to localhost it usually suffices to change the localhost to the network IP of the computer you're trying to access,
If your machine is a mac, I had a similar question which was answered here. Enable web sharing on the mac and everything should be available to you.

Using VPN in objective C once user is connected to VPN with Anyconnect,F5 BIG-IP Edge

I am exploring the possibility of communicating with server that requires VPN connection outside of corporate network using iOS enabled device. I found out that I can connect to VPN using proprietary apps of Cisco, F5, Juniper etc. Assuming that user has successfully connected to VPN using these apps, can I directly communicate(call web service) from my iOS app? I know that Safari can directly communicate with server requiring VPN connection once user establish connection using one of apps I mentioned.
Thanks,
Jignesh
I'm sure that there could be unique circumstances that cause problems, but in my experience I have found that this works just fine. I have an app that interacts with SOAP services running on servers within our corporate intranet. Once I have established a VPN connection using network-specific clients (I've used both Cisco and Juniper clients) I am able to use NSURLConnection and other iOS API's to connect to those servers.

Remote access to apache2 server

I'm trying to test my iPhone application on the device.
I have a mac computer which stores my development environment.
Right now I can only access PHP files using the http://localhost/PHPFileLocation
which does not work when I try to test my app on real device.
How do I configure apache2 to be accessible from outside?
Is it possible to configure it to a specific IP address?
I want to reach some php scripts located on my development machine running apache2 from my iPhone device.
Thanks
If your computer has a WiFi card then you should be able to attach the iPhone remotely to a ad-hoc Wifi network created on your dev machine.
I'm assuming your Mac is behind a router. You should be able to configure your router to port forward connections to your WAN facing IP address to port 80 (the HTTP port) on your Mac - see http://portforward.com/ for some help.
You may also need to turn the firewall off on your Mac.
Once this is set up correctly you can hit http://yourexternalIP/PHPFileLocation in your iPhone app and this will be directed by your router to the Apache2 server on your Mac. The external IP is normally found on your router's admin page somewhere.