0

I am a complete beginner in Jmeter and facing error 443 while performing android app Load testing in Jmeter(5.4.1). I have followed all required steps to connect jmeter to mobile apk.

1 Answers1

0

Without knowing what "all required steps" you "have followed" we cannot provide any comprehensive input.

"All required steps" are:

  1. Start JMeter's HTTP(S) Test Script Recorder

  2. Locate ApacheJMeterTemporaryRootCA.crt and install it onto Android device

  3. If you're running Android 7.0 or higher:

    • In the application section of your application manifest add the following attribute

      android:networkSecurityConfig="@xml/network_security_config

    • Add the following file to your application resources folder

       <?xml version="1.0" encoding="utf-8"?>
       <network-security-config>
         <debug-overrides>
           <trust-anchors>
             <!-- Trust user added CAs while debuggable only -->
             <certificates src="user" />
           </trust-anchors>
         </debug-overrides>
       </network-security-config>
      
    • Re-build your application in debug mode by invoking gradlew assembleDebug command

    • Install the debug version of the .apk onto your Android device

  4. You should be able to record now, if still not - check out jmeter.log file and Android device log

More information: Recording Using Android Devices

Dmitri T
  • 159,985
  • 5
  • 83
  • 133