fix(接口测试): 修复导入jmx特殊格式错误问题

--bug=1009406 --user=赵勇 [ github#8992]jmv文件导入到接口自动化里,无法显示接口的路径 https://www.tapd.cn/55049933/s/1088391
This commit is contained in:
fit2-zhao 2021-12-30 09:46:57 +08:00 committed by fit2-zhao
parent 9020b6d6ad
commit c9f727aa28
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ public class MsJmeterParser extends ApiImportAbstractParser<ScenarioImport> {
String path = source.getPath();
// Request Defaults
if (StringUtils.isEmpty(source.getDomain())) {
return null;
return path;
}
if (!path.startsWith("http://") && !path.startsWith("https://")) {
String domain = source.getDomain();