LoadRunner中InvokeMethod failure: 外部组件发生异常解决办法

时间:2020-12-13 20:31:24

-82801 abnormal termination,caused by mdrv process termination

-29996
error:process mmdrv.exe was not created .reason:系统资源不足,无法完成请求的服务。

-29994
error:one thread was not created.reason:句柄无效

-27727 Acttion.c [29]:step
download timeout[600 seconds] has expired when downloading resources.set the
"step timeout caused by resource is warning", run-time setting to yes/no to have
this message as a warning /error,respectively

-84817 failed to initialize reason:timeout

使用loadrunner压测webservice接口,时,遇到这样一个问题。

线程模式:

运行几分钟后主线程退出

Abnormal termination, caused by mdrv process termination

Action.c(6): Error: Web service call "submitNLSMSRequest_101" execution failed

Action.c(6): Error: InvokeMethod failure: 外部组件发生异常。.

Action.c(6): Error: ExtractResultArg failure: 外部组件发生异常。.

Failed to Stop. Reason: TimeOut

Action.c(6): Error: C interpreter run time error: Action.c (6):  Error -- memory violation : Exception ACCESS_VIOLATION received.

改用进程模式

运行几分钟后报错:Runtime Error!

Program:E:\LoadRunner\bin\mmdrv.exe

R6025

- pure virtual fuction call

解决总结:

1.采用进程模式

2.设置进程最大进程数,20或10(D:\Program Files\HP\LoadRunner\config\D:\Program Files\HP\LoadRunner\configd的AgentMaxThreadsPerDriver修改为10)

3.负载

4.较少日志输出、添加思考时间