fix(接口测试): 修复接口自动化场景批量转性能测试提示环境未配置的问题
--bug=1016636 --user=宋天阳 【接口测试】github#17761,接口自动化-场景批量转性能测试提示环境未配置 https://www.tapd.cn/55049933/s/1244309
This commit is contained in:
parent
510205a43f
commit
53f7d9c68a
|
@ -1666,6 +1666,7 @@ public class ApiAutomationService {
|
|||
StringBuilder builder = new StringBuilder();
|
||||
for (ApiScenarioWithBLOBs apiScenarioWithBLOBs : scenarios) {
|
||||
try {
|
||||
apiScenarioEnvService.setScenarioEnv(apiScenarioWithBLOBs, null);
|
||||
boolean haveEnv = apiScenarioEnvService.checkScenarioEnv(apiScenarioWithBLOBs, null);
|
||||
if (!haveEnv) {
|
||||
builder.append(apiScenarioWithBLOBs.getName()).append("; ");
|
||||
|
|
Loading…
Reference in New Issue