The laodrunner running scene is its own problem

一、 Error -27727: Step download timeout (120 seconds)has expired when downloading resource(s). Set the “Resource Page Timeout is a Warning” Run-Time Setting to Yes/No to have this message as a warning/error, respectively

Approach:

Run-Time Setting ------ Internet Protocol ------ Preferences ------Option ------ Step download timeout (sec)改为32000

A. The application service parameter setting is too large, causing the bottleneck of the server

  B. There are too many pictures on the page

  C. Check that the field is too large or too many when the program processes the table

2. Error phenomenon: Action.c(16): Error -27728: Step download timeout (120 seconds) has expired when downloading non-resource(s).

Error analysis: For the HTTP protocol, the default timeout time is 120 seconds (can be modified in LoadRunner). The client sends a request to the server. If the server does not return a result for more than 120 seconds, a timeout error occurs.

Solution: First set the timeout in the operating environment. The default timeout time can be set longer, and then set multiple iterations. If there is a timeout, you need to set it in "Runtime Setting">"Internet Protocol: Preferences">" Set a "winlnet replay instead of sockets" option in the Advanced area, and then whether the replay is successful.

三、Action.c(7): Error -27791: Server “192.168.1.77″ has shut down the connection prematurely

  The solution is as follows:

  1. The application server died. The problem of small user program, the problem of processing database in program

  2. The application service is not dead. Application service parameter setting problem. For example: in many client weblogic application servers are rejected, but no error is displayed on the server side, it is possible that the acceptbacklog attribute value of the server element in weblogic is set too low. If you receive a connection refused message when you connect, you should increase the value by 25% each time.

  3. Database connection

  The performance parameters of the application service may be too small, the maximum number of connections started by the database (related to the memory of the hardware)

  4. Sometimes closing Kaspersky will solve the above problem

  1) Observe whether the response time exceeds the default 120 seconds

  2) Check whether the server log is abnormal and whether the load is too high

  3) web_set_timeout sets a longer timeout limit

  Such as

  web.set_timeout(”CONNECT”, “360″);

  web.set_timeout(”RECEIVE”, “360″);

  web.set_timeout("STEP", "360")) Observe whether the response time exceeds the default 120 seconds. This problem requires detailed analysis. It should not be a problem caused by LR itself. Adjusting the time longer is to locate the problem, not to bypass the error.

四、Action.c(38): Error -27492: "HttpSendRequest" failed, Windows error code=12002 and retry limit (0) exceeded for URL

Set the value of preferences- ->options-->http-request connect timeout(sec) in runtime setting to 999.

5. Error phenomenon: Action.c(81): Continuing after Error -27498: Timed out while processing 

URL=http://172.18.20.70:7001/workflow/bjtel/leasedline/ querystat/ subOrderQuery.do

Error analysis: This error is often caused by excessive concurrency pressure, and the server is too busy to respond to the client's request in time. Therefore, this error is normal and is caused by excessive pressure. If this problem occurs when the pressure is low, there may be an error somewhere in the script. Check the script carefully. The error message prompted will locate the location of a specific problem.

Solution: For example, the above error phenomenon is located on a certain URL. You need to run the scene again and visit this URL on other machines at the same time. If it cannot be accessed or the time is too long, it may be that the server or the application cannot support such a large load. Analyze the server and optimize its performance. If there is a timeout phenomenon after running the scene again, analyze the reason in various graphs, for example, you can check whether there are problems with the server, DNS, network, etc. Finally, increase the runtime timeout settings. In "Run-Time Settings">"Internet Protocol:Preferences", click "options" and increase the value of "HTTP-request connect timeout" or "HTTP-request receive".

6. Action.c(6): Error -26612: HTTP Status-Code=500 (Internal Server Error) for http://192.168.0.8:10001/logonConsole.do;jsessionid={JSESSIONID2} caused HTTP-500 error, A friend told me the following possibilities:

1. If the number of running users is too large, the pressure on the server is too great, and the server cannot respond, an HTTP500 error will be reported. The problem is solved by reducing the number of users or the duration of the scene.

2. If the place that should be associated is not associated, an HTTP500 error will be reported. The problem is solved by manual or automatic association.

3. If the page, picture, etc. requested during recording cannot be found by the server during playback, an HTTP500 error will be reported. If the page is not important, you can comment it out in the script and the problem will be resolved. For example: in the case of a verification code, although it has been blocked during testing, a request was submitted during recording, but there was no response during playback.

4. If there is a problem with the value during parameterization, an HTTP500 error will be reported. The values ​​in the parameterization list can be tested in the actual application system to eliminate problems.

5. If you replace the application server (replacement of middleware, such as tomcat, websphere, jboss, etc.), or use the originally recorded script to run, it is likely to report an HTTP500 error. Because the processing mechanisms of various application servers are different, and the recorded scripts are also different, the solution is to re-record the script.

6. Windows xp2 is not compatible with ISS components, it may cause HTTP500 error. The problem is solved after adjusting the ISS components.

7. If there is a problem with the writing of the system development program, an HTTP500 error will be reported. For example, some pointer problems have not been handled properly, and there are null pointers. After modifying the program

problem solved.

Searching the background log found that a lot of 0ra-01000 errors were reported. This is because Oracle reached the maximum cursor parameter value. After google, the biggest reason may be that the JDBC connection is not closed. Finally, there was a problem with the weblogic connection pool, and many connections were not closed.

7. Action.c(15): Error-27496: Internal error (call customer service): _eStat (7) != LRW_ITEM_STAT_ENUM_UNHANDLED for HandledTask at 048E180C

8. Action.c(56): Error -27995: Requested link ("Text=Plan Management") not found [MsgId: MERR-27995]

Method: select the second script type in IE Tools—>Internet Options—>Advanced—>HTML Settings.

9. Error -27279: Internal error (call customer service): Report initialization failed, error code = -2147467259 [MsgId: MERR-27279]

It is recommended to reinstall LR. This kind of problem may be related to your installation. Dll file error is not that the written program can be modified.

10. The duration is set, and the error appears: 27796, Failed to connect to server'hostname';port_ld':'reason'.10048. (written from memory, I don’t know if it’s wrong) The successful solution:

In the registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters, there are the following two key values:

TcpTimedWaitDelay

MaxUserPort

1. The default value of TcpTimedWaitDelay here should be 30s, so here, reduce this value to 5s (adjust as needed).

2. You can also increase MaxUserPort (if this value is not the maximum value).

11. How to solve the error reported in LodRunner About Error -10489: Exception was raised when calling per-thread-terminate function When using Loadrunner to implement performance testing, the Goal mode is used to pressurize. If the controller of LoadRunner will continue to pressurize for a long time Report 

Error -10489 : Exception was raised when calling per-thread-terminate function错误;

 The cause of the problem:

    Unlike the earlier Windows versions, Windows 2000 and Windows XP have the default environment set to 

C:\Document and Settings\<user-name>\Local Settings\Temp instead of C:\Windows\temp. This long path with a space can cause several problems for LoadRunner. To resolve the issue, change to a directory without empty spaces. 

  Solution:

    Create a new TEMP folder on the C drive (or other drives are ok) (prepared for subsequent settings of temporary files)

    Right-click "My Computer"->Advanced->Environment Variables->Edit to modify the TEMP variable directory, point to the newly created directory above, such as mine point to C:\TEMP->Save it^_^

1> Problem description Connection reset by peer. Error code: 10054

Set timeout for downloads, etc.

After recording the script with VuGen, when playing back or pressurizing, the error message "Action.c(65): Error: socket6-Connection reset by peer. Error code: 10054" may appear

This is because the download speed is slow, which leads to a timeout. Therefore, you need to adjust the timeout period as follows:

In the Run-time setting window, set "Internet Protocol"-"Preferences" set advanced options (set advanced options), reset "HTTP-request connect timeout (sec)"

2> Problem description:

Error:Failed to connect to server“192.168.2.192”:[10060]Connection

Error:timed out Error:Server“192.168.2.192”has shut down the connection prematurely

the reason:

1> Application access is dead

Small user: procedural problems. There is a database problem on the program

2> The application service is not dead

Application service parameter setting problem

E.g:

Many clients are refused to connect to the Weblogic application server, but no error is displayed on the server side. It is possible that the AcceptBacklog attribute value of the server element in Weblogic is set too low. If you receive a connection refused message when connecting, it means that you should increase the value by increasing the size of the Java connection pool by 25% each time, or the JVM setting, etc.

3> Database connection

The performance parameters of the application service may be too small

The maximum number of connections started by the database (related to the memory of the hardware)

3> Problem description

Error:Page download timeout(120seconds)has expired

Analyze the reasons:

Application service parameter settings are too large, resulting in server bottleneck

Too many pictures on the page

Too many fields are checked when the program processes the table

12. Garbled characters appear in the LoadRunner script: Chinese garbled characters appear when recording the Web protocol script, and the playback will stop at the garbled position when the script is played back.

Can not operate.

Wrong phenomenon: A certain link or picture name is garbled in Chinese, and the script cannot be run.

Error analysis: The script recording may adopt the URL-based script method. If the character set defined by the program adopts the international standard, the script will appear garbled.

Solution: Re-record the script. Before recording the script, open the recording option configuration dialog box and set it. In the "Advanced" option of "Recording Options", first select "Surport Charset", and then select the option that supports "UTF-8" .

13. LoadRunner HTTP server status code: In the process of recording the web protocol script and replaying the script, the HTTP server status code will appear, such as the common page -404 error prompt and -500 error prompt.

Error phenomenon 1: -404 Not Found The server did not find a resource that matches the requested URI, but it can continue to run until the end.

Error analysis: The resource that matches the request URI has already been submitted once when the script is recorded. The same resource cannot be submitted repeatedly during playback, but the content of the submitted resource needs to be changed. Each time the script is played back, the submitted data must be changed. , To ensure that the actual environment is simulated, causing a certain load pressure.

Solution: Perform script association where the error occurred, and insert the corresponding function when necessary.

Error phenomenon 2: -500 Internal Server Error server internal error, script running stopped.

Error analysis: The server encountered an unexpected situation that prevented it from continuing to respond to requests.

Solution: This error is fatal, indicating that the problem is serious, and it needs to be checked from the location of the problem. At this time, the developer of this program is required to solve it, and the cause depends on the actual situation. The tester cannot be alone Solve the problem, and it should be resolved as soon as possible to facilitate subsequent testing.

14. LoadRunner request cannot be found: During the process of recording the web protocol script and replaying the script, there will be a phenomenon that the request cannot be found, which causes the script to stop.

Wrong phenomenon: Action.c(41): Error -27979: Requested form not found [MsgId: MERR-27979]

Action.c(41): web_submit_form highest severity level was "ERROR",0 body bytes, 0 header bytes  [MsgId: MMSG-27178]"

At this time, the related URL of this component cannot be seen in the tree view.

Error analysis: The selected recording script mode is incorrect. Normally, browser-based web applications will use the "HTML-based script" mode to record scripts; while there is no browser-based web application, the web application contains The Java Applet that the server interacts with, the browser-based application contains JavaScript/VBScript code that communicates to the server, and the browser-based application uses the HTTPS security protocol. In this case, the "URL-based script" mode is used for recording.

Solution: Open the recording option configuration dialog box to set, select "Recording Level" as "HTML-based script" in "Recording" in the "Internet Protocol" option of "Recording Options", click "HTML Advanced", select "Script Type" is "A script containing explicit". Then choose to use the "URL-based script" mode to record the script.

15. LoadRunner does not execute the inspection method: The inspection method Web_find is added to the recorded Web protocol script, but it is not executed during the script playback.

Wrong phenomenon: Insert the function Web_find in the script, set the checkpoint of text and image in the script, but the set checkpoint is not checked during the playback process, that is, Web_find is invalid.

Error analysis: Because the check function consumes a certain amount of resources, LoadRunner turns off the check of text and images by default, so after setting the checkpoint, you need to turn on the check function.

Solution: Open the running environment setting dialog box to set, and check the "Enable Image and text check" option under "Check" in "Perference" in the "Internet Protocol" option of "Run-time Settings".

16. LoadRunner playback Web Services protocol script error: LoadRunner 8.0 version is normal when recording the Web Services protocol script, but an error will occur during playback, prompting to stop the script running. Error phenomenon: There is no error message when using LoadRunner 8.0 to record the script of the Web Services protocol. The following error message will appear when the script is played back "Error: server returned an incorrectly formatted SOAP response".

Error analysis: The reason for this error is that LoadRunner8.0 has a defect when recording the script of the Web Services protocol: If the operating system of the server is Chinese, VuGen will automatically change the header of the WSDL file to <?xml version="1.0 "encoding="zh_cn" ?>, so there will be this error message.

Solution: Download two patches, which are "LR80WebServicesFPI_setup.exe" and "lrunner_web_ services_patch_1.exe" and install them.

http://wenku.baidu.com/view/a576eb0a79563c1ec5da71c8.html

17. Business: Enter the loan order (display the list of loan orders), create a new loan order, and display the list of loan orders after creation (the newly created loan order is displayed in this list)

I’m a recorded script. When it runs, it prompts Action.c(112): Error-26627: For "http://192.168.1.105:8080/T3/fee/feeLoanList.action", HTTP status code=404 (Not Found)

solve:

Say two things:

1. Manually normal may not be true. When LR is pressurized, the number of connections may be full, so a 404 is displayed.

2. There is also a situation where there are check statements in the script, what is called lr_check or something, that is, a script is used to check whether the resource is used. If you don’t see it, I can’t spell it out. If so, comment it out.

十八、Action.c(38): Error -27492: "HttpSendRequest" failed, Windows error code=12002 and retry limit (0) exceeded for URL

Set the value of preferences- ->options-->http-request connect timeout(sec) in the runtime setting to 999 Runtime Setting>Preferences>Advanced area to set a winlnet replay instead of sockets option (not check this item and report Error -27727)

19. Error -27279: Internal error (call customer service): Report initialization failed, error code = -2147467259 [MsgId: MERR-27279] 

Warning: The extension LrXml.dll reports an error -1 when calling the function ExtPerThreadInitialize

Error: Vuser failed to initialize the extension LrXml.dll.

Vuser Terminated.

I suggest you reinstall LR.

This kind of problem may be related to your installation.Dll file error is not something that the written program can modify.

Guess you like

Origin blog.csdn.net/u014179640/article/details/97001605