jmeterperformance-testingfiddler

After importing sessions recorded in Fiddler to jmeter, not able to run the sessions


I wanted to do performance testing on the mobile application, tried to record sessions through JMeter with the android studio emulator which was not working and then tried with fiddler tool and was able to record sessions. But when I try to import those sessions to Jmeter I saved as HAR file and then converted to jmx file and made to run in Jmeter. The sessions/samplers were in read telling not able to make request and was able to connect and get response from the emulator. Is there anything I'm missing here? or Is there any other method to test performance of mobile applications?


Solution

  • It's hard to say anything without seeing your .jar and .jmx files and knowing how did you "convert" the .har. Theoretically you could take a look into .har file using your favourite text/json editor and create the relevant HTTP Request samplers and HTTP Header Managers manually.

    In general it is possible to record Android application network activity using JMeter's HTTP(S) Test Script Recorder but you need to take some extra steps:

    1. Import JMeter's certificate to your emulator
    2. Configure the emulator to use JMeter as the proxy
    3. Amend your application network security configuration like it's described in Configure Android Devices for Proxy Recording article
    4. You should be able to record now