fix(接口测试): 接口生成jmeter脚本少了名称

This commit is contained in:
AgAngle 2024-03-29 13:47:15 +08:00 committed by 刘瑞斌
parent 6a481b5af2
commit 88eea99120
1 changed files with 1 additions and 0 deletions

View File

@ -1621,6 +1621,7 @@ public class ApiScenarioService extends MoveNodeService {
msTestElement.setProjectId(step.getProjectId()); msTestElement.setProjectId(step.getProjectId());
msTestElement.setResourceId(step.getResourceId()); msTestElement.setResourceId(step.getResourceId());
msTestElement.setStepId(step.getId()); msTestElement.setStepId(step.getId());
msTestElement.setName(step.getName());
// 记录引用的资源ID和项目ID下载执行文件时需要使用 // 记录引用的资源ID和项目ID下载执行文件时需要使用
parseParam.getRefProjectIds().add(step.getProjectId()); parseParam.getRefProjectIds().add(step.getProjectId());