Mobile app. load testing using jmeter - android

I have configure everything and doing android app testing using jmeter. As a Http request I am getting only web services and jmeter puts load on those. So is that correct mobile app load testing??
I am recording scenario and then putting load. If I do signup , login or any action , it creating web service request only so I am little bit confuse what am I doing right app testing or not?
Is this read testing of mobile app testing to put load on web services only?
Please see attached screenshot of recent recorded plan.

JMeter can be used for mobile performance testing along with the desktop web application. ... In order to configure JMeter and mobile device to record scripts for native app in JMeter for android and iOS platforms, you can refer the steps mentioned below. It's just similar to recording scripts for web applications.

Related

Flutter projects for native mobile and desktop web browser

Can someone list a few projects on github where a Flutter application is being used as both:
a mobile native application (not a PWA)
as well as a normal web app viewable by desktop browsers?
My goal is to create a single codebase where I can deploy native Android/iOS mobile applications that can access device features like geofencing/bluetooth, while also being viewable by laptop/desktop users using a Safari/Chrome web browser.
thx!
https://github.com/gihan667/flutter-web-responsive
u can see this
from youtube u can see the Responsive Web UI is always work on both paltform
but kip in mind most pob.dev lib are not for the same platform
Like The http is not sport for web cuze the browser will close link with http
and must have ssl on ur web server to make it work :)
wish that will help
https://www.youtube.com/watch?v=hntFZd5bddU&t=64s

Unable to record Hybrid App using JMeter

I am trying to record an Hybrid App (Native+Web) of Android using the HTTP proxy recording option of J Meter. When i access that app it is taking to HTTPS site and from there it is not recorded in J Meter. Page is showing blank and not directing to any page
Saw most of the articles, but still i am unable to record the HTTPS Site, Please assist me
As per Load Testing Mobile Apps. But Made Easy. guide:
Note that Android supports only HTTP proxy. If your application uses an HTTPS connection, then you may use an additional application that performs with HTTPS proxing.
So I believe that you need something like ProxyDroid or similar

Responsive Web App with phonegap

We have a responsive web application for desktop users and it is working fine. My organization also has native android app. Now, the requirement is to integrate responsive web app with native android app (using webview). Same time, we are looking to access some native features of device like capture photo from web application.
We suggested to use phonegap but don't know how we can integrate phonegap javascript api with existing web application without creating phonegap/corodova application. Idea is that, user just hit the native app button and on listener it will invoke webview with webapp url. By checking user agent we will be able to load phonegap JS api and it will be able to access native features.
Issue is that, Don't know whether it is possible or not, if yes then how we can enable phonegap api in existing web app. Desktop and mobile user will get same experience.
Use WebView component of phonegap in your application, read documentation
http://docs.phonegap.com/en/3.5.0/guide_platforms_android_webview.md.html#Android%20WebViews

Embed web app in mobile app

I want to develop a web app that will work in a server. Using apache or gunicorn, or something similar.
Now I need to know if there is any way to make a "native app" that will redirect to the web app.
Basically the native app redirect to the responsive web site that will run inside a webview. The native app only is needed to provide a a shortcut to the web app in the smartphone and also add the option of install in apple/android store.
This is possible? I can develop this "native app" with phonegap, but I need to embed the responsive web app powered by apache/nginx/gunicorn.
Any insights about this?
This is what people doing on my office :
They created a responsive web.
They created a native app (not hybrid), in other word : they use eclipse/xcode
The native app basically is just a full screen WebView
With this, they successfully employ android & iOS native apps only with WebView and upload it to their respective store.

Cordova features aren't work on server

I am a developer of DisciplineXgames! We are developing a mobile app. We have downloaded the Cordova test suite from here (https://github.com/apache/cordova-mobile-spec). When I upload this on DisciplineXgames server it shows an error in alert box "Error: Apache Cordova did not initialize. Demo will not run correctly." but when we upload the same folder on Phonegap server it works perfectly fine. Unfortunately this doesn't solve our problem as we are building our mobile app on our server and just using Phonegap to redirect the user to the page hosted on DisciplineXgames server if there's Internet in the user's mobile.
First error which I got in the console area in Google Chrome is cordova.js missing when I provided that than it outputs another error that is cordova/channel is required.
Hope you can guide us through how we can use Cordova's amazing features on our server instead of Phonegap's local server.
I am a bit confused as to what you are trying to accomplish here but I am going to take a stab.
You want to develop an app that when the app launches, it checks to see if the device has internet connectivity. If it does, then the app just opens the mobile website hosted on your servers. if there is no internet connectivity then the app ???
Since this is a very simple use case for an app, I would avoid using cordova and instead use PhoneGap Build. Simply write an index.html page and a .js file to check for the connectivity and then use the inappbrowser plugin to open your mobile site if there is connectivity. Once that is done, zip your package, upload to phonegap build and then download your compiled apps.
phoneGap Build allows you to avoid the app building overhead and the need to install things BUT prevents you from taking advantage of some of the deeper configurations and some plugins. But again, for your simple use case, PhoneGap Build sounds like the way to go.

Categories

Resources