fix(接口测试): #1006858 【接口测试-接口自动化】全局脚本必须前置和后置一起使用否则失效
【【接口测试-接口自动化】全局脚本必须前置和后置一起使用否则失效】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001006858
This commit is contained in:
parent
7b5eba6057
commit
ef82a08aa0
|
@ -305,7 +305,7 @@ public class MsHTTPSamplerProxy extends MsTestElement {
|
||||||
}
|
}
|
||||||
preProcessor.toHashTree(httpSamplerTree, preProcessor.getHashTree(), config);
|
preProcessor.toHashTree(httpSamplerTree, preProcessor.getHashTree(), config);
|
||||||
}
|
}
|
||||||
if (postProcessor != null && StringUtils.isNotEmpty(preProcessor.getScript())) {
|
if (postProcessor != null && StringUtils.isNotEmpty(postProcessor.getScript())) {
|
||||||
if (postProcessor.getEnvironmentId() == null) {
|
if (postProcessor.getEnvironmentId() == null) {
|
||||||
if (this.getEnvironmentId() == null) {
|
if (this.getEnvironmentId() == null) {
|
||||||
postProcessor.setEnvironmentId(useEnvironment);
|
postProcessor.setEnvironmentId(useEnvironment);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 8f10fac36134bfe4d9520051fdf1cfb9b44f67e4
|
Subproject commit ae9b3772eebbfd3ce389c4d5c028eca8ef9687b8
|
|
@ -1 +1 @@
|
||||||
Subproject commit 183d61c23620452e3fe0ba56574adf5ce45207a7
|
Subproject commit 17d46328fd6b0f723f91ea44e55da9a839e3da04
|
Loading…
Reference in New Issue