51Testing软件测试论坛

标题: Action.c(48): Error -27740: [打印本页]

作者: han_xue1230    时间: 2007-5-9 14:44
标题: Action.c(48): Error -27740:
Action.c(48): Error -27740: Overlapped transmission of request to "192.168.1.11" for URL "http://192.168.1.11:8080/scm/?ticket=ST-34768-9Ql8Qgk22YMeuUCyo6Xn" failed: WSA_IO_PENDING
是什么意思?
作者: han_xue1230    时间: 2007-5-9 15:11
我把这个对应的关联取消了,就可以了,但是我不明白是怎么回事
作者: shanxi    时间: 2007-5-9 15:19
看这篇KB
Error: "-27740:Overlapped transmission of request to <HostName> for URL "http://...." failed [MsgId: MERR-27740]"

Problem Description: Error: "-27740:Overlapped transmission of request to <HostName> for URL "http://...." failed [MsgId: MERR-27740]"

When running a script in the Controller, Vusers error out with either of the following message:

"27740 : Overlapped transmission of request to <HostName> failed [MsgId: MERR-27740]"

"27792 : failed ot transmit data to network"

What does it means and what would most likely be the cause?

Diagnosis: This error means that transmission of data to the server failed. It could be a network, router or a server problem. The word Overlapped refers to the way LoadRunner send data in order to get Web Page Breakdown.




--------------------------------------------------------------------------------

Solution: Transmission of data to the server failed

If you are using LoadRunner 7.5, try to run without Web Page Breakdown for better diagnostics. It will print additional information about why the send failed in the full trace. This setting is in the Controller, under Tools -> Options -> Web Page Breakdown.

If you are using LoadRunner 7.51 or above, add the following statement to the beginning of the script to disable the breakdown of the "First Buffer" into server and network time:

   web_set_sockets_option("OVERLAPPED_SEND", "0"); into the beginning of the script.

Note:
"OVERLAPPED_SEND" is only for Windows LoadGenerators.
作者: han_xue1230    时间: 2007-5-9 15:23
标题: 问题二:
下面的图是告诉我虚拟用户少吗
作者: han_xue1230    时间: 2007-5-9 15:24
#3非常感谢您的帮助,不过我没有看懂,能不能解释一下啊
作者: han_xue1230    时间: 2007-5-9 15:26
标题: 问题三
Action.c(10): Error -27791: Server "192.168.1.11" has shut down the connection prematurely
作者: han_xue1230    时间: 2007-5-9 15:27
标题: 问题四
Action.c(10): Error -26377: No match found for the requested parameter "WCSParam_Diff1". 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
作者: han_xue1230    时间: 2007-5-9 15:28
标题: 问题五
ction.c(10): Error -26374: The above "not found" error(s) may be explained by header and body byte counts being 0 and 0, respectively.
作者: han_xue1230    时间: 2007-5-9 15:44
运行的场景是Goal-Oriented Scenario
设置的场景目标是:事务响应时间为0.3秒
以上的问题都是在这样的场景下发生的
作者: shanxi    时间: 2007-5-9 17:20
问题三:
Ping the remote host to which you were connected. If it does not respond, it may be offline or there may be a network problem. Try again later.  ///ping 192.168.1.11;
Ping a local host to verify that your local network is still functioning.
ping 127.0.0.1;
Ping your local router address.
Ping a host on the same subnet as the remote host to which you were connected (if you know of one). This will verify that the destination network is functional.
Send a "traceroute" command to the remote host. This will not reveal the problem unless you know the router addresses at the remote end, but it may help you determine if the problem is somewhere along the network path.

问题四:
Diagnosis: When replaying a script with a correlated value, the replay engine will return the above error when there is no match found for the predefined boundaries on the correlation statement. The following information from the error message


If the data you want to save exceeds xx bytes, use web_set_max_html_param_len to increase the parameter size
is just a suggestion for the user to try, it may not be a solution. This suggestion should be taken, only if the expected data is over xx bytes.
--------------------------------------------------------------------------------

Solution: Dealing with web_set_max_html_param_len

1. Find out the size of the data you are trying to retrieve. If it is over 256 bytes, increase this value. Correlation will fail if you try to retrieve a string whose length exceeds the maximum length specify by web_set_max_html_param_len.

Note:
The maximum length for web_set_max_html_param_len is maximum value of unsigned int, which is equal to 4294967295 bytes. If the data you want to save exceed this boundary, you will need to create multiple correlation statements for retrieving the entire dataset.However it is not recommended that such a big value be used and that a value closer to the maximum paramter length expected should be used.

2. If the data you want to save do not exceed the bytes specify in the function, you should focus on finding the correct boundaries or placing the correlation function on the correct place.
作者: dragonhua    时间: 2007-5-9 18:36
.....................................................................................................................................................
问题四:
Solution: Dealing with web_set_max_html_param_len

1. Find out the size of the data you are trying to retrieve. If it is over 256 bytes, increase this value. Correlation will fail if you try to retrieve a string whose length exceeds the maximum length specify by web_set_max_html_param_len.

Note:
The maximum length for web_set_max_html_param_len is maximum value of unsigned int, which is equal to 4294967295 bytes. If the data you want to save exceed this boundary, you will need to create multiple correlation statements for retrieving the entire dataset.However it is not recommended that such a big value be used and that a value closer to the maximum paramter length expected should be used.

2. If the data you want to save do not exceed the bytes specify in the function, you should focus on finding the correct boundaries or placing the correlation function on the correct place.

..........................................................................................................................................................................
方法1一般不成功,我也遇到过这样的问题,我将web_set_max_html_param_len函数的参数调大,问题依旧;
方法2我也怀疑过,并且几乎把web_reg_save_paramer()研究透了,试探过无数遍,无济于事.
我觉得应该有其他的方法.我也在找,只是还没有找到.
作者: jingzi    时间: 2007-5-9 18:49
这几个问题,我在测试时有时候也会遇到,收藏中,自己学习,sdlkfj3
作者: han_xue1230    时间: 2007-5-10 09:55
我在手动设置测试目标时就没有发生这样的错误,在面向目标时却有
作者: ym0800114    时间: 2011-6-22 13:53
请问你问题4是怎么解决的呢??我也遇到那问题
作者: testlab    时间: 2011-7-14 11:02
问题五是什么情况?




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2