fix(接口测试): 修复环境配置全局认证不生效的缺陷

--bug=1019285 --user=王孝刚
[接口测试]github#19367接口测试在环境配置中设置了全局认证信息后执行时无法生效,但在单个接口中设置了同样信息的认证配置可以生效
https://www.tapd.cn/55049933/s/1286281
This commit is contained in:
wxg0103 2022-11-02 16:34:04 +08:00 committed by wxg0103
parent f2283c2577
commit 7902ef7f4e
2 changed files with 20 additions and 2 deletions

View File

@ -1,9 +1,8 @@
package io.metersphere.api.dto.scenario.environment;
import io.metersphere.api.dto.definition.request.auth.MsAuthManager;
import lombok.Data;
@Data
public class EnvAuthManager {
private EnvAuthManager authManager;
private ItemAuthManager authManager;
}

View File

@ -0,0 +1,19 @@
package io.metersphere.api.dto.scenario.environment;
import io.metersphere.commons.constants.ElementConstants;
import lombok.Data;
@Data
public class ItemAuthManager {
private String type = ElementConstants.AUTH_MANAGER;
private String clazzName = ItemAuthManager.class.getCanonicalName();
private String username;
private String password;
private String url;
private String realm;
private String verification;
private String mechanism;
private String encrypt;
private String domain;
private String environment;
}