refactor(性能测试): 性能测试路径修改成绝对路径

This commit is contained in:
CaptainB 2022-05-07 17:28:17 +08:00 committed by 刘瑞斌
parent 8d69fc2bff
commit 1cbaf36384
1 changed files with 2 additions and 1 deletions

View File

@ -215,7 +215,8 @@ public class JmeterDocumentParser implements EngineSourceParser {
if (!StringUtils.contains(filename, "/")) {
separator = "\\";
}
filename = filename.substring(filename.lastIndexOf(separator) + 1);
// 改成绝对路径keystore 不能使用相对路径
filename = "/test/" + filename.substring(filename.lastIndexOf(separator) + 1);
return filename;
}