How to verify the Vusers or Monitors that are currently licensed in load runner

How to verify license related information like Expiration dates, monitors purchased, and the number and type of Vusers.

For LoadRunner7.0 – 7.8 Feature Pack1:
a. Bring up the Controller and go to Help - About LoadRunner
b. Click on ‘License Info…’ and you will see the License Information.


For LoadRunner8.0:
a. Go to Start - Programs - LoadRunner - LoadRunner
b. Click on the ‘License’ menu and you will see the ‘Host ID’ on the screen.

How do I add a new License key in load runner?

For LoadRunner7.0 – 7.8 Feature Pack1:1. Bring up the Controller and go to Help - About LoadRunner. 
2. Click on "New License" and type in the new license key. 
3. Click .
4. Close the Controller and restart it; the new license key will be in effect.

For LoadRunner 8.0:1. Close the Controller
2. Go to Start - Programs - LoadRunner - LoadRunner
3. Click on the ‘License’ menu
4. Click on ‘New License’ and type in the new license key
5. Click , and to close the window
6. Bring up the Controller again.

How do I generate a HostID for a LoadRunner license in load runner

For LoadRunner7.0 – 7.8 Feature Pack1:a. Bring up the Controller and go to Help - About LoadRunner
b. Click on ‘License Info…’ and you will see the ‘Host ID’ on the screen.


For LoadRunner8.0:a. Go to Start - Programs - LoadRunner - LoadRunner
b. Click on the ‘License’ menu and you will see the ‘Host ID’ on the screen.

Note: If for some reason you are not able to get to this screen, you can run licidgenerator.exe in \bin directory to generate Host-id

How do I identify the SSL protocols and certificates used by a website when testing with LoadRunner

Cause -Understanding the SSL Protocols and certificates used by a website.
Solution -To identify the type of SSL and certs used on a web server, type the following commands from a Loadrunner client workstation :


  • Go to the Loadrunner/bin directory.
  • Type "openssl", this will then display an >openssl prompt.
  • Type "s_client - connect www.test.com:443" where test.com is your web site.

This will then return details of the web servers SSL configuration.

Other usefull commands to use in LoadRunner Web protocol scripts are as follows:

web_set_sockets_option("SHUTDOWN_MODE", "FAST");Allows the disconnection of the SSL session to be completed quickly.

web_set_sockets_option("SSL_VERSION", "TLS");
web_set_sockets_option("SSL_CIPHER_LIST", "RC4-MD5");
These options allow the version and cipher for SSL to be specified. Possible versions and ciphers are detailed in the Loadrunner Function Reference.

web_set_sockets_option("TRACE_SSL_IO","1");This option will detail all SSL IO in the normal vuser log.

web_set_sockets_option("PRINT_SSL_INFO","1");This option will detail the version and certificate used in the SSL configuration.

web_set_sockets_option("PROXY_INITIAL_BASIC_AUTH","0");This option disables the initial Basic authentication

Error: “License manager does not support objects of this type or license is invalid”

Verify the followings:
Check the properties of the license key. If you apply a license key that has components that does not come with that version of LoadRunner, you will get this error.
Example:Apply WAN emulation license (introduced in LoadRunner 7.6), or J2EE diagnostics (Introduced in LoadRunner 7.8 FP1) license on LoadRunner 7.5
Make sure that you are applying the license key on a machine where the license is generated for. In LoadRunner7.x, license keys are host lock. If you try to apply the license key on a separate machine, you will get this error.

Error: “Cannot install license information, probably access to system resource was denied”

Solution:
This error indicates that you need to log in with local administrator permission, since you installed the product with administrator permission. If you still get the error after login as local administrator, run setlicensepermissions.exe from the \bin directory to change the registry permissions

Error “License key was generated with a version superior to your license manager. Upgrade your license manager”

Solution:
Make sure the HostID that was sent to HP Customer Support was generated from the correct LoadRunner version. If you sent the HostID of LoadRunner 7.6, but apply the license key on LoadRunner7.0 install, you will get this problem.

Error: "License cannot be save in your installation directory. (Error code = -4) It will be used only for this session.

Solution:
Make sure that you have administrator privilege to the Controller. If you are accessing the Controller via the network, make sure that you have write access to the network.

Client Interview Question in Load runner

1) How you will get the requirements?

2) What is the differences between running vuser as a process and thread ?

3) Which functions are used in scripting ?

4) Work flow process of the perormance testing?

5) Have you used in controller ?

6) How you design a scenario in controller ?

7) Have written any functions in scripting ?

8) What are the bottlenecks you found?

9) Have you using goal oriented scenario ?

10) Tell me your project end to end process?

11) Tell me about your experience project profile

12) Your LR rating in 1 to 10 scale

14) What is protocol?

15) What is a memory leak?

16) Define Heap Usage?

17) Your past experience how many users you have run the test?

18) What are the bottlenecks you have find the current project? Tell me two critical bottlenecks

19) What type recommendations given to the client or stakeholder?

20) What protocol you worked in fast experience? How to work with that web service protocol in your project.

21) You have any use the heart beat settings did you used in current project?

22) How work is handled in the team?

24) You have 10 URLs? How to test the URLs in in at a time LR (i am not understand the Question)

26) You have any used the custom functions in your project?

28) When memory reach 100%, then ideally what you will think?

30) What type of reports and documents you have prepared? Explain the summary report.

32) Tell me the LR server requirements?

34) What type of analysis did you used in your projects? Tell me few observations and what parameter u have captured?

36) What you have done the Pervious projects? Explain the last project

38) What are other options in correlation function and did u used in your project?

Copying files larger than 2 GB over a Remote Desktop Services

When you try to copy a file that is larger than 2 GB over a Remote Desktop Services or a Terminal Services session through Clipboard Redirection (copy and paste) by using the RDP client 6.0 or a later version, the file is not copied. And, you do not receive an error message.


There are two methods for this

Method 1:Use Drive Redirection through Remote Desktop Services or a Terminal Services session if you want to transfer files larger than 2 GB.

Method 2:
Use command-line alternatives such as XCopy to copy files larger than 2 GB over a Remote Desktop Services or Terminal Services session. For example, you can use the following command:

xcopy \\tsclient\c\myfiles\LargeFile d:\temp
Copy and paste files:
You can copy and paste the files between the remote session and the local computer or between the local computer and the remote session by using the Copy and Paste feature. However, this is limited to files that are smaller than 2 GB.

Transfer of files by using Drive Redirection:
The drives on the local computer can be redirected in the session so that files can easily be transferred between the local host and the remote computer. The drives that you can use in this manner include the following:
  1. local hard disks
  2. floppy disk drives
  3. mapped network drives
On the Local Resources tab of Remote Desktop Connection, users can specify which kinds of devices and resources that they want to redirect to the remote computer.