fix(UI 自动化): UI 测试不走资源池

--bug=1015629 --user=张大海 【测试跟踪】github#16553,测试计划关联 功能、ui、接口测试用例 ,执行完成之后接口测试成功了但是提示error ui测试不执行 https://www.tapd.cn/55049933/s/1218647
This commit is contained in:
zhangdahai112 2022-08-03 17:26:57 +08:00 committed by zhangdahai112
parent 72c5523003
commit 8ad6a296b1
1 changed files with 2 additions and 1 deletions

View File

@ -185,7 +185,8 @@ public class JMeterService {
public void run(JmeterRunRequestDTO request) {
if (request.getPool().isPool()) {
//UI 测试只走本地 ms资源池交给 selenium-grid 本身实现
if (request.getPool().isPool() && StringUtils.isNotBlank(request.getRunMode()) && !request.getRunMode().startsWith("UI")) {
this.runNode(request);
} else {
CommonBeanFactory.getBean(ExecThreadPoolExecutor.class).addTask(request);