提交 91b5bc97 authored 作者: mry's avatar mry

fix(web): 修复了query不能解析动参的,报告模板

上级 33045279
......@@ -106,6 +106,22 @@ public class HttpClientActuator implements Actuator {
projectId)
);
}
for (RequestParam requestParam : httpRequestDetail.getRequestParams()) {
for (RequestBody requestBody : requestParam.getRequestBodies()) {
requestBody.setKey(
completeExpressionUtil.completeVariable(
requestBody.getKey(),
envId,
projectId)
);
requestBody.setValue(
completeExpressionUtil.completeVariable(
requestBody.getValue(),
envId,
projectId)
);
}
}
if (!StringUtils.isEmpty(httpRequestDetail.getStringValue())){
httpRequestDetail.setStringValue(
completeExpressionUtil.completeVariable(
......
......@@ -58,7 +58,7 @@
<th>编号</th>
<th>用例名称</th>
<th>用例类型</th>
<th>执行结果</th>
<th>返回结果</th>
<th>用例描述</th>
<th>执行结果</th>
<th>执行时间</th>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论