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] 在非metersphere平台调用mock接口,响应体中的变量未解析出来 #30875

Closed
fit2cloud-yaochunrong opened this issue May 16, 2024 · 2 comments
Assignees
Labels
类型:缺陷 使用过程中出现不符合预期情况
Milestone

Comments

@fit2cloud-yaochunrong
Copy link

联系方式

No response

MeterSphere 版本

v2.10.14-lts

使用外置数据库

问题描述

在非metersphere平台调用mock接口,响应体中的变量未解析出来

重现步骤

mock接口的设置:::
image
image
在metersphere平台执行正常:
image
在fei非metersphere平台执行响应体的变量未解析::
image

期待的正确结果

No response

相关日志输出

No response

附加信息

No response

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

fit2cloud-yaochunrong commented May 20, 2024

设置请求体为json格式
image
添加后置脚本,获取json请求体后放置为变量用于响应体
image
在metersphere执行正常:
image
在非metersphere平台执行异常:
image

@github-actions github-actions bot added the 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 label May 20, 2024
@youliyuan-fit2cloud youliyuan-fit2cloud added 类型:缺陷 使用过程中出现不符合预期情况 and removed 状态:无法复现 最新发布版本不能复现的问题 状态:待处理 已分配给相关处理人等待处理人处理并更新状态 labels May 20, 2024
@youliyuan-fit2cloud
Copy link

v2.10.15-lts已修复

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

2 participants