refactor(接口测试): 测试脚本默认关闭缓存KEY功能
This commit is contained in:
parent
41dc80ee21
commit
e0783b3ec3
|
@ -827,6 +827,7 @@ public class ElementUtil {
|
||||||
if (StringUtils.isNotEmpty(vo.getScript())) {
|
if (StringUtils.isNotEmpty(vo.getScript())) {
|
||||||
vo.setScript(StringUtils.replace(vo.getScript(), RunningParamKeys.API_ENVIRONMENT_ID, "\"" + RunningParamKeys.RUNNING_PARAMS_PREFIX + vo.getEnvironmentId() + ".\""));
|
vo.setScript(StringUtils.replace(vo.getScript(), RunningParamKeys.API_ENVIRONMENT_ID, "\"" + RunningParamKeys.RUNNING_PARAMS_PREFIX + vo.getEnvironmentId() + ".\""));
|
||||||
}
|
}
|
||||||
|
testElement.setProperty("cacheKey", false);
|
||||||
testElement.setProperty(TestElement.TEST_CLASS, testElement.getClass().getSimpleName());
|
testElement.setProperty(TestElement.TEST_CLASS, testElement.getClass().getSimpleName());
|
||||||
testElement.setProperty(TestElement.GUI_CLASS, SaveService.aliasToClass(TEST_BEAN_GUI));
|
testElement.setProperty(TestElement.GUI_CLASS, SaveService.aliasToClass(TEST_BEAN_GUI));
|
||||||
String scriptLanguage = vo.getScriptLanguage();
|
String scriptLanguage = vo.getScriptLanguage();
|
||||||
|
|
Loading…
Reference in New Issue