fix: 自定义请求引用环境无效

This commit is contained in:
chenjianxing 2021-05-19 09:44:32 +08:00 committed by BugKing
parent 27ecaff4cd
commit 1f776e1d9e
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ public class MsHTTPSamplerProxy extends MsTestElement {
LogUtil.error(e.getMessage(), e);
}
} else {
if (!isCustomizeReq()) {
if (!isCustomizeReq() || isRefEnvironment) {
//1.9 增加对Mock环境的判断
if (this.isMockEnvironment()) {
url = httpConfig.getProtocol() + "://" + httpConfig.getSocket() + "/mock/" + this.getProjectId();

@ -1 +1 @@
Subproject commit e435fe1d01a2495481efa58daf3875be07b2ac9b
Subproject commit 9a95a444a4f0a477427f94bd107571430d85e766