refactor(接口测试): 增加授权校验
This commit is contained in:
parent
40696b0f02
commit
fefe8ad952
|
@ -164,7 +164,7 @@
|
|||
<dependency>
|
||||
<groupId>io.metersphere</groupId>
|
||||
<artifactId>ms-jmeter-core</artifactId>
|
||||
<version>1.2.1</version>
|
||||
<version>1.2.2</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>netty</artifactId>
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 6fd455241b44c9d952979b68922801bb6a0bbe3d
|
||||
Subproject commit 953dd4a8f838e5f6b3cb7c1ca4590449adcb53a6
|
|
@ -81,7 +81,7 @@
|
|||
<script>
|
||||
import MsDialogFooter from "@/business/components/common/components/MsDialogFooter";
|
||||
import {ENV_TYPE} from "@/common/js/constants";
|
||||
import {getCurrentProjectID, strMapToObj} from "@/common/js/utils";
|
||||
import {getCurrentProjectID, hasLicense, strMapToObj} from "@/common/js/utils";
|
||||
import EnvPopover from "@/business/components/api/automation/scenario/EnvPopover";
|
||||
|
||||
export default {
|
||||
|
@ -134,7 +134,9 @@ export default {
|
|||
methods: {
|
||||
open() {
|
||||
this.runModeVisible = true;
|
||||
this.query();
|
||||
if(hasLicense()) {
|
||||
this.query();
|
||||
}
|
||||
this.getResourcePools();
|
||||
this.getWsProjects();
|
||||
this.runConfig.environmentType = ENV_TYPE.JSON;
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
<script>
|
||||
import {
|
||||
getCurrentProjectID,
|
||||
getCurrentUser, getCurrentWorkspaceId,
|
||||
getCurrentUser, getCurrentWorkspaceId, hasLicense,
|
||||
listenGoBack, objToStrMap,
|
||||
removeGoBackListener, strMapToObj
|
||||
} from "@/common/js/utils";
|
||||
|
@ -344,7 +344,9 @@ export default {
|
|||
this.activeName = 'first';
|
||||
this.getResourcePools();
|
||||
this.getWsProjects();
|
||||
this.query();
|
||||
if(hasLicense()) {
|
||||
this.query();
|
||||
}
|
||||
this.runConfig.environmentType = ENV_TYPE.JSON;
|
||||
},
|
||||
findSchedule() {
|
||||
|
|
|
@ -153,7 +153,9 @@ export default {
|
|||
}
|
||||
this.runModeVisible = true;
|
||||
this.testType = testType;
|
||||
this.query();
|
||||
if(hasLicense()) {
|
||||
this.query();
|
||||
}
|
||||
this.getResourcePools();
|
||||
this.getWsProjects();
|
||||
},
|
||||
|
|
|
@ -314,7 +314,9 @@ export default {
|
|||
listenGoBack(this.close);
|
||||
this.activeName = 'first';
|
||||
this.getResourcePools();
|
||||
this.query();
|
||||
if(hasLicense()) {
|
||||
this.query();
|
||||
}
|
||||
this.runConfig.environmentType = ENV_TYPE.JSON;
|
||||
},
|
||||
query() {
|
||||
|
|
Loading…
Reference in New Issue