fix(测试跟踪): 修复测试计划执行case报错无资源池的缺陷
--bug=1026743 --user=王孝刚 【测试跟踪】测试计划-接口用列-操作-执行-调用资源池失败 https://www.tapd.cn/55049933/s/1379537
This commit is contained in:
parent
fa56934a6f
commit
677d87b416
|
@ -133,6 +133,11 @@ public class ApiExecuteService {
|
|||
: request.getReportId(), request.getRunMode(), null);
|
||||
if (testCase != null && StringUtils.isNotEmpty(testCase.getRequest())) {
|
||||
try {
|
||||
if (!StringUtils.equals(request.getRunMode(), ApiRunMode.JENKINS.name())) {
|
||||
HashTree jmeterHashTree = this.generateHashTree(request, testCase, runModeConfigDTO);
|
||||
// 调用执行方法
|
||||
runRequest.setHashTree(jmeterHashTree);
|
||||
}
|
||||
if (MapUtils.isNotEmpty(extendedParameters)) {
|
||||
runRequest.setExtendedParameters(extendedParameters);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue