You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Performance Center场景运行时LrJson.dll等扩展加载失败求助

Performance Center场景运行时扩展DLL加载失败的解决办法

问题概述

自定义场景包含两个脚本:向Artemis MQ发送消息的脚本、使用第三方库准备磁盘卷的脚本。所有脚本在VU Generator中运行正常,但在Performance Center执行场景时,出现以下错误:

  • Extension lrwreplaymain.dll is not loaded. System error: [param not passed in call]
  • Extension LrXml.dll is not loaded. System error: [param not passed in call]
  • Extension LrJson.dll is not loaded. System error: [param not passed in call]

已尝试更换场景生成器、重新编写MQ脚本,问题未解决。

解决方案

1. 确认脚本的扩展依赖配置

在VU Generator中打开脚本,通过View > Script Properties进入配置页,切换到Runtime Settings > General > Additional Attributes,检查是否已添加lrwreplaymain、LrXml、LrJson这几个扩展项。若未添加,手动输入后保存脚本,重新上传至Performance Center。

2. 验证生成器服务器的DLL完整性

登录Performance Center生成器服务器,检查<LoadRunner安装目录>\bin路径下的lrwreplaymain.dll、LrXml.dll、LrJson.dll是否存在且未损坏:

  • 若文件缺失,从正常运行的VU Generator机器复制对应文件到生成器服务器的相同路径
  • 若文件损坏,重新安装Performance Center生成器组件

3. 排查第三方库的兼容性问题

针对使用第三方库的磁盘卷准备脚本,需确认:

  • 库的位数(32/64位)与Performance Center运行环境匹配
  • 第三方库的所有依赖DLL已部署到生成器服务器的系统路径或脚本的bin子目录中

4. 重置场景运行配置

在Performance Center中执行以下操作:

  • 删除当前场景的运行配置,重新创建场景并关联脚本
  • 进入场景 > 生成器页面,点击清除缓存
  • 重新上传脚本时勾选包含所有依赖文件选项

内容的提问来源于stack exchange,提问作者Pavel

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.27 13:32:21