Sunday 13 April 2014

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.

Error “License security violation. Operation is not allowed”

Solution:
If you are applying “TEMPORARY” license, it will not work if LoadRunner was previously installed with a “TEMPORARY” or valid license key. You need to contact HP Customer Support for a valid license key.

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: “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 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.

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

To identify the SSL protocols and certificates used by a website in OpenSSL and LoadRunner, you can follow these steps:

1. Launch OpenSSL in the command prompt or terminal. Make sure you have OpenSSL installed on your machine.

2. Connect to the website using OpenSSL by running the following command:

openssl s_client -connect <website>:<port>

Replace `<website>` with the actual website URL and `<port>` with the appropriate port (usually 443 for HTTPS).

3. OpenSSL will establish a connection with the website and display information about the SSL certificate, protocols, and other details. Look for the following information:

- Certificate issuer: This indicates the entity that issued the SSL certificate.
- Certificate subject: This represents the website's information that the certificate is issued for.
- Validity dates: Check the "Not Before" and "Not After" dates to determine the certificate's validity period.
- SSL/TLS version: Look for the "SSL-Protocol" or "TLS-Protocol" field to identify the SSL/TLS version being used.

4. Analyze the output to identify the SSL protocols and certificates used. It may include information about the certificate chain, intermediate certificates, and the root certificate authority (CA).

Regarding LoadRunner, you can use the web_custom_request function to retrieve SSL-related information.

Sample Code:

int result;
result = web_custom_request("SSL_Info",
"URL=https://easyloadrunner.blogspot.com/",
"Method=HEAD",
LAST);


 The web_custom_request function will send a HEAD request and capture the SSL-related information in the LoadRunner output. LoadRunner supports various protocols and extensions, including HTTPS/SSL. Ensure that you have the appropriate SSL-related modules or add-ins installed and configured in LoadRunner to enable SSL/TLS analysis.

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 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 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.

Bugzilla interview questions?

What is Bugzilla?Bugzilla is a bug tracking system developed at mozilla.org.

How do enter a bug in Bugzilla?To enter a bug, through "Enter a new bug" link from the main Bugzilla page. This will take you to a product selection screen.

What happens once enter a bug?After you enter a bug, mail is sent both to you and the QA department. A member of the QA department will verify that they can reproduce your bug.

How do search a bug?To search a bug, through "Query" link from the main Bugzilla page.
How do submit a patch?The new Bugzilla system supports the attachment of patches, test cases, and various other forms of file types directly from the bug report screen. Just click on "Create an attachment"

Are cookies required in Bugzilla?Yes.

How can you view your assigned bugs?We can view the assigned bugs though “My Bugs” link.

How can you generate bug report?We can generate bug report through “Report” link.

When Bugzilla was released?Bugzilla was released in 1998.

Which language was written Bugzilla first time?Bugzilla was originally written in "TCL".

Who developed the Bugzilla?Terry Weissman

Which language Bugzilla written?"Perl"

What are the Bugzilla fields?Bugzilla have 11 fields like-
(1)Product
(2)Component
(3)Version
(4)Platform
(5)OS
(6)Priority
(7)Severity
(8)Assigned To
(9)URL
(10)Summary
(11)Description
How can you edit your account in Bugzilla?We can use "User Preferences" link.

How can you add new Product in Bugzilla?We can use "Product" link for adding new product.

How can you add Components of product in Bugzilla?We can use "Components" link for adding components in Bugzilla.

How can edit version of any product in Bugzilla?We can use "Edit Versions" link.

"Memory violation error "in Load Runner

Reasons for this:
  1. C pointer errors,C programming invalid declarations
  2. Memory full
  3. Not enough Memory for what you need to place in a defined space
  4. Memory not yet allocated before attempting to use it
  5. Memory allocated but not deallocated
  6. Trying to copy a non pointer version of a datatype to a pointer defined version of a datatype, such as copying a character array to a pointer to a character array
  7. Generally unless you have a hardware issue this is a developer error