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内置函数${__time}在生成测试数据失败 #30657

Closed
fit2cloud-lijiaxin opened this issue Apr 30, 2024 · 1 comment
Closed
Assignees
Labels
类型:非问题 由于环境或操作等原因出现的预期外情况,实际并非产品问题
Milestone

Comments

@fit2cloud-lijiaxin
Copy link

联系方式

李佳鑫

MeterSphere 版本

v2.10.14-lts

使用外置数据库

问题描述

内置函数${__time}在生成测试数据功能不能成功返回当前时间戳

重现步骤

1.在接口请求参数,使用jmeter内置函数${__time} ,点击生成测试数据,生成浮点数
2.若在接口请求参数处,填写${__time},点击测试,查看请求内容,可以成功返回时间戳

期待的正确结果

在接口请求参数,使用jmeter内置函数${__time} ,点击生成测试数据,可成功生成时间戳

相关日志输出

No response

附加信息

企业微信截图_87020ec2-ddd1-45ea-9a07-260cec56bdc0
![1714465250598](https://github.com/metersphere/metersphere/assets/145318182/8124281e-2503-4c3
1714465222198
8-b257-3118fe20b1d1)

@github-actions github-actions bot added the 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 label Apr 30, 2024
@Zhuzhiming123zhu Zhuzhiming123zhu added 类型:缺陷 使用过程中出现不符合预期情况 and removed 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 labels May 8, 2024
@Zhuzhiming123zhu Zhuzhiming123zhu added this to the v2.10.16-lts milestone May 8, 2024
@Zhuzhiming123zhu
Copy link

Zhuzhiming123zhu commented May 8, 2024

感谢您的反馈,jmeter内置函数只有在点击测试的时候才会触发并执行

@Zhuzhiming123zhu Zhuzhiming123zhu removed the 类型:缺陷 使用过程中出现不符合预期情况 label May 10, 2024
@youliyuan-fit2cloud youliyuan-fit2cloud added 类型:非问题 由于环境或操作等原因出现的预期外情况,实际并非产品问题 and removed 状态:待用户反馈 labels May 14, 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