Home > Mobile >  Capture simulated React aplication for Stress Test with JMeter
Capture simulated React aplication for Stress Test with JMeter

Time:12-31

I need to record the usage of an App for a Stress Test. The App it's coded on React Native and im simulating an iOS phone to record the funcionalities with JMeter.

I used to record Web and HTML5 Apps with Chrome. It's any way to capture the iOS Simulator?

Thanks and have a happy new year :)

CodePudding user response:

What do you mean by "usage of the app"?

If you need to monitor application-specific metrics like CPU, memory, network, battery usage, etc. - you won't be able to do this with JMeter, take a look at Instruments application and its capabilities when it comes to profiling iOS apps.

With JMeter you can simulate hundreds/thousands of concurrent devices simultaneously accessing the backend server or the database, if this is what you're looking for - you can record the application network footprint using JMeter's HTTP(S) Test Script Recorder. Just make sure to install JMeter's self-signed certificate onto your device (or simulator), the file is called ApacheJMeterTemporaryRootCA.crt and it's generated in JMeter's "bin" folder when you start the HTTP(S) Test Script Recorder.

You will also need to enable full trust for the JMeter's certificate, see Configure Apple Devices for Proxy Recording guide for more details.

Once you record the test scenario "skeleton" you should be able to replay it with increased number of users after correlating the dynamic parameters and performing necessary parameterization.

  • Related