queue size
This commit is contained in:
parent
dd333ccbf5
commit
4a50c10d72
|
@ -106,6 +106,7 @@ public class JmeterDocumentParser implements DocumentParser {
|
||||||
// 清空child
|
// 清空child
|
||||||
removeChildren(backendListener);
|
removeChildren(backendListener);
|
||||||
backendListener.appendChild(createStringProp(document, "classname", "io.github.rahulsinghai.jmeter.backendlistener.kafka.KafkaBackendClient"));
|
backendListener.appendChild(createStringProp(document, "classname", "io.github.rahulsinghai.jmeter.backendlistener.kafka.KafkaBackendClient"));
|
||||||
|
backendListener.appendChild(createStringProp(document, "QUEUE_SIZE", "5000"));
|
||||||
// elementProp
|
// elementProp
|
||||||
Element elementProp = document.createElement("elementProp");
|
Element elementProp = document.createElement("elementProp");
|
||||||
elementProp.setAttribute("name", "arguments");
|
elementProp.setAttribute("name", "arguments");
|
||||||
|
|
|
@ -118,6 +118,7 @@ public class JmxFileParseTest {
|
||||||
// 清空child
|
// 清空child
|
||||||
removeChildren(backendListener);
|
removeChildren(backendListener);
|
||||||
backendListener.appendChild(createStringProp(document, "classname", "io.github.rahulsinghai.jmeter.backendlistener.kafka.KafkaBackendClient"));
|
backendListener.appendChild(createStringProp(document, "classname", "io.github.rahulsinghai.jmeter.backendlistener.kafka.KafkaBackendClient"));
|
||||||
|
backendListener.appendChild(createStringProp(document, "QUEUE_SIZE", "5000"));
|
||||||
// elementProp
|
// elementProp
|
||||||
Element elementProp = document.createElement("elementProp");
|
Element elementProp = document.createElement("elementProp");
|
||||||
elementProp.setAttribute("name", "arguments");
|
elementProp.setAttribute("name", "arguments");
|
||||||
|
|
Loading…
Reference in New Issue