I am doing a performance testing on a web application.
I want to record the Load Time or Response Time of the browser.
In desktop browser, I will use developer tools > Network to get the data I want.
But how I able to get the REAL DEVICE's browser response time?
**Remark : I have eliminated using browser emulator since it doesn't represent the actual real device's spec.
you should use android device monitor in android studio
tools> android> android device monitor
Related
How screen mirroring application works on Android devices?
A piece of data has to be passed from the phone to whatever device is mirroring the phone.
Is that data an image? If yes does taking 60 screenshots per second and sending that data to the mirroring device possible on the phone level, or It is to performance heavy ?
Note: "Mirroring": what appears on the phone screen is appearing on the other device(the mirroring device)
From the chat:
Developer mode on Android device can be enabled
PC browser is requirement
Interaction with Android device from PC is not a requirement
Most likely you should be able to modify or find a modification to how scrcpy behaves.
Given how obvious it would be to send the Android display feed to a browser look to Using a webclient instead sdl app github issue thread for possible solutions or avenues for investigation.
We're starting exploring Xamarin.Form as a mobile development using Visual Studio 2015 on Surface Pro 2 machine with 8 GB RAM. We found that when we debugged/deployed into Visual Studio Emulator for Android. It takes a bit time to deploy.
I'm just wondering if we have a proper phone ie. Android device or iPhone will this make faster in term of deploying/debugging speed?
I'm appreciated your feedback.
Thanks
Isadewa
Sure when you use real device you are using the phones's cpu , Gpu , ram to run your app but when you try to use your pc every time you are starting a vm that takes resources from your computer and slows it down so you are probably using and ide and you may have some chrome tabs open so if you are that guy who open alot of chrome tabs , launch alot of apps at once defintly debug on your phone.
for sure testing and debuging your application on mobile device is much better for the reasons below:
Emulators are virtual machine that consumes memory and processing power from you computer which makes you computer much slower, which doesn't hapen when you debug on Mobile.
Mobile devices are better when your app is developed to consume and access mobile resources like camera , contact, push notification ... etc.
The only reason that you can make benefit of emulator , if you want to test your application on a specific mobile device and you don't have it for the moment , then I would prefer to configure an emulator with the specific mobile aspects and test my app on it .
Definitely real device debugging fast as compare to emulatore because emulator taking lot of time to launch even though you configure different cpu, and more ram but real device will be feasible for debugging.
Prefer always real devices because its properly give response while debugging.
With physical web integration in new google chrome browser (still in beta), its possible to detect beacons that emit Eddystone Url frames.
source: http://www.blueupbeacons.com/index.php?page=/blog/physicalweb
I downloaded Chrome Beta, enabled physical web going to chrome://flags, gave the app access to location services, gave runtime permission for using location (I am using Marshmallow), but the browser still wasn't able to detect a beacon nearby. I tried using physical web app as well as Opera Labs version and both are able to detect the same beacon.
I am using RadBeacon USB by Radius Networks.
What am I missing here?
My first guess is that your URL is an HTTP URL. You have to be pointing to an HTTPS URL for Chrome to display it.
Chrome 50 will have a physical-web diagnostics page to show issues like this.
Now that Chrome 49 is out for Android, it's built in natively to the functionality but you still have to enable the physical web flag on your device (Chrome://flags#enable-physical-web). You will get prompted to restart the browser. Also, make sure your bluetooth is on and you allow Chrome to have access to your location which you will be prompted for. Now you should start to see Eddystone-URL broadcasts that are close to you. Make sure that your RadBeacon is Eddystone-URL compliant as I know that some of the usb beacons they released did not support eddy-url. I'm using a bkon beacon and it's working well. Make sure that your end destination site is https as well and you can do this for free using letsencrypt. Good luck!
Go to your chrome beta settings, then privacy and check if physical Web is on. Also, the broadcasting URL should be an https secured URL. Also, your browser location should be on.
Sometimes it takes time for your browser to detect for URL's. Try to lock your phone screen by pressing the power button and then unlock it. You should se physical web.
Repeat this activity several times.
Still if you are not able to see physical Web then try reinstalling chrome beta.
I am building an application for android device using the Ionic framework. I want to store my data using localStorage. Now, I understand what it is but I can't find it anywhere on the device. I want to browse it to check if everything is saved as I want to.
I found many different tools to browse localStorage when I create app and run it under my device (real phone not emulator) is there a way to browse data store in localStorage ?
Using remote debugging (for Chrome to Android or Safari to iOS) you can easily browser LocalStorage on the device (or emulator). This article documents how to do it with Chrome (https://developer.chrome.com/devtools/docs/remote-debugging) and this one covers Safari (http://moduscreate.com/enable-remote-web-inspector-in-ios-6/).
Can LoadRunner do load testing for web mobile application of Android? I
Here are two tutorials which may help to record network traffic of Android (iOS, Windows Mobile, etc.) devices using HP Loadrunner 9.5x:
1) Using the Android SDK emulator:
http://www.perftesting.co.uk/recording-and-performance-testing-android-applications-with-hp-loadrunner-vugen/
2) Using the real "hard" device (combined with DNS spoofing to send the network traffic through the Hp Loadrunner Virtual User Generator):
http://www.perftesting.co.uk/performance-testing-iphone-ios-android/
Yes. There are potentially multiple ways of capturing the conversion, from using an Android simulator running on a PC to using VUGEN as an HTTP man-in-the-middle proxy to record the conversation passed from an Android device through VUGEN and onto the final target.
I used jMeter for this purposes.
Load Test Mobile Apps article provides you clear steps