Known issues for Web - HTTP/HTML
Tip: For general VuGen troubleshooting and limitations, see Known issues 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 (select the relevant version).
- Port mapping configurations is not supported in the Proxy Recording mode.
- 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 earlier LoadRunner versions, 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 earlier 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 Professional CA certificate. To install the certificate:
- Copy the certificate file wplusCAOnly_Expiration_2022.crt from the <LoadRunner Professional root>\bin\certs folder, to the location of the Java keystore file, cacerts. This example assumes the typical folder, C:\Program Files (x86)\Java\jre<version>\lib\security.
- Rename the file to wplus.crt
- Open the command prompt, and go to the keystore file's folder, by typing cd C:\Program Files (x86)\Java\jre<version>\lib\security.
- Run C:\Program Files (x86)\Java\jre<version>\bin\keytool –list –keystore cacerts.
- You should see the list of all installed certificates. When prompted for a password, enter changeit.
- Run C:\Program Files (x86)\Java\jre<version>\bin\keytool –import –file wplus.crt –keystore cacerts –alias LoadRunnerCA --trustcacerts. When prompted for a password, enter changeit.
- Record your secure application.
See also: