Sunday, December 28, 2014

An Article on Latency and Bandwidth

Here is a brief Description on Latency,Bandwidth
Latency : it is the amount of delay time while transmitting data between source to destination.

To measure this, use "ping" command from your run window and provide various destinations and identify the difference in latency.

Your latency is nothing but the round trip time consumed for sending and receiving data.

Bandwidth : It is the amount of data transmitted over a network per second.

To measure the bandwidth usage of your network , Capture the amount of data transmitted per second.

Some tips mentioned below can improvise network bandwidth :

Server load balancing Increase link bandwidth Application tuning Network redundancy Web page optimisation

Friday, December 19, 2014

Performance testing of Android App on Android device with Loadrunner



Firstly, to performance test the app on Android device, we need to have the following things done.

1. Ensure Both Android device and Vugen machine should be in the same network.

2. Installing LRProxyroot.cer in Andriod device

3. Configure proxysetting in Android device


How to install LRProxyroot.cer :

1. open Certificate in the email

2. Download the certificate

3. Navigate to Settings --> Security --> Install from device storage --> Downloads.

4. Click install.So that certificate will be installed.


Configure Proxy Setting :

1.Navigate to Settings->WiFi.

2.Click on connected network's name

3.Modify network config -> Show advanced options

4.Set proxy settings by providing proxy and port number of the system in which loadrunner is installed.

Now, Open Vugen --> Mobile protocol --> Proxy recording --> provide the port number --> Start recording by navigating the application on Android device.

Once you record the scripts as per business flow,keep them in controller/PC and load test your application.

Monday, December 8, 2014

ASP.NET Website performance optimisation Series: Article-2


In these Articles , i am providing series of tips to finetune your website.

Tip 3 - Add Expiry headers . Check the existing expiry of static headers and if no date is mentioned try to provide it using web.config file static content tag.

use Max age and cache control max age like an year so..on.

Tip 4 - Combining JS files if necessary in VS. Also place the JS file in the bottom of the script.

Now, validate the performance again and compare. You will find improvement. In the next article we will see somemore tips.

Sunday, December 7, 2014

Resolution for Double URL encoding text in loadrunner script

Sometimes we receive the script calls in loadrunner with double encoded format.

such as for example : string " performance testing" is converted to "%2520%2520%2520%2520%2520performance%2520testing"

In such a case the below mentioned soultion will help.

Step1 : ensure DFE extensions in run time settings should be enabled.

Step2 : Use following code bits in the script :

web_convert_from_formatted("FormattedData/EscapedBinary=" performance testing"","TargetParam=prm1",LAST);

web_convert_from_formatted("FormattedData/EscapedBinary={prm1}","TargetParam=prm2",LAST);

Hope this solution helps.

ASP.NET Website performance optimisation Series: Article-1

Here i am providing a series of articles on ASP.NET website performance optimisation. Firstly as provided in my previous articles on performance diagnosis of websites using YSlow, we need to understand the Ranking of our website in various segments.

In these Articles , i am providing series of tips to finetune your website.

Tip 1 - GZIP Compression - Ensure GZIP compression is applied for Static and Dynamic. if not , please get into web.config file and to system.webserver key.

In that, provide dodynamiccompression , do staticcompression to true.

Tip 2 - Combining CSS files - If many CSS files are provided under page which can be clubbed, then in VS, navigate to CSS files and select them and use Web essentials --> Combine CSS files.
Replace the CSS files with the latest bundled CSS file in asp.net page. It works.

Now, validate the performance again and compare. You will find improvement. In the next article we will see somemore tips.