Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all 12134 articles
Browse latest View live

306|error|500|Validation of viewstate MAC fail

$
0
0

Hi All,

Could you please help me on the below error I am getting while replaying my script:

306|error|500|Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

 

Please suggest ways to mitigate this issue. I have correlated the viewstate, what additional steps needs to be taken to solve this issue.

 


Its a bit urgent. Please reply fast. Appreciate your help.

 

Warm Regards,
Koushik


306|error|500|Validation of viewstate MAC failed

$
0
0

Hi All,
Could you please help me on the below error I am getting while replaying my script:
306|error|500|Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

Please suggest ways to mitigate this issue. I have correlated the viewstate, what additional steps needs to be taken to solve this issue.


Its a bit urgent. Please reply fast. Appreciate your help.

Warm Regards,
Koushik

Re: Using truclient with SAP webdynpro application

$
0
0

Hi, Jürgen

The web/html option does work although I have to do a huge amount of correlations. On top of that, I have only finished 3 scripts so far and already written 2 C programs for the correlation. Sure, I am new to LR and I don't find it very user friendly.

 

Since the functional team will take over the test script creation and none of them has used LR before, TruClient is probably the best option. TruClient doesn't require correlation if it actually works. I am hoping if someone can share his experience on the forum if they can get it to work with SAP.

 

By the way, does going to LR training help with the SAP test scripts? From what I heard, the SAP webdynpro apps are quite different from the other web applications.

Thanks,

Jonathan.

 

How to delete unnecessary steps in TruClient IE fully

$
0
0

hi,Team,

 

In TruClient IE,I deleted all steps,and added new step,but the first step number wasn't 1.It seem I can't delete them fully.

 

How can I get a clean script?

 

Thanks,

-Darren

Re: what is "Total Transactions Number"

$
0
0

Hello,

 

"Total Transactions Number" means total number of transaction name ( you can see it in the summary report page)

 

Ex:

 

Total_transaction_number.png.

 

 

 

 

 

Best regards,

Hung

Re: Loadrunner 12.01 is it compatible with chrome lates version.

$
0
0
Hi, I am using LR 12.01 to record my application with chrome v40 , I am selecting delayed mode and closing all the open session before starting but i can see it is too slow or getting hanged. Please let me know if there is any work around or I have to downgrade the chrome.

Application not able to record using Cisco Mobility client VPN using LR.

$
0
0

Hi All,

 

I am trying to record an Appliction (Retail) using LR 12. I have Chrome 40 installed and I am connecting the application through Cisco AnyConnect Secure Mobility Client VPN. Appliction is accessible without the tool.

 

But when I try to record using tool , its not albe to record the appliction.

 

Any settings do we need to make for this to make it happen.

 

Pls advise.

Re: what is "Total Transactions Number"


Oracle NCA protocol not running in Controller for multiple users

$
0
0

Hi,
 
I am facing an issue with an Oracle NCA+WebHttp protocol script that it works with 1 users but getting failed for multiple users load after login transaction.
 
It fails exactly at the line - nca_button_press("BLK_HCS0000_HCS202100_0");
 
Error is: object is not diplayed.
 
I have already tried below -
1. It's recorded in VuGen 12.01 with enabling object name for the appl.
2. I have corrleated all the values such as NCJsessionID, etc
3. Login, logout are placed as part of Action block itself.
4. Application support more than one connetion with same users Id.
 
Please let me know if any of you face this issue before. Attached is the script for your reference.
 
Is there any run time settings needs to be changed? Appreciate you response.
 
Thanks,
Shakul
 

Response Time of each tier in 3-tier architecture Application

$
0
0

Hi,

 

I am working on 3-tier architecture application (Client > Webserver > Database)

 

I want to bifurcation the response time in client > webserver > database.

 

Using Loadrunner, can we get the response of each tier in 3-tier architecture application?

 

If it is possible then could you please explain me how we can get the response time of each tier.

Re: Unable to launch Oracle Forms

$
0
0

Hi, As per the LoadRunner PAM (product availablity matrix), I dont find JRE 8 supported. Please check with HP Support. Attached is the PAM.

 

 

Re: vugen 11.52 "run-time viewer" not working during replay (on my machine)

$
0
0

Hi

 

You can try register these 4 dll manually and see if it could help :

 

regsvr32  brwsr_ex.dll
regsvr32  RtbSupport.dll
regsvr32  WebBrwsr.dll

regsvr32  RTBComm.dll

 

Oren

Support Tip: Error: 27776: Server shut connection during attempt to negotiate SSL session.

$
0
0

During the replay of a script via an HTTPS connection to the SSL Web server, the script fails with the following error:

 

"Attempting to reuse saved session db 1e 00 00 dc 9f 20 9f ab 8b b8 a1 4e 8a c4 ad 97 e6 14 66 74 0e 42 cb af d6 9d 87 bd 67 d4 a3, time=1115737680, timeout=300
SSL State: (before/connect initialization)
SSL State: before/connect initialization
SSL State: SSLv3 write client hello A
SSL State: error in SSLv3 read server hello A
SSL State: failed in SSLv3 read server hello A
Error -27776: Server "[server_name]" shut connection during attempt to negotiate SSL session"

 

This error is caused due to an SSL session being reused. Information from previous handshakes is incorrectly put into the failing SSL handshake.


To fix this issue, you can Limit the number of connections open from the client to the server


You can reduce the amount of connections simultaneously opened to a Web server by using the following statement in the script:

 

   web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1");

 

It has been found that changing the number of open connections does not cause a significant change in performance. Performance issues are more likely to be caused by other factors such as network congestion at a router/switch/hub than by the number of maximum connections allowed.

 

Also, make sure that Keep-Alive is set to "No." This setting can be found via Run-Time Settings -> Preferences -> Options -> Keep-Alive HTTP Connections.

 

For more details, You may refer to the following KB article:
https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM192848

Support Tip: Invalid OCSP signing certificate in OCSP response during recording a TC FF script.

$
0
0

An error pops up while recording a script usin Truclient firefox protocol.
Invalid OCSP signing certificate in OCSP response.

(Error code: sec_error_ocsp_invalid_signing_cert)
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.

Cause: This is due to the flag OCSP Stapling which is enabled.
Fix: The flag has to be disabled at Truclient level. If we disable at browser level, then the error comes with new script again.

Adding the line

user_pref("security.ssl.enable_ocsp_stapling", false);
into the 'user.js' file which is located under  C:\\Users\\userID\\AppData\\Roaming\\Hewlett-Packard\\LoadRunner\\Web2\\LrWeb2MasterProfile of PC Host machine.,

By default, the setting is loaded from C:\\Users\\userID\\AppData\\Roaming\\Hewlett-Packard\\LoadRunner\\Web2\\LrWeb2MasterProfile
So changing the setting directly from browser won’t help, making the change directly from the mentioned directory will make VuGen load it by default.

Support Tip: Error: -27778 : SSL protocol error when attempting to read with host.

$
0
0

When running 1 Vuser on the Controller against localhost, the following error occurs even though the script replays fine in VuGen:

 

Error: -27778 : Action1.c(xx): Error: SSL protocol error when attempting to read with host "abcd.com"
Action1.c(xx): t=82568ms : error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record mac.

 

Consider the following possible workarounds to this intermittent SSL error when replaying a LoadRunner scenario:

 

1. Add the following statement to the beginning of the script:


     web_set_sockets_option("SSL_VERSION", "3");


This forces the SSL connection to the server to use version 3 of the SSL protocol rather than letting the server suggest a version during the connection handshake.

 

2. Add the following statement to the beginning of the script:


   web_set_sockets_option("MAX_CONNECTIONS_PER_HOST","1");


This forces a single TCP connection from the Load Generator to the server under test, thus eliminating the possibility of the server prematurely shutting down an existing connection and causing errors when LoadRunner sends data using that connection.

 

It has been found that changing the number of open connections does not cause a significant change in performance. Performance issues are more likely to be caused by other factors such as network congestion at a router/switch/hub than by the number of maximum connections allowed.

 

3. Disable the LoadRunner Controller Web Page Diagnostics if there is a proxy server located between the Load Generator and the server under test. To disable Web Page Diagnostics from the LoadRunner Controller:

 

    a. In the LoadRunner Controller Design tab go to Diagnostics->Configuration
    b. Select "Disable" tab for "Web Page Diagnostics"
    c. Click "OK" to close the diaglogue to complete the setup
    d  Save the scenario and run it


Note, this workaround removes the Web Page Component Breakdown data from a subsequent Analysis session using  Graph -> Add New Graph -> Web Page Diagnostics.

 

4. If none of the above helps, then use the WinInet Replay engine. To do so, go to Run-Time Settings -> Preferences -> Select "WinInet Replay Engine instead of Sockets (Windows Only)."

 

You may refer below KB link for more details:

 

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM171292


Support Tip: Error -27778: SSL protocol error when attempting to connect with host.

$
0
0

When you replay an SSL encrypted script in Vugen, It fails with the following error;

 

Error -27778: SSL protocol error when attempting to connect with host "<Certificate Server>", Snapshot Info [MSH 1 2]   [MsgId: MERR-27778]

 

The correct SSL server, Cipher and version was already set according to the document Error: "Cannot connect to remote server" in the Recording log when recording against HTTPS sites.

 

An openssl verify command against the .pem file included in the script directory prints the following error;

 

"C:\Program Files (x86)\HP\LoadRunner\bin\openssl" verify "C:\<Script Directory>\<PEM File>.pem"
...
error 20 at 0 depth lookup:unable to get local issuer certificate

 

This error shows that there is a certificate hierarchy which was not included in this .pem file.

 

You need to add all the certificates in the certificate hierarchy for the SSL certificate to a .pem file (e.g. CAs.pem) and

include this .pem file by adding the following line at the beginning of the script:

web_set_sockets_option("LOAD_VERIFY_FILE","CAs.pem");

 

For more details, you can refer to the below KB article link:

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM1372722

Support Tip: How to find the SSL Version and Cipher type used by a secure website.

$
0
0

You can find the SSL Version and Cipher type used by a HTTPS website. You can as well set SSL Version and Cipher type through the script.

 

From DOS prompt, type OPENSSL s_client -connect www.yourwebsite.com:443

 

In order to find the SSL cipher being used by a particular HTTPS website, You can follow the steps specified below:

 

1. Launch a DOS Prompt.
2. Browse to the LoadRunner\bin folder.
3. Type in openssl and press ENTER. After this you would notice the prompt change to OPENSSL>.
4. Type in the following command

 

   OPENSSL>s_client -connect www.yourwebsite.com:443

The above statement will make the initial SSL handshake and the display output after the handshake is completed. The information will look as follows:

   ---
   New, TLSv1/SSLv3, Cipher is RC4-MD5
   Server public key is 1024 bit
   SSL-Session:
   Protocol : TLSv1
   Cipher : RC4-MD5

 

This indicates that the SSL Version is 3 and the SSL Cipher being used is "RC4-MD5."

 

The SSL version and Cipher type can be set in Vuser script using the web_set_sockets_options() function.

 

Note:If you get error as shown below, make sure that you are able to ping the server from the machine from which openssl command was run.


gethostbyname failure
connect:errno=11004
error in s_client'

 

For more details, You may refer to the below KB link:
https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM177385

Support Tip: Error -27776: Server "xx" shut connection during attempt to negotiate SSL session

$
0
0

You may encounter the below error in Vugen while replaying a web http/html script:

 

Error -27776: Server "x.x.x.x" shut connection during attempt to negotiate SSL session

 

This issue is caused due to LoadRunner using a different SSL version 2.0, however the environment uses TLS protocol.

 

Use this function at the begining of the script resolves the issue:

 

web_set_sockets_option("SSL_VERSION", "TLS");

 

For more details, refer the following KB article link:

 

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM1158379

 

 

Support Tip: Error -27778: SSL protocol error when attempting to connect with host hostname.

$
0
0

While replaying a Web Click & Script protocol/web http/html protocol script recorded against a secure HTTP (HTTPS) site, the following error was reported in the VuGen replay log:

 

Action.c(7): Error -27778: SSL protocol error when attempting to connect with host "<hostname>" [MsgId: MERR-27778]
Action.c(7): t=2320ms: Closed connection [0] to <hostname>:7002 after completing 0 requests

 

What does this error message mean and what action should be taken to ensure that the script replays successfully?

 

This error indicates that VuGen failed to negotiate the SSL version and cipher to use to interact with the server.

 

As the script was recorded successfully, the VuGen recording log should be inspected to determine the SSL version and ciphers used during recording.

 

In this case the following entries were found:

 

[Network Analyzer ( cf0: ae8)]   (Sid:  2) Negotiate Proxy -> Server SSL Handshake (ssl:TLSv1, ciphers:AES256-SHA)
[Network Analyzer ( cf0: ae8)]   (Sid:  2) Negotiate Client -> Proxy SSL Handshake (ssl:TLSv1, ciphers:RC4-MD5)

 

The "web_set_sockets_option" function may be used to instruct VuGen to use a particular SSL version if necessary. In this case it was found that setting the SSL version to "TLSv1" by adding the following at the start of the script allowed it to replay successfully:

 

web_set_sockets_option("SSL_VERSION", "TLS");

 

For more information on this function, see the Function Reference in VuGen. To access this use Help-> Function Reference.

 

For more details, You may refer to the below KB article link:

 

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM1360574

Re: Oracle NCA protocol not running in Controller for multiple users

Viewing all 12134 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>