fix(性能测试): 修复性能测试修改绝对路径时没有考虑csv分割的问题
This commit is contained in:
parent
777e7ff58a
commit
b738014026
|
@ -244,6 +244,7 @@ public class JmeterDocumentParser implements EngineSourceParser {
|
||||||
|
|
||||||
private void splitCsvFile(Node item) {
|
private void splitCsvFile(Node item) {
|
||||||
String filename = item.getText();
|
String filename = item.getText();
|
||||||
|
filename = StringUtils.removeStart(filename, "/test/");
|
||||||
// 已经分割过的不再二次分割
|
// 已经分割过的不再二次分割
|
||||||
if (BooleanUtils.toBoolean(context.getSplitFlag().get(filename))) {
|
if (BooleanUtils.toBoolean(context.getSplitFlag().get(filename))) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue