fix: 接口定义JMeter导入

This commit is contained in:
shiziyuan9527 2021-08-04 11:10:52 +08:00 committed by 刘瑞斌
parent 8d62157b51
commit 1939d3b4a4
4 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,6 @@ public class JmeterDefinitionParser extends ApiImportAbstractParser<ApiDefinitio
ApiTestCaseWithBLOBs apiTestCase = new ApiTestCaseWithBLOBs(); ApiTestCaseWithBLOBs apiTestCase = new ApiTestCaseWithBLOBs();
BeanUtils.copyBean(apiTestCase, apiDefinitionWithBLOBs); BeanUtils.copyBean(apiTestCase, apiDefinitionWithBLOBs);
apiTestCase.setApiDefinitionId(apiDefinitionWithBLOBs.getId()); apiTestCase.setApiDefinitionId(apiDefinitionWithBLOBs.getId());
apiTestCase.setStatus("Prepare");
apiTestCase.setPriority("P0"); apiTestCase.setPriority("P0");
definitionCases.add(apiTestCase); definitionCases.add(apiTestCase);
} }

View File

@ -159,6 +159,7 @@ export default {
node_name_tip: "The name cannot contain'\\'", node_name_tip: "The name cannot contain'\\'",
more_operator: "More operator", more_operator: "More operator",
mock: "Mock settings", mock: "Mock settings",
trash: "Trash",
all_module_title: "All module", all_module_title: "All module",
create_user: 'Creator', create_user: 'Creator',
table: { table: {

View File

@ -160,6 +160,7 @@ export default {
node_name_tip: "名称不能包含'\\'", node_name_tip: "名称不能包含'\\'",
more_operator: "更多操作", more_operator: "更多操作",
mock: "Mock 设置", mock: "Mock 设置",
trash: "回收站",
all_module_title: "全部模块", all_module_title: "全部模块",
create_user: '创建人', create_user: '创建人',
table: { table: {

View File

@ -160,6 +160,7 @@ export default {
node_name_tip: "名稱不能包含'\\'", node_name_tip: "名稱不能包含'\\'",
more_operator: "更多操作", more_operator: "更多操作",
mock: "Mock 設置", mock: "Mock 設置",
trash: "回收站",
all_module_title: "全部模塊", all_module_title: "全部模塊",
create_user: "創建人", create_user: "創建人",
table: { table: {