Hi Team,
Hope you all are doing great. I have been facing an issue with JMeter and am meaning to get some help. The respective issue is explained below. *Objective: *To record the app data/ traffic of an android app from an android phone in JMeter in laptop smoothly *Components used: * · apache-jmeter-5.6.3 · jdk 1.8 · android debug build *Standard method followed:* 1. Download JMeter Temporary Certificate into the android device and install it. 2. Set up a proxy on the android device and the laptop. Once the mobile device and laptop are using the same Wi-Fi network, use the laptop's IPv4 address as the proxy server and a 4-digit port number same as that in JMeter. 3. Start performing the required flows in the mobile app and the data/ network traffic gets recorded by JMeter in the laptop. *Issue:* The requirement involves logging into the application after launching it. Until the month of June, we were able to record the said flow easily by following the above mentioned steps. Since the last two months we have been facing issues while recording the login flow. Whenever we set up the proxy and then launch the application, it records normally. But when we enter credentials to login, it shows an error has occurred, with a code no. *400106*. The 400106 error is propagated by the Android SDK network service when the service does not recognize network connection. We tried the same flow on different debug builds on different devices using the same JMeter version in our laptops, but it did not help. We reached out to the SAP team as well, but they told us that they cannot help as no log/ failure log is available for them to check. Also, our client’s team could not help as it is not in there is no error in their CDC logs. We tried to record the flow using Android Studio Emulator as well in the laptop which has JMeter in it. A project was created as an emulated device. JMeter root certificate was downloaded and installed into it, proxy was set up as mentioned in the standard method above, same port number set up in the emulator and JMeter and the same debug build was used for the recording. We got the same error as we were getting in the real device while login but also got the logs of the same. The logs had the statement: *javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.* Followed by this, our developers tried to make a change to the debug build to accept any certificate that we add to the mobile device but that also did not help. Looking for help in anticipation Thanks Sifaat
