fix(接口测试): 修复导入jmx特殊格式错误问题
--bug=1009406 --user=赵勇 [ github#8992]jmv文件导入到接口自动化里,无法显示接口的路径 https://www.tapd.cn/55049933/s/1088391
This commit is contained in:
parent
9020b6d6ad
commit
c9f727aa28
|
@ -170,7 +170,7 @@ public class MsJmeterParser extends ApiImportAbstractParser<ScenarioImport> {
|
||||||
String path = source.getPath();
|
String path = source.getPath();
|
||||||
// Request Defaults
|
// Request Defaults
|
||||||
if (StringUtils.isEmpty(source.getDomain())) {
|
if (StringUtils.isEmpty(source.getDomain())) {
|
||||||
return null;
|
return path;
|
||||||
}
|
}
|
||||||
if (!path.startsWith("http://") && !path.startsWith("https://")) {
|
if (!path.startsWith("http://") && !path.startsWith("https://")) {
|
||||||
String domain = source.getDomain();
|
String domain = source.getDomain();
|
||||||
|
|
Loading…
Reference in New Issue