Mobile Testing: Mobile testing market is growing with a resonable rate. Here I am giving some input regarding Mobile testing.
Native Application: The application that designed for the mobile is called native application. We download it from App store.
Protocol:
Below table shows the different recording option.
Here I am giving some input about Proxy recording with wifi network
Pre-requsite:
Configure your mobile device to use the VuGen Recording Proxy. For example, on an iOS device, the setting is Settings > Wi-Fi > HTTP Proxy > Manual. Configure the server to be the IP of the VuGen machine, and the Port to be the port that VuGen is listening on. Here Port number can be any 4 digit number like 8889,8080 etc.
HTTP/HTTPS Application
There may be http and https application under the test. If its https application then we need to install the certificate on the iOS device.For http application no need to install any certificate on iOS device.
How to install certificate on iOS device:
Download the proxyroot.dat file on machine. and then change the extension from proxyroot.dat to proxyroot.cer.Then send this certificate to mobile through mail and install this certificate on the iOS device.
Challenges:
HP Mobile Center
This is HP Tool that is specially used only for Mobile testing. Current version is 1.52 and latest version 2.0 will release in June 2016.
Native Application: The application that designed for the mobile is called native application. We download it from App store.
Protocol:
- Mobile Application – HTTP/HTML, for recording scripts at the transport level for both browser-based mobile applications and native mobile applications, that communicate with their servers over HTTP
- Mobile
TruClient, for recording scripts for browser-based mobile applications
through the browser-based user interface. This protocol is based on Ajax
TruClient, using a browser modified to emulate the mobile browser.
Below table shows the different recording option.
Scenario
|
If…
|
Then…
|
Proxy Recording
|
- The mobile device can be connected to the same network
as the VuGen machine, and;
- The app allows proxy configuration
|
You can configure your mobile app to use VuGen proxy(***) to record the traffic
|
Server-Side Recording
|
- You don’t want (or can’t) record from the actual device,
and;
- The device, server, and VuGen machine are in the same
network, and;
- You only need to record on one server
|
Install VuGen’s Mobile Sniffer Agent on the server. You
can then use the protocol’s ‘Record and Analyze Traffic’ feature, which will
use the agent to record the traffic
|
Script from Network Capture
|
You already have a network capture file, such as
WireShark’s ‘pcap’ file
|
Use the protocol’s ‘Analyze Traffic’ feature to turn it
into a script
|
Device Emulator Recording
|
- You don’t want (or can’t) record from the actual device,
and;
- The mobile OS is Android, and;
You have a device emulator available
|
Record from the emulator by using the protocol’s ‘Emulator
Recording’ feature
|
On-Device Recording
|
- Your Android device is rooted (to allow access to the
device’s system)
|
You can install the LoadRunner Mobile
Recorder on the device (***), and use it
to record the traffic as a standard ‘pcap’ file. You can then open the file
on your VuGen machine to create a script.
|
Here I am giving some input about Proxy recording with wifi network
Pre-requsite:
- Machine having vugen installed with version >=12.01
- Machine and iOS device should be in same wifi network
- If Possible try to make machine IP address as static
Configure your mobile device to use the VuGen Recording Proxy. For example, on an iOS device, the setting is Settings > Wi-Fi > HTTP Proxy > Manual. Configure the server to be the IP of the VuGen machine, and the Port to be the port that VuGen is listening on. Here Port number can be any 4 digit number like 8889,8080 etc.
HTTP/HTTPS Application
There may be http and https application under the test. If its https application then we need to install the certificate on the iOS device.For http application no need to install any certificate on iOS device.
How to install certificate on iOS device:
Download the proxyroot.dat file on machine. and then change the extension from proxyroot.dat to proxyroot.cer.Then send this certificate to mobile through mail and install this certificate on the iOS device.
- If no event get record then check the ip address of the machine and check with IP address in HTTP proxy
- Connect the machine through LAN and iOS on wifi. Ideally this is not a solution but somehow after this recording when I again tried to record with both iOS and vugen on wifi it get recorded and issue get resolved.
HP Mobile Center
This is HP Tool that is specially used only for Mobile testing. Current version is 1.52 and latest version 2.0 will release in June 2016.
kul post
ReplyDeleteNice blog.. Thanks for sharing informative blog.. its very useful to me..
ReplyDeleteMobile App Development Company
Android app Development Company
ios app development Company
Mobile App Development Companies
Nice and interesting post, I appreciate your hard work. keep it up…!!!Thanks for such useful information, It is true that now if you want to grow your business you will surely need the mobile app testing services for your business. But for that purpose everyone needs best mobile app testing companies.
ReplyDelete