Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]【接口测试】自定义内置函数,在JMeter上调用只运行1次,上传MS到文件管理后,在接口自动化场景里运行,会执行2次 #30646

Closed
2lipan opened this issue Apr 29, 2024 · 3 comments
Assignees
Labels
状态:待用户反馈 状态:无法复现 最新发布版本不能复现的问题

Comments

@2lipan
Copy link

2lipan commented Apr 29, 2024

联系方式

No response

MeterSphere 版本

v2.10.14-lts

使用外置数据库

问题描述

【接口测试】自定义内置函数,在JMeter上调用只运行1次,上传MS到文件管理后,在接口自动化场景里运行,会执行2次

重现步骤

【接口测试】自定义内置函数,在JMeter上调用"${__XfCreateAccountPeriodOrder(DP100435,202403,140000,2024-03-01 11:11:11)}"运行只运行1次,上传到文件管理后,在MS接口自动化场景里运行,会执行2次
image

image

image

jar包如下
2024-04.zip

期待的正确结果

No response

相关日志输出

No response

附加信息

No response

@github-actions github-actions bot added the 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 label Apr 29, 2024
@youliyuan-fit2cloud
Copy link

你好,我们没复现,方便把复现场景发一下 ?

@youliyuan-fit2cloud youliyuan-fit2cloud added 状态:无法复现 最新发布版本不能复现的问题 and removed 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 labels May 9, 2024
@2lipan
Copy link
Author

2lipan commented May 9, 2024

只打印这个函数值
1715233852884
node-controller的info.log里打印的日志
info

文件如下:
Metersphere_Scenario_lipan.json

@github-actions github-actions bot added 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 and removed 状态:待用户反馈 labels May 9, 2024
@youliyuan-fit2cloud
Copy link

youliyuan-fit2cloud commented May 9, 2024

Jmeter 里面 和MS 结果一样啊。MS 里面不勾选 JSR223,和JMeter BeanShell Sampler一致。

@github-actions github-actions bot added 状态:待用户反馈 and removed 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 labels May 9, 2024
@2lipan 2lipan closed this as completed May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
状态:待用户反馈 状态:无法复现 最新发布版本不能复现的问题
Projects
None yet
Development

No branches or pull requests

3 participants