This is an automated email from the ASF dual-hosted git repository. fschumacher pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jmeter.git
commit a498279ee832be9de0a084fed2cbbe348f855204 Author: Felix Schumacher <[email protected]> AuthorDate: Sat Sep 28 21:23:08 2019 +0200 NUM_THREADS is defined on AbstractThreadGroup --- .../apache/jmeter/protocol/http/gui/action/ParseCurlCommandAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/gui/action/ParseCurlCommandAction.java b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/gui/action/ParseCurlCommandAction.java index 065337d..c21ab37 100644 --- a/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/gui/action/ParseCurlCommandAction.java +++ b/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/gui/action/ParseCurlCommandAction.java @@ -198,7 +198,7 @@ public class ParseCurlCommandAction extends AbstractAction implements MenuCreato ThreadGroup threadGroup = new ThreadGroup(); threadGroup.setProperty(TestElement.GUI_CLASS, ThreadGroupGui.class.getName()); threadGroup.setProperty(TestElement.NAME, "Thread Group"); - threadGroup.setProperty(ThreadGroup.NUM_THREADS,"${__P(threads,10)}"); + threadGroup.setProperty(AbstractThreadGroup.NUM_THREADS, "${__P(threads,10)}"); threadGroup.setProperty(ThreadGroup.RAMP_TIME,"${__P(rampup,30)}"); threadGroup.setScheduler(true); threadGroup.setProperty(ThreadGroup.DURATION,"${__P(duration,3600)}");
