Saturday, 19 October 2013

Baseline Testing

Baseline Testing

Baseline testing has two primary purposes

 First, initial tests ensure that there are no external factors, such as network or server bottlenecks, that could affect the results of further testing

 Second, baseline application testing provides a set of performance results that can be used as a basis for comparison with the actual benchmark testing

 All of the baseline tests should be executed with "Ignore Think Time" option in Load Runner. This option specifies that the test scripts are executed with no think time between user transactions (i.e., as soon as response is received by a virtual user, the next request is sent to the server). This enables baseline tests to focus on the performance of the network, application server and the portal framework without simulating realistic end user behavior 

Automatic Process of Pulling Results from Analysis (Using MDB file)

Automatic Process of Pulling Results from Analysis (Using MDB file)

As we know after generating LR analysis file  if you observe in this folder one MDB file will generate.

Using this MDB file we can do some basic analysis.

We have developed small VB script  you need to give your MDB file as input to this tool. 

MDB Analyzer is very helpful for LR analyzing, it will give you the total Passed transactions, failed transactions ,transaction summary, page summary, Vuser summary

You can run this file windows XP OS directly, windows-7, 64 bit OS pls follow the procedure .

How to use the MDB Analyzer:

Windows XP OS:

1.       Go to particular path :

2.    We can run this VBScript file  in Windows XP OS system directly

3.       Double click on MDB.Vbs file

4.       Give  the path of MDB file. After that you need to specify the result file directory of this file.

5.       All your results will store in excel sheet.

Using windows-7 OS you need to follow below procedure :

If you are executing this vbs file in windows-7, 64 bit OS you need to follow this procedure

c:\windows\syswow64>cscript  E:\path of the mbd file\mdb.vbs

After executing file give the path where MDB located

Next step is where you need to located the results file, I mean XLS files  will store all results.

This spread sheet having three columns

1.Transaction summary (Run name, Transaction name, AVG,min, max, Count, Transaction End status ) 
 2.Page summary        (Page Name, AvgSize,min size, max size, Count, Minimum ,Maximum, Average) this is for only web applications, Client server applications it won’t generate.

3.Vuser Summary       (VuserID, Vuser end status, Status count)

Here is the link for downloading of MDB tool and user guide also for your reference.

Now you can also download for doing automatic results collection. You must be save TIME:)


Gathering Performance SLA's

Gathering Performance SLA's

There are multiple ways of gathering performance SLA's

1) Understand the web site actual usage pattern. Mostly this information can be collected from the web server log files which are considered as the "gold mines" to know every possible detail about the server load. The "log analyzers" tools which helps to analyze the web log files and provide the analysis report in terms of number of user sessions, number of unique users, number of errors, peak day traffic, peak hour traffic, user request arrival pattern, frequently accessed pages, user navigation pattern, etc. From this analysis, the actual usage of the server can be identified. This procedure helps to set the quantitative SLA for the application

 2) Based on the Business forecast, Service Level Agreement (SLA's) needs to be derived to be met by the application in order to handle the user load in the target environment

  3) Bench marking of entire application to come up with some DATA, if it is a brand new application which is doing FIRST TIME performance testing