Error: Failed to send data by channels – post message failed

转自:http://softwaretesttips.com/2013/08/01/error-failed-to-send-data-by-channels-post-message-failed/

In LoadRunner or Performance Center 11.00, during the middle of a running a scenario or load test, the LR Controller or PC output starts reporting Error: -30935 "Error: Failed to send data by channels – post message failed." and no additional successful transactions are registered for the run.

The error occurs on the Load Generator machine(s) when one of the threads under lr_bridge.exe that updates the eve files is not getting enough CPU time slice to be able to send events to the Controller. Enabling an additional flag in the mdrv.dat file on the LG machine will maintain the read and write threads for the eve files on the same main thread, thus allowing it to have all the CPU time needed.

To fix this issue :

Disable Web Diagnostics for J2EE/.NET. If the behavior remains, go through the next steps.

On all of the Load Generator machines where the Vusers are being executed, edit the <LR or PC Installation>\dat\mdrv.dat file by adding the line listed below in bold:

[lr_trans_server]

ExtPriorityType=transaction_server

WINNT_EXT_LIBS=trans_server.dll

WIN95_EXT_LIBS=trans_server.dll

LINUX_EXT_LIBS=libtrans_server.so

SOLARIS_EXT_LIBS=libtrans_server.so

HPUX_EXT_LIBS=libtrans_server.sl

AIX_EXT_LIBS=libtrans_server.so

LibCfgFunc=TransactionServer_configure

GetLoaderInterfaceFunc=get_ts_interface

AddLoaderClientInterfaceFunc=add_ts_client_interface

GetLoaderCommandLine=trans_server_extra_ext

Loader=1

ExtMessageQueue=0

SecurityMode=On

ExtCmdLineOverwrite=-eve_thread_run_on_main_thread

Save the changes in the mdrv.dat file then re-run the load test.

查找了网上的解决方案:

把controller中的Diagnotics-configure-Web Page Diagnotics默认的Enable关掉,之前报错的接口压测正常了
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值