I am trying to load test mobile app with Apache Jmeter but facing a typical problem. I have done all the required configuration like setting the domain, server name, port in Jmeter. I have also configured my android phone by installing Root CA file, setting the Host name with Jmeter system's IP, port to 8080, IP settings to DHCP, Proxy to Manual but whenever both the system and android device are on the same Wifi network, android device is getting disconnected from the internet and the recording is getting stuck. So can somebody please help me on this.
0
votes
I have changed the port to 8888 but still it's not working...
- SMITRA19
The primary problem is the internet connection for android device, whenever the system and the android device are on the same network the device is loosing it's connection. As per the Jmeter configuration Jmeter installed System IP has to be set as Host Name in the android device...so is this creating any problem....
- SMITRA19
1 Answers
0
votes
- As per JMeter Bug 59006 since JMeter 3.0 default port for the HTTP(S) Test Script Recorder has been changed to
8888in order to match the configuration which is being performed via Recording Template so make sure that Android proxy port matches HTTP(S) Test Script Recorder port. - On Android versions after 7.0 (Nougat) you might need to apply extra configuration in your application manifest.
- If you don't have possibility to amend application source code - there is a possibility to add JMeter's certificate directly to Android
/system/etc/security/cacerts/file