Performance test _LoadRunner common errors

1. The LoadRunner installation process prompts the lack of microsoft visual c++ 2005 sp1 runtime components

Reason: LoadRunner failed to recognize the microsoft visual c++ 2005 sp1 component;

Solution: Enter ...\loadrunner11\lrunner\En\prerequisites\vc2005_sp1_redist (...represents the installation path of Loadrunner), and re-execute the exe file.

2. LR script recording process, the script is empty

the reason:

  1. The IE browser version is incorrect;
  2. Internet Explorer is not set as the default browser;
  3. IE browser does not remove third-party browser extensions;
  4. The host opens anti-virus software;

Solution:

  1. Ensure that the IE browser is IE8 or IE9 version;
  2. Set IE browser as the default browser;
  3. IE settings disable "third-party browser extensions", that is, uncheck the "third-party browser extensions" item;
  4. Close all anti-virus software.

3. The script recorded by LoadRunnerLR is garbled

Reason: The character encoding format returned by the server is inconsistent with the recorded encoding format

Solution: In Start Recording (or Tool)-->Options-->Advanced-->Support charset -->check UTF-8, and then re-record the script;

​​​​​​​4、Error-26601:Decompression function failed

The Controller executes the scene process and prompts an error message: Error-26601: Decompression function (wgzMemDecompressBuffer) failed, return code=-5 (Z_BUF_ERROR), inSize=0, inUse=0, outUse=0

Reason: This error is because the data package is too large, the download is not complete or other reasons cause the decompression error

Solution: Increase the network buffer size, the default value is 12288, the steps are as follows:

1) Enter Run-time Settings;

2)Internet Protocol->Preferences->Options->General->network buffer size 改大,如122880;

​​​​​​​5. During the execution of the scene, some users report an error over time

Error message: Error -27728: Step download timeout (120 seconds), causing some users to fail to log in

the reason:

  1. The machine where the agent is installed cannot ping the target network;
  2. Some nodes of the server are down, resulting in only some nodes being available, so that the application server cannot respond to the request initiated;
  3. Ngix load balancing fails, causing all requests to be allocated to one node, resulting in unresponsiveness caused by the node being full;
  4. Due to slow execution of SQL itself;

Solution:

  1. Ensure that the installed agent machine is in the same network segment as the control machine;
  2. Check the node status of weblogic;
  3. Check the distribution of weblogic node requests;
  4. Need to develop and optimize SQL, etc.;

 

6. Uneven requests sent to the service node during stress testing (only sent to one node)

the reason:

There is a problem with cluster deployment. The allocation strategy uses iphash. The request will use the hash algorithm to calculate the server ip based on the ip. Requests for the same ip will only go to the same node

 

Solution:

Remove the iphash configuration of nginx allocation strategy

​​​​​​​7, Controller cannot select multiple load machines at the same time when building a scene

Reason: The built scene did not press the check percentage mode;

Solution: Check the percentage distribution mode when creating a new scene;

​​​​​​​8, execute the scene process, prompting the association failed

报错信息:Error -35061: No match found for the requested parameter "CorrelationParameter_3". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 256 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-35061]

the reason:

  1. The left and right boundaries of the correlation function are incorrect (if this is the reason, it will appear when the script is played back);
  2. The provided users do not meet the requirements, such as invalid users;
  3. A certain xml file was modified by the developer;
  4. Uncleared cache for each iteration, resulting in the acquisition of the last sessionid;

Solution:

  1. Adjust the left and right boundaries of the associated function to make it normal during script playback;
  2. Exclude invalid users;
  3. Let developers replace normal xml files;
  4. 在Run-time Settings-->Browser Emulation -->simulate a new user on each iteration

9. Download resource timeout error

报错信息:Error -27727: Step download timeout (120 seconds)has expired when downloading resource(s).

the reason:

  1. Application service parameter settings are too large, resulting in server bottleneck
  2. There are too many pictures on the page, which causes the download timeout
  3. Check that the field is too large or too many when the program processes the table
  4. Limited bandwidth

 

Solution:

  1. 1, 2, 3 points to find development optimization
  2. 4 points need to increase bandwidth

 

10. Compatibility issues

LR installed on win10 system does not support controller execution scenarios

 

Guess you like

Origin blog.csdn.net/weixin_46285621/article/details/113104648