fix(接口定义): 修复场景请求头丢失的缺陷

--bug=1022970 --user=王孝刚
【接口测试】github#21761,接口请求头的Authorization参数值,在步骤数量较多的场景中执行时,总会在后面某个步骤开始就无法获取到完整的Authorization参数值了
https://www.tapd.cn/55049933/s/1335479
This commit is contained in:
wxg0103 2023-02-15 11:38:24 +08:00 committed by wxg0103
parent 5bdf1ed5ad
commit 8df117deda
1 changed files with 1 additions and 0 deletions

View File

@ -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())) {