fix(接口定义): 修复场景请求头丢失的缺陷
--bug=1022970 --user=王孝刚 【接口测试】github#21761,接口请求头的Authorization参数值,在步骤数量较多的场景中执行时,总会在后面某个步骤开始就无法获取到完整的Authorization参数值了 https://www.tapd.cn/55049933/s/1335479
This commit is contained in:
parent
5bdf1ed5ad
commit
8df117deda
|
@ -144,6 +144,7 @@ public class MsScenario extends MsTestElement {
|
|||
|
||||
if (config != null && StringUtils.equals(this.getId(), config.getScenarioId())) {
|
||||
config.setTransferVariables(this.variables);
|
||||
setHeader(scenarioTree, this.headers);
|
||||
}
|
||||
|
||||
if (config != null && !config.getExcludeScenarioIds().contains(this.getId())) {
|
||||
|
|
Loading…
Reference in New Issue