Troubleshooting and Limitations - Web - HTTP/HTML Protocol

Tip: For general VuGen troubleshooting and limitations, see Troubleshooting and limitations for VuGen.

  • Certain POST requests may require HTTP headers which are not automatically generated in the recorded script. To add headers, use the web_add_header API function. For details, see the Function Reference.
  • Port mapping configurations is not supported in the Proxy Recording mode.
  • VuGen cannot get a client certificate from Internet Explorer 10 while recording a session.
    Workaround: Provide a client certificate in the port mapping settings.
  • When strong private key protection is set on a certificate and the WinInet mode is used during the replay, you may be required to manually enter authentication details when replaying the script.
  • In previous versions of LoadRunner, the C type "char" was considered a "signed char". In LoadRunner 11.50 and later, it is considered as an "unsigned char". If you used "char" without specifying whether it is signed or unsigned, and performed arithmetic operations on this variable, the results may be different when comparing current results with those from previous versions of LoadRunner.
  • When using certificates, if your script refers to the certificate by a wrong index number, such as web_set_certificate_ex("CertIndex=2", LAST), the authentication may fail.
    Solution: Regenerate the script (not for WinInet mode recording), or manually set the correct certificate index. To determine this, in Internet Explorer, open the Certificates list (Tools > Internet options> Content > Certificates) and use the order of the certificates as they are listed, beginning with 1.
  • When recording a Java application with SSL, you need to install the LoadRunner CA certificate. To install the certificate:

    1. Copy the certificate file wplusCAOnly_Expiration_2022.crt from the <LoadRunner root>\bin\certs folder, to the location of the Java keystore file, cacerts. This example assumes the typical folder, C:\Program Files (x86)\Java\jre6\lib\security.
    2. Rename the file to wplus.crt
    3. Open the command prompt, and go to the keystore file's folder, by typing cd C:\Program Files (x86)\Java\jre6\lib\security.
    4. Run C:\Program Files (x86)\Java\jre6\bin\keytool –list –keystore cacerts (no quotes).
    5. You should see the list of all installed certificates. When prompted for a password, enter changeit (no quotes).
    6. Run C:\Program Files (x86)\Java\jre6\bin\keytool –import –file wplus.crt –keystore cacerts –alias LoadRunnerCA --trustcacerts (no quotes). When prompted for a password, enter changeit (no quotes).
    7. Record your secure application.

See also:

Back to top