diff --git a/backend/src/main/java/org/apache/jmeter/assertions/DocumentUtils.java b/backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/document/DocumentUtils.java similarity index 96% rename from backend/src/main/java/org/apache/jmeter/assertions/DocumentUtils.java rename to backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/document/DocumentUtils.java index bc5f0a0477..9c7ac012d0 100644 --- a/backend/src/main/java/org/apache/jmeter/assertions/DocumentUtils.java +++ b/backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/document/DocumentUtils.java @@ -1,9 +1,7 @@ -package org.apache.jmeter.assertions; +package io.metersphere.api.dto.definition.request.assertions.document; import com.alibaba.fastjson.JSON; import com.google.gson.Gson; -import io.metersphere.api.dto.definition.request.assertions.document.Condition; -import io.metersphere.api.dto.definition.request.assertions.document.ElementCondition; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; import org.apache.jmeter.util.JMeterUtils; diff --git a/backend/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java b/backend/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java index 6b4bba04d9..3777a5f85c 100644 --- a/backend/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java +++ b/backend/src/main/java/org/apache/jmeter/assertions/JSONPathAssertion.java @@ -7,6 +7,7 @@ package org.apache.jmeter.assertions; import com.jayway.jsonpath.JsonPath; import com.jayway.jsonpath.Predicate; +import io.metersphere.api.dto.definition.request.assertions.document.DocumentUtils; import net.minidev.json.JSONArray; import org.apache.commons.lang3.StringUtils; import org.apache.jmeter.samplers.SampleResult; diff --git a/backend/src/main/java/org/apache/jmeter/assertions/XMLAssertion.java b/backend/src/main/java/org/apache/jmeter/assertions/XMLAssertion.java index 16f56eb96d..4dc184f184 100644 --- a/backend/src/main/java/org/apache/jmeter/assertions/XMLAssertion.java +++ b/backend/src/main/java/org/apache/jmeter/assertions/XMLAssertion.java @@ -19,6 +19,7 @@ package org.apache.jmeter.assertions; import com.jayway.jsonpath.JsonPath; import com.jayway.jsonpath.Predicate; +import io.metersphere.api.dto.definition.request.assertions.document.DocumentUtils; import net.minidev.json.JSONArray; import org.apache.commons.lang3.StringUtils; import org.apache.jmeter.samplers.SampleResult;