diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/dto/ApiParamConfig.java b/backend/services/api-test/src/main/java/io/metersphere/api/dto/ApiParamConfig.java index 630881f8f6..77416a8dd1 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/dto/ApiParamConfig.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/dto/ApiParamConfig.java @@ -43,7 +43,7 @@ public class ApiParamConfig extends ParameterConfig { * value 为对应的接口协议 * 环境前后置忽略协议需要使用 */ - private Map, String> testElementClassProtocalMap = HashMap.newHashMap(0); + private Map, String> testElementClassProtocolMap = HashMap.newHashMap(0); @Override diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/MsCommonElementConverter.java b/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/MsCommonElementConverter.java index 9a91cdbfd3..49d20104e2 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/MsCommonElementConverter.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/parser/jmeter/MsCommonElementConverter.java @@ -116,7 +116,7 @@ public class MsCommonElementConverter extends AbstractJmeterElementConverter addApiScenarioSteps, List steps) { + private void assertGetApiScenarioSteps(List addApiScenarioSteps, List steps) { if (addApiScenarioSteps == null || steps == null) { Assertions.assertEquals(addApiScenarioSteps, null); Assertions.assertEquals(steps, null); @@ -1285,7 +1285,7 @@ public class ApiScenarioControllerTests extends BaseTest { ApiScenarioStepRequest stepRequest = (ApiScenarioStepRequest) addApiScenarioSteps.get(i); ApiScenarioStepDTO stepDTO = (ApiScenarioStepDTO) steps.get(i); Assertions.assertEquals(BeanUtils.copyBean(new ApiScenarioStepCommonDTO(), stepRequest), BeanUtils.copyBean(new ApiScenarioStepCommonDTO(), stepDTO)); - asserGetApiScenarioSteps(stepRequest.getChildren(), stepDTO.getChildren()); + assertGetApiScenarioSteps(stepRequest.getChildren(), stepDTO.getChildren()); } }