I want to test the performance of a mobile app with the mobile data using jMeter is it possible if yes can anybody give the steps to perform it
Yes it's possible.
Duckduckgo it and you will have a lot of resources.
Basically it is not different from web applications, break it down into next steps:
Record your test scenario via JMeter's HTTP(S) Test Script Recorder or Mobile Recorder.
Add Virtual Users
Run your test and analyze results.
Related
I want to perform load testing of Single Page Application. So i have created JMeter script for that and it is working fine from my single machine for concurrent users. But i want to create actual concurrent users scenario from different machine or location. For that reason i am trying to use Azure Load Testing service and there want to use JMeter script which i have created on my local machine.
Please let me know if Azure Load testing service support below points : -
Is it possible to test performance of API call which are going to other servers (non Azure).
Is it possible to track performance report like JMeter for each API call individually.
Please let me know if any clue on above problems.
Thanks
As per documentation
Enable developers and testers to generate high-scale load and run simulations that reveal actionable insights into app performance, scalability, and capacity with a fully managed load-testing service. Create tests quickly without prior knowledge of load testing tools, or upload your existing Apache JMeter scripts. Gain specialized recommendations backed by comprehensive metrics and analytics, and support continuous improvement through automated continuous integration and continuous delivery (CI/CD) workflows—all with a testing service built for Azure.
So it should be possible to run your JMeter scripts from Azure. If your system under test is reachable from the Internet you it doesn't matter where it's deployed.
If not and your application is only accessible from your local Intranet - you will have to go for JMeter Distributed Testing
Helow
Is it possible to use Jmeter to make a performance test on a mobile app which doesn´t connect to internet, such as calendar or calculator; an app that doesn´t use http protocol?
Thank you.
No.
JMeter acts on protocol level, it doesn't actually clicks links or buttons, it sends requests over variety of supported protocols (not limited to HTTP) and records response times.
If your application doesn't have a backend, i.e. it is completely standalone, you normally don't need to load test it as it won't have more than one user. The only thing you can do is to check resources impact like CPU or RAM usage, battery consumption, most long running code parts, etc. Check out the following materials:
Android Performance Profiling Tools
iOS App Performance: Instruments & beyond
Performance Profiling on Windows Phone 8.1 with Visual Studio
For more detailed explanation of the concept of simulating multiple non-browser applications users check out How to Run Performance Tests of Desktop Applications Using JMeter guide.
You don't need internet connection in order to test like a local website, service or app. And yes, it is possible.
If your app is locally then the app will be available on a localhost port ( db, api, website). If you plan to test from the UI perspective a mobile or desktop app then you are using the wrong tool and you should use other tools like Ranorex or Test Complete.
I am trying to test web page performance on a mobile device. I know chrome dev tools can be used for mobile simulation but my requirement is that it should be tested on actual device. Is there any such tool available?
I am little confused about your question since in the title you mentioned load testing, but in the detail load testing is not mentioned at all. So, I'll try to answer both:
You can test mobile via emulation or real devices.
If it is necessary to use real devices you can do it in two general ways:
On premise tools such an Experitest.
Using a cloud service like Perfecto Mobile, mobilelabsinc, amazon aws device farm.
You can test your application performance with these tools without any relation to load. That is, how fast they work on your device.
If you want to test your application performance and see its behavior on the device while loading your server then you need to add a load testing tool into your test. For example, HP/LoadRunner, RadView/WebLOAD has integration with Perfecto Mobile. I heard also that JMeter has an integration well – not sure.
In any case, during the load, the recommendation is that the majority of the back end server load will be created via mobile simulation, and add only a few real mobile devices to the party in order to measure the performance from the device itself – because using real devices will be expensive.
Full disclosure: I work for Radview.
SOASTA CloudTest also supports the integration of API/Transport level virtual users with on-device virtual users in the same scenario
How can I perform Load testing on Oracle Portal Application Using Jmeter?
I recorded the activity using jmeter proxy and run the recorded request but I got unrealistic results.
Oracle portal is nothing but an ADF application, so it can be testes as any other ADF application.
You basically need an approach as Pino uses here:
http://soadev.blogspot.co.uk/2014/04/jmeter-load-test-oracle-adf-applications.html
Registering tests with JMeter is a tricky business, you need to validate your scenario once recorded by running it with only one thread and check the server logs (in case you use your custom logger) to make sure the functionality on the server is being executed.
I am trying to make a performance testing by using the JMeter for the User registration process in Chat application,which is developed by using openfire and XMPP. I am providing the different user details through CSV Data set.The issue i am facing is, The newly provided user details are not getting to save in the XMPP. As per discussion with the developers, They are using SMACK plugin(.jar files inside the programs) for the registration and other process.(i.e) The Jmeter is recording only for the API calls,Not recording the smack plugin activities due to this i am struggling to make the performance testing for the new user registration process in the chat application.
Thanks in advance.
JMeter Test Script Recorder can only record HTTP traffic through proxy so if you configured proxy for smack plugin then recording cannot happen due to protocol not being understood.
Otherwise it's proxy misconfiguration.