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