Skip to main content

Posts

How to access license information in loadrunner

License Saved Path in Loadrunner:
Log into your machineGo to Start -> Run, and type in regedit to open the Registry Editor.Navigate to HKEY_LOCAL_MACHINE->Software->Mercury Interactive->Loadrunner->License2. This key contain all the information permanent license, temporary license and license history.How to enter License in Loadrunner:

1. Close the Controller
2. Go to Start -> Programs -> LoadRunner -> LoadRunner -> Configuration
3. Click on the "License" menu
4. Click on "New License" and type in the new license key
5. Click <OK>, and <Close> to close the window
6. Bring up the Controller again.

To see the current license being used by the Controller, and to see other license related information like Expiration dates, monitors purchased, and the number and type of Vusers, do the following:

1. Close the Controller
2. Go to Start -> Programs -> HP LoadRunner -> LoadRunner
3. Click on Configuration -> LoadRunner Licen…

Error:Invalid Argument number Loadrunner Issue and Solution

The following solution resolve your Invalid argument Issue.

web_url("Loadrunner Page",
"URL=http://www.loadrunner.com/",
"TargetFrame=",
"TargetBrowser=Loadrunnerz ",
"Resource=0",
"RecContentType=text/html",
"Snapshot=t1.inf",
"Mode=HaabcTML",
LAST );

Error -27216: Invalid argument (number 8).Invalid argument Loadrunner Issue.

This issue occurs when you pass some wrong argument in the request for example in the request the mode should be HTML but you send HaabcTML. Then we will get the error as invalid argument.

In Loadrunner 11.5 we have clear error so that we can understand better.

web_url("Loadrunner Page",
"URL=http://www.loadrunner.com/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Snapshot=t1.inf",
"Mode=HTaaML",
LAST ); return 0;
}
Error -27221: Invalid value for the "Mode" argument (number 7)      [MsgId: …

How to Resolve Restart Vugen Issue in Loadrunner

How to recover from the following Vugen Restart issue in loadrunner.

Vugen has encountered a problem and needs to close. We are sorry for the inconvenience.
Vugen will try to recover any unsaved data you were working on.
Restart Vugen
Please tell HP about this problem.
We have created an error report that you can send to help us improve Vugen. We treat this report as confidential and anonymous.

Selecting any option during the error popup the vugen will crash.

Sometimes you can recover from the crash. Open the temp folder (Go to Start ->Right click and click on explore ->Local Setting->Temp) in your system and find out the script name started with noname and the date and time recently recorded. Open the script and goto Tools -> click on Regenerate the script. The script will be regenerated.

If the above option did not work try the below option.

Go to Windows Start -> and click on “Run”

Type “Regedit” and enter.

Go to "HKEY_LOCAL_MACHINE/SOFTWARE/Mercury Interactive/LoadRu…

What is the Difference Between Thread and Process

Process and threads are independent of each other. Threads share the resources effectively when compared with the process.
In Loadrunner we have two options:
Go to Runtime Settings->Miscellaneous -> Multithreading
Run Vuser as a process
Run Vuser as a thread
Go through the below links and videos to better understand the difference between process and thread.

Multithreading in Windows

Multithreading in C and Win32
Multihreading by Java9s


 Multithreading by JavaVids


Performance Testing on IBM Websphere using Loadrunner MQ Series

In this article I will show you how to work with Performance Testing on IBM Websphere. We use MQ Series protocol in Loadrunner 11.5x and the various options and softwares required to work with MQ Series Protocol.

Follow the below steps to work with MQ Series:
Install WebSphere MQ Version 5.3 or higher and this can be downloaded from IBM Website

Install MQ Tester from Loadrruner Software Additional Components Folder.
We have two options Vugen or Controller or Full Setup. After the installation completes, we will have two new protocols MQ Series Client and MQ Series Server. We can do scriprting using these protocols.
The current version of MQTester is MQTSv3.4.1

lr_continue_on_error function and its usage in Loadrunner

In Vugen if an error is detected the vugen automatically stops the execution. But sometimes the script need to be continued even if the script fails. This can be achieved in the following way.
By using  Run-Tiime Settings:
Go to Vuser -> Run Time Settings -> Miscellaneous.
In Miscellaneous go to Error Handling and select Continue on Error. These setting applies to all the script including vuser_init and vuser_end.
By Using  lr_continue_on_error:
By using lr_continue_on_error function we can include a portion of the script instead of whole script. We need to enclose the requests that we are getting error in between lr_continue_on_error(1) and lr_continue_on_error(0)
lr_continue_on_error(1); web_url("Google", "URL=http://www.google.com/", "TargetFrame=", "TargetBrowser=Google ", "Resource=0", "RecContentType=text/html", "Snapshot=t1.inf", "Mode=HTML", LAST ); lr_continue_on_error(0); Controller Setting…

Loadrunner 11.52 supports Windows 8 and Internet Explorer 10

Yes, it true Loadrunner 11.52supportsWindows 8and Internet Explorer 10 but there are some limitations.
Windows 8 support is added in service pack 11.52. Loadrunner 11.52 supports Windows 8 x64 systems and Windows 7 x64. It does not support for Windows 8 x86 systems.
Restart is required after installing prerequisite Microsoft Visual C++ 2005 Redistributable Packages. After installing the prerequisites restart the machine before installing the setup.
Limitations
On a Windows 8 64-bit operating system, VuGen cannot record when creating a script using Citrix and Web in multi-protocol mode. Recording is also not supported for the Oracle Web App 11i protocol. This is because the 64-bit version of Internet Explorer 10 is currently unsupported for these modes and protocols. Terminal Emulation (RTE)  scripts cannot be recorded or replayed on Windows 8. The TruClient Ajax - IE protocol is not supported for the Windows 8 operating system.
Text Check
Insert Text check button will not be available on Vu…