How can I replace the date(2008/7/3) with the current system date.
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
Vuser script for Java swing desktop application
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
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...
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.
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...
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...
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?
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
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.
What are patches and how do you know if you need to have one for your loadrunner to work?
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
What will be proxy in ie while recording the script vugen
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...
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
I want to test the visual basic application. Which protocol should I use by load runner ? Please let me know detail.
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...
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
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?
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 ...
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
Which protocol to use in loadrunner for testing a desktop application developed in Java?
Its better to go for the loadrunner 9.0 because its having lots of futures to support the desktop apps. Use CLICK AND SCRIPT.
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
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.
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
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...
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...
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...
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.
Display the average time taken to perform transaction during each second of the scenario run.
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
Load runner accurately measure and analysis the system performance and its functionality.
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.
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...
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...
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
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...
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;
}
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
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...
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
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
Use the parameterization settings in Parameters. There is a date format that you can use to extract date.