queue size

This commit is contained in:
Captain.B 2020-03-13 13:23:14 +08:00
parent dd333ccbf5
commit 4a50c10d72
2 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,7 @@ public class JmeterDocumentParser implements DocumentParser {
// 清空child
removeChildren(backendListener);
backendListener.appendChild(createStringProp(document, "classname", "io.github.rahulsinghai.jmeter.backendlistener.kafka.KafkaBackendClient"));
backendListener.appendChild(createStringProp(document, "QUEUE_SIZE", "5000"));
// elementProp
Element elementProp = document.createElement("elementProp");
elementProp.setAttribute("name", "arguments");

View File

@ -118,6 +118,7 @@ public class JmxFileParseTest {
// 清空child
removeChildren(backendListener);
backendListener.appendChild(createStringProp(document, "classname", "io.github.rahulsinghai.jmeter.backendlistener.kafka.KafkaBackendClient"));
backendListener.appendChild(createStringProp(document, "QUEUE_SIZE", "5000"));
// elementProp
Element elementProp = document.createElement("elementProp");
elementProp.setAttribute("name", "arguments");