【【环境配置】全局环境认证配置没有生效】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001006758;【【报表统计】用例统计,按状态查询问题】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001006784;【【报表统计】-测试用例统计-更多选项中创建人或维护人可选列表和实际统计报表不一致】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001006780
This commit is contained in:
parent
bccdc59fd2
commit
991e87f03a
|
@ -348,11 +348,11 @@ public class MsHTTPSamplerProxy extends MsTestElement {
|
|||
EnvironmentConfig environmentConfig = config.getConfig().get(this.getProjectId());
|
||||
if (environmentConfig != null) {
|
||||
String useEvnId = environmentConfig.getApiEnvironmentid();
|
||||
if (this.authManager == null && environmentConfig.getAuthManager() != null && environmentConfig.getAuthManager().containsKey("hashTree")) {
|
||||
if (this.authManager == null && environmentConfig.getAuthManager() != null && environmentConfig.getAuthManager().containsKey("authManager")) {
|
||||
try {
|
||||
JSONArray jsonArray = environmentConfig.getAuthManager().getJSONArray("hashTree");
|
||||
if (jsonArray.size() > 0) {
|
||||
this.authManager = jsonArray.getJSONObject(0).toJavaObject(MsAuthManager.class);
|
||||
JSONObject authObject = environmentConfig.getAuthManager().getJSONObject("authManager");
|
||||
if (authObject != null) {
|
||||
this.authManager = authObject.toJavaObject(MsAuthManager.class);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2af1cbcd9b816092ec66c3df7f4ac43da402aa30
|
||||
Subproject commit fd37bcf9408177e13747cd0cf4f03781bb35d97b
|
Loading…
Reference in New Issue