refactor(性能测试): 性能测试路径修改成绝对路径
This commit is contained in:
parent
8d69fc2bff
commit
1cbaf36384
|
@ -215,7 +215,8 @@ public class JmeterDocumentParser implements EngineSourceParser {
|
||||||
if (!StringUtils.contains(filename, "/")) {
|
if (!StringUtils.contains(filename, "/")) {
|
||||||
separator = "\\";
|
separator = "\\";
|
||||||
}
|
}
|
||||||
filename = filename.substring(filename.lastIndexOf(separator) + 1);
|
// 改成绝对路径,keystore 不能使用相对路径
|
||||||
|
filename = "/test/" + filename.substring(filename.lastIndexOf(separator) + 1);
|
||||||
return filename;
|
return filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue