0

Can we test hybrid app through jmeter and if yes then how thanks in advance

1 Answers1

0

I don't think you can use JMeter for load testing mobile apps themselves, if you need to check i.e. application loading time, page rendering time, resources consumption (CPU, RAM, Network, Battery), etc. you should rather consider using profiling tools, they're normally available from mobile operating system vendors like:


JMeter can be used in context of measuring mobile applications performance only if the application communicates with the backend so you can simulate hundreds/thousands of mobile application users using JMeter so you can check whether the backend is capable of handling such a load and it doesn't result in increased response time or errors. If this is what you're trying to achieve - you need to determine which network protocols are in scope and check if these protocols are supported by JMeter Samplers or JMeter Plugins

If your mobile app uses HTTP protocol for communicating with the backend you can even record the requests using JMeter's HTTP(S) Test Script Recorder, see Load Testing Mobile Apps Made Easy article for example concept.

If your application uses HTTPS protocol it is still possible to record the traffic however you will have to take some extra steps:

  1. Install JMeter's self-signed certificate onto the mobile device (see HTTPS recording and certificates chapter of JMeter Documentation for explanation)

  2. Configure your mobile operating system to trust this certificate:

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