GeekInterview.com
Answered Questions

How can I replace the date(2008/7/3) with the current system date.

Asked By: sreenareddyk | Asked On: Jul 4th, 2008

I had generated a script with Ajax protocol , & my script is like this.N3n 2008/7/3nif I want to run this on some other day , how can I replace the date(2008/7/3) with the current system date. I am passing this in a request. I am using the load runner 9.1

Answered by: san_luke on: Oct 27th, 2009

Use this function

lr_save_datetime("<format of datetime>",DATE_NOW,"")

then you can replace the value in your code with the

NOTE: DATE_NOW fetches the current system time

Answered by: papayamilkshake on: Jul 10th, 2008

Use the parameterization settings in Parameters.  There is a date format that you can use to extract date.

Vuser script for Java swing desktop application

Asked By: harshana226 | Asked On: Jul 1st, 2008

Creating “vuser script for Java swing desktop application” with soa architecture and using soap / http requests to communicate to the web services. I would appreciate if you could assist me which protocol to use for vuser creation for the swing user interface

Answered by: papayamilkshake on: Jul 10th, 2008

Swing user interface if it is client-acitivity will not be recorded with any protocols selected.  Understanding the communication between the java client and the server determines the protocol.&n...

How to record an application

Asked By: sreenareddyk | Asked On: Jun 12th, 2008

Dear all,me is testing an application(web) which is developed by using the followingflex- gui.Net (c#) - web servicesPHP - some componentsJavascript - sessionsplease help me how to record the application ie, what are the protocol combinations I should use etc in loadrunner.

Answered by: papayamilkshake on: Jul 15th, 2008

Use Web (HTTP/HTML) protocol.  They will handle the sessions (with maybe a little correlation effort).  The Web Services can be recorded with Web (HTTP/HTML)  as well, however highly dependent on t...

Answered by: seenu_anand on: Jun 13th, 2008

Dear Reddy,When recording any web application using Any Load testing tool depends upon the request type the browser is sending. For Web application use HTTP/HTTPS Protocol and start recording. Enter U...

Response time

Asked By: gv.aarthi | Asked On: Jun 11th, 2008

There is an application which is having a response time of 2.5 seconds. After a minor hotfix, the response time increased to 4 seconds. If you need to provide a report to the client. What is the analysis you make in such a situation?

Answered by: papayamilkshake on: Jun 21st, 2008

Agreed on giving two different set of results, with and without the hotfix. You can also do a verification run and advise the user the impact on performance after the hotfix is been implemented. This goes back to what is the intention of the report to the user.

-papayamilkshake

Answered by: seenu_anand on: Jun 13th, 2008

It would be good if you provide both the response time with and with out the Hotfix.
This would be a comparision and the client can think whether to include that Hotfix or not.

Loadrunner patches

Asked By: Roses | Asked On: May 28th, 2008

What are patches and how do you know if you need to have one for your loadrunner to work?

Answered by: papayamilkshake on: Jun 21st, 2008

I don't think there is a straight forward answer for this. Usually patches are needed when certain situation arises. Therefore, study the environment for load test well and make an assessment with the basic installation (Read Me file).

-papayamilkshake

Proxy in ie

Asked By: sajininag | Asked On: May 12th, 2008

What will be proxy in ie while recording the script vugen

Answered by: papayamilkshake on: Jun 21st, 2008

Vugen will detect the proxy settings in IE, no changes needed. Unless you have different proxy settings such as automatic detect or specified.  In anyway, during replay just ensure that the script is...

Answered by: seenu_anand on: Jun 13th, 2008

The VUgen will automatically identifies you IE Proxy settings. Keep the Proxy setting to default like you access the application through internet. If at all if your application is running using some p...

Loadrunner visual basic application

Asked By: tester_noor | Asked On: Dec 13th, 2007

I want to test the visual basic application. Which protocol should I use by load runner ? Please let me know detail.

Answered by: papayamilkshake on: Jun 21st, 2008

First, you have to understand how the application works.  Basically, understanding the communication mechansim will help you enable choose the right protocol.  Example, if the VB is communicating to a...

Answered by: boyina on: Feb 4th, 2008



You can use either COM/DCOM protocol or ODBC,

Based on the Data base also u can use the protocol like your database is Oracle then u can user Oracle2-tier

How do you perform performance testing for three-tier application in loadrunner

Asked By: pradeep | Asked On: Sep 9th, 2007

I have an application with the following architecture: three-tier standard (web server, app server & database). How do I go about performance testing this application?

Answered by: TestQTechnologies on: Feb 4th, 2008

1. Select the Protocol type as Web(HTTP/HTML)2. Start & Stop recording on the Application (Browser level API)3. The recorded events on the Application calls loading from the Web/Application Server to ...

Answered by: papayamilkshake on: Sep 13th, 2007

1. Record the user activity at the browser level.
2. COnfigure the loadrunner and servers for monitoring the Web, App and DB server.

For this you can refer to the documentations that is provided by the installer.

-papayamilkshake

Protocols for loadrunner testing Java desktop application

Asked By: nayela | Asked On: Jun 11th, 2007

Which protocol to use in loadrunner for testing a desktop application developed in Java?

Answered by: Tadikis on: Feb 8th, 2008

Its better to go for the loadrunner 9.0 because its having lots of futures to support the desktop apps. Use CLICK AND SCRIPT.

Answered by: spicemit on: Dec 7th, 2007

LoadRunner 8.2 has the capability of recording purely desktop based activities. Use Protocol Web_Click&Script for the same.

How do you find out memory leak using load runner

Asked By: anand | Asked On: Apr 19th, 2007

Answered by: reachsanthan on: Apr 2nd, 2008

correlate Hits/sec graph with running Vuser graph, if you have any memory leak then hits/sec graph will be saturated it won't get spiked according to more number of vusers  gets in.

Answered by: gampatriveni on: Mar 17th, 2008

Hi,
According to my knowledge best way to detect memory leak is by conducting soak testing.

Let me know how many people agree with this answer nd let me know the correct answer if my answer is wrong.
Thanks

I need to do performance testing for a client server application. If I have to set up the load testing environment what all information do I need in terms of the server or db or controller/vugen. I know...

Asked By: Avis | Asked On: Jul 6th, 2006

Answered by: papayamilkshake on: Oct 23rd, 2007

You've to verify the type of DB connection are you making to the DB.  It might be using ODBC or JDBC which translates to the type of protocol used.  Also, other than DB type of protocols, you may also...

Answered by: Meet Kamal Kaur on: Apr 6th, 2007

In order to test a client server application, you need to know the following parameters:1) First of all, you need to know the number of users who work on the application on an average. 2) you also nee...

I have an application under test which is of 3-tier architecture, it has a web server, app server, database server, basically loadrunner monitors the load on the webserver when a script is run on the controller....

Asked By: mramkumar7 | Asked On: Mar 29th, 2006

Answered by: papayamilkshake on: Oct 23rd, 2007

For this, be it any type of servers (app, web or db) in a 3-tier architecture, all you have to do is to configure the monitors on the respective servers and the statistics will be collected accordingl...

Answered by: ramana reddy on: Nov 17th, 2006

we can add site scope and intra scope for application seraver and also for db server.these are external tools.we have to get license

What is transaction performance graph.

Asked By: Interview Candidate | Asked On: Jul 30th, 2005

Display the average time taken to perform transaction during each second of the scenario run.

Answered by: papayamilkshake on: Sep 30th, 2007

The transaction performance graph is to illustrate the performance of the transactions plotted against load being generated in a load test.  This is good if you want to relate load against transaction timing.

-papayamilkshake

What is load runner.

Asked By: Interview Candidate | Asked On: Aug 18th, 2005

Load runner accurately measure and analysis the system performance and its functionality.

Answered by: Testing1234567890 on: Oct 12th, 2009

LoadRunner is a load testing tool that predicts system behavior and performance.

It exercises your entire enterprise infrastructure by emulating thousands of users and employs performance monitors to identify and isolate problems.

Answered by: papayamilkshake on: Sep 11th, 2007

LoadRunner is a load testing tool that facilitates load testing against application thus determining the behavior of the application (server and network) when under normal load, stress or prolonged te...

What are the reasons why parameterization is necessary when load testing the web server and the database server.

Asked By: Interview Candidate | Asked On: Jul 6th, 2005

Answered by: vinodkumarar on: Jul 19th, 2010

Parameterization is used to specify the different values from the client end to the server so that the scripts can use this value dynamically and we measure the performance transaction timers efficien...

Answered by: manjunath_shikar on: Jul 21st, 2009

Parameters are like script variables. They are used to vary input to the server and to emulate real users. Different sets of data are sent to the server each time the script is run. one script can emulate many different users on the system. 

Load runner function - how to get current system time

Asked By: Interview Candidate | Asked On: Jun 21st, 2005

This function is developed to usein mercury load runner peformance tool.This main use of this functions to return the current system time at any given point of time while load runner script is running.This functiona can be used to report transaction times , script starti time and end time. long...

Answered by: soori.p on: Jun 3rd, 2008

typedef long time_t;

Action()

{

     time_t t; 

lr_message("Time in seconds since 1/1/70: %ldn", time(&t));

     lr_message("Formatted time and date: %s", ctime(&t));

     return 0;

}

Answered by: papayamilkshake on: Sep 11th, 2007

You can utilise the parameter value for "Date/Time" where Vugen can extract the date for you depending on the format you want.  This is much simpler in writing codes.

-papayamilkshake 

What usually indicates that your virtual user script has dynamic data that is dependent on you parameterized fields?

Asked By: Interview Candidate | Asked On: Apr 8th, 2005

Answered by: gorbysbm on: Apr 13th, 2011

The original post is about parameterization, not correlation.You would know that your script has been parameterized if you see custom variables in the script. for example here is one for login: www.ya...

Answered by: papayamilkshake on: Sep 11th, 2007

The script should fail when replayed may signifies a dynamic variable.  In this case, watch out for "sessionid" or related type of variables.  Also, a good way is to re-record the script to detect the differences. 

- papayamilkshake

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: