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]环境配置下通用配置的CSV类型变量,若接口自动化内只是自定义脚本,那么该变量无法在接口自动化中被使用 #32312

Closed
dashenyucainiao opened this issue Jul 25, 2024 · 2 comments
Assignees
Labels
类型:缺陷 使用过程中出现不符合预期情况

Comments

@dashenyucainiao
Copy link

dashenyucainiao commented Jul 25, 2024

联系方式

[email protected]

MeterSphere 版本

v2.10.16-lts

使用外置数据库

问题描述

环境配置下通用配置的CSV类型变量,在接口自动化(只有循环控制器与自定义脚本步骤)中无法读取csv中定义好的值,若添加到环境变量内是可以使用的。

重现步骤

1、在某个环境下的通用配置,创建CSV类型的接口变量

2、接口自动化内只添加自定义脚本与循环控制器

3、执行查看结果

4、循环外添加一个HTTP请求,循环下的脚本中只能使用csv中第一个变量值

期待的正确结果

No response

相关日志输出

No response

附加信息

添加变量:
image
循环打印:
image

@github-actions github-actions bot added the 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 label Jul 25, 2024
@dashenyucainiao dashenyucainiao changed the title [BUG]环境配置下通用配置的CSV类型变量,无法在接口自动化中被使用 [BUG]环境配置下通用配置的CSV类型变量,若接口自动化内只是自定义脚本,那么该变量无法在接口自动化中被使用 Jul 25, 2024
@13290445582
Copy link

您好,问题已复现并提交,等待排期修复中,感谢理解。

@github-actions github-actions bot added 状态:待用户反馈 and removed 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 labels Jul 25, 2024
@13290445582 13290445582 added 类型:缺陷 使用过程中出现不符合预期情况 and removed 状态:待用户反馈 labels Jul 25, 2024
@luty2018
Copy link
Contributor

这个问题v2不做修改,可以提需求在v3实现。
v2建议用文件管理来绕过。

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

4 participants