您的位置:首页 > 其它

loadrunner执行场景时报Error -27040: Data Format Extension: Init: Internal error问题解决

2014-12-10 20:59 555 查看
【问题描述】

在loadrunner控制台执行场景时,所有用户均Failed,查看errors,错误原因如下:

Error -27040: Data Format Extension: Init: Internal error - extensions configuration files directory (/tmp/brr_U8prGH/netdir/D/loadrunner/0230/newWorkSheet2_KT/DfeConfig/extensions) wasn't found.

说明:在脚本回放的时候没有问题。

【分析】

首先明确一点,既然脚本回访是没问题的,证明脚本基本没有问题,那就在场景设置上面分析。

再来看错误提示,说是(/tmp/brr_U8prGH/netdir/D/loadrunner/0230/newWorkSheet2_KT/DfeConfig/extensions)这个目录找不到,这个目录一看很明显是一个linux环境下的路径,我们可以尝试着去Load Generators所在的服务器上去找这个路径,查看发现/tmp/brr_U8prGH/netdir/D/loadrunner/0230/newWorkSheet2_KT是存在的,包括DfeConfig目录也是存在的,但是extensions这个目录是不存在的,而且DfeConfig目录下什么都没有。而与DfeConfig同一级目录下存在很多log文件,没有其他信息的情况下,可以查看下这些日志,发现这些日志基本上都是下面这些内容:

Error -27040: Data Format Extension: Init: Internal error - extensions configuration files directory (/tmp/brr_U8prGH/netdir/D/loadrunner/0230/newWorkSheet2_KT/DfeConfig/extensions) wasn't found.

[MsgId: MERR-27040]

Fatal Error -26000: Failed to initialize the Data Format Extensions mechanism (Error Code = 0x10) [MsgId: MERR-26000]

Warning: Extension libLrwReplayMain.so reports error -1 on call to function ExtPerProcessInitialize [MsgId: MWAR-10485]

Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread. [MsgId: MERR-10176]

注意到“Failed to initialize the Data Format”,无法初始化数字格式,如果对loadrunner熟悉的话,应该知道在Runtime-Settings中有一个“Data Format Extension”配置的东西,将那个去掉勾选即可(要在场景设置中的Runtime-Settings中才会有效)。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐