refactor(接口测试): 优化自定义http请求匹配环境域名的逻辑
--bug=1028304 --user=王孝刚 【接口测试】github#25965,自定义请求-引用场景环境时,若环境启用条件为模块,则环境里的请求头不能正常应用到自定义请求里 https://www.tapd.cn/55049933/s/1401038
This commit is contained in:
parent
ea12d5242c
commit
86054dea95
|
@ -121,6 +121,7 @@ public class ParameterConfig extends MsParameter {
|
|||
|
||||
public HttpConfig matchConfig(MsHTTPSamplerProxy samplerProxy, HttpConfig httpConfig) {
|
||||
boolean isNext = true;
|
||||
httpConfig.setSocket(null);
|
||||
if (CollectionUtils.isNotEmpty(httpConfig.getConditions())) {
|
||||
for (HttpConfigCondition item : httpConfig.getConditions()) {
|
||||
if (item.getType().equals(ConditionType.PATH.name())) {
|
||||
|
|
Loading…
Reference in New Issue