bug fix
This commit is contained in:
parent
f539914b92
commit
baeae67cfa
|
@ -137,7 +137,7 @@ public class JmeterDocumentParser implements DocumentParser {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void processCheckoutResponseAssertion(Element element) {
|
private void processCheckoutResponseAssertion(Element element) {
|
||||||
if (context.getProperty("statusCode") == null || JSON.parseArray("statusCode").size() == 0) {
|
if (context.getProperty("statusCode") == null || JSON.parseArray(context.getProperty("statusCode").toString()).size() == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Document document = element.getOwnerDocument();
|
Document document = element.getOwnerDocument();
|
||||||
|
@ -187,7 +187,7 @@ public class JmeterDocumentParser implements DocumentParser {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void processCheckoutArguments(Element ele) {
|
private void processCheckoutArguments(Element ele) {
|
||||||
if (context.getProperty("params") == null || JSON.parseArray("params").size() == 0) {
|
if (context.getProperty("params") == null || JSON.parseArray(context.getProperty("params").toString()).size() == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Node hashTree = ele.getNextSibling();
|
Node hashTree = ele.getNextSibling();
|
||||||
|
@ -230,7 +230,7 @@ public class JmeterDocumentParser implements DocumentParser {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void processCheckoutDnsCacheManager(Element ele) {
|
private void processCheckoutDnsCacheManager(Element ele) {
|
||||||
if (context.getProperty("domains") == null || JSON.parseArray("domains").size() == 0) {
|
if (context.getProperty("domains") == null || JSON.parseArray(context.getProperty("domains").toString()).size() == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Node hashTree = ele.getNextSibling();
|
Node hashTree = ele.getNextSibling();
|
||||||
|
|
Loading…
Reference in New Issue