zoukankan      html  css  js  c++  java
  • loadrunner执行场景时报Error -27040: Data Format Extension: Init: Internal error问题解决

    【问题描述】

    在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中才会有效)。

  • 相关阅读:
    几何——BAPC2019 K
    dsu on tree —— BAPC2019 A
    概率dp——BAPC2019 L
    计算几何+三分求极值——cf1046I
    上下文管理器
    转 -- 一行式
    转--python 基础
    转--python 面试题
    转 -- Python: 多继承模式下 MRO(Method Resolution Order) 的计算方式关乎super
    转--python之正则入门
  • 原文地址:https://www.cnblogs.com/huangmr0811/p/5571089.html
Copyright © 2011-2022 走看看