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
Related
I want to send and recevice data between .NET application and Android Device by using USB. However, due to the security concerns, I do not desire to use Android Debug Bridge (USB debugging).
Is there any possible way to send and receive data from Android Device to my .NET application on computer by using USB ?
Thanks in advance.
There are many ways to skin this particular cat, let me name two:
Simple message files via MTP. Pro: Easiest to implement and widest possible client support. Con: High latency. Good, if you have few requests with a bigish payload each.
USB networking via CDC-ECM. Pro: Allows easy extension to full networking. Con: Not so broad client suppoort. Good, if you have full control over the hardware.
The prevalent problem is, that the fragmentation of Android allows you to assume only a very low baseline.
I do recommend, that you revisit the encrypted network connection option: It should be quite trivial to create a minimal network consisting only of the Android device and a single partner - e.g. by pluging a WLAN access point directly into a secondary network interface of the workstation - and by being associated to a special WLAN you make sure, that the device at this point is not connected to a different WLAN or mobile network.
This will not only be easiest, but also give you the best starting point if you want to upgrade to a broader network later on.
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
I am trying to develop a Windows Desktop app similar to Task Manager which can monitor my PC with Visual Studio Express. Now I want to develop one app for my Android phone with which I can connect to this Windows App from anywhere and see some of the graphs and little info (light weight) on my phone in a secure way.
What tools do I need on my desktop and Android phone to develop the app. How can I develop and connect it? If you can help me it will be great.
Thanks.
Probably the easier way for you to do this is to create a server application which both your apps connect to which will need to be on the internet or on a network where both have access to it. The desktop app would be sending its' information and the phone application would be requesting that information. As for what the server needs to be, that is agnostic, however using REST or Websockets (More ideal but a bit harder to work with) for communication would probably be ideal.
To get started I would suggest looking up a tutorial where you do API requests to a server (On either Android or Windows Store Apps). Then look at building your own server application to distribute your own API.
I hope this helps.
I'm working on a cross-platform multiplayer game on android and ios.
I need to create a direct network connection between devices without a main server to be able to play without any internet access (e.g. in the metro).
I already tried this kind of game named "Skies of Glory" where the link between players were performed directly without internet access. Such as computer games, client players can see and connect on a game server created by one of players.
I was unable to find a "free" game framework able to provide this kind of network feature so I try to find out a standardized way to see host servers and etablish a communication without any user prompt thru a wireless connectivity (wifi or bluetooth). iOS and Android are separate worlds but most of network standards are supported by both platforms.
So how do it ?
I already excluded solutions:
Android's WIFI direct: not compatible with iOS and available on 4.x so it's too limited.
OSI's high level protocols because it suppose to be in the same managed network (so impossible in metro)
My leads
Turn one of the devices as a router but without user action.
Piconet technology if it's available on both OS.
If anybody have another idea ....
Thank you for your help
On iOS you could try using Bonjour http://en.wikipedia.org/wiki/Bonjour_(software) https://developer.apple.com/technologies/ios/networking.html but there is a reasonable amount of your own programming that would be needed to build what you need.
On Android you might be able to use zeroconf http://en.wikipedia.org/wiki/Zero_configuration_networking if you can find a suitable existing port or port it yourself using the NDK.
I am wondering how I can possibly stream data from an android device to my development PC. What I am actually trying to achieve is to stream some numerical data over to my PC and plot them in gnuplot in real-time.
Any ideas ?
In a development environment, I assume your phone and PC are on the same network (wifi, or even via USB/ADB which can be used to relay network packets). If that is the case, simply write a TCP/IP server (or web application) that runs on your PC, and have your Android application connect to it and provide the data.
Disclaimer: I work for Realtime.co. No, I'm not trying to sell you anything. Just trying to help.
Another thing you can try is using a cross-platform communication layer such as Realtime.co. It has an Android API as well as other APIs such as Java, PHP, .Net, iOS, JavaScript, etc.. So you can actually use it as your communication layer between your phone and any platform you need to be using on your computer (a browser, a Windows application, a Java, application, etc.).
I hope that helps!