Using UltimateThreadGroup with JMeter Java API gives Nullpointer exception

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Using UltimateThreadGroup with JMeter Java API gives Nullpointer exception

Asanka Godamuna
Hi All,

I am trying to use UltimateThreadGroup with the JMeter Java API, I am
creating the UltimateThreadGroup object as in the below code[2] and add it
to the Hashtree.

Finally handover it to the JMeter engine to execute.

But It gives the following NullPointerException in the middle of exception.
As I debugged the code, the Issue seems occure inside JMeterThread class
following method.

public JMeterThread(HashTree test, JMeterThreadMonitor monitor,
ListenerNotifier note, Boolean isSameUserOnNextIteration)


But issue throws on different lines from execution to execution.

Does anybody have an idea on whats going on here? Appreciate your answers.

[1]
2020-11-03 13:08:20 DEBUG TestCompiler:273 - adding controller:
kg.apc.jmeter.threads.UltimateThreadGroup@30b2b76f to sampler config
2020-11-03 13:08:22 ERROR JMeterThread:319 - Test failed!
java.lang.NullPointerException
at
org.apache.jmeter.threads.AbstractThreadGroup.addTestElement(AbstractThreadGroup.java:122)
at
org.apache.jmeter.threads.AbstractThreadGroup.addTestElementOnce(AbstractThreadGroup.java:131)
at
org.apache.jmeter.threads.TestCompiler.subtractNode(TestCompiler.java:151)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:997)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:994)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:976)
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:704)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:252)
at java.lang.Thread.run(Thread.java:748)

[2]

UltimateThreadGroup ultimateThreadGroup = new UltimateThreadGroup();
ultimateThreadGroup.setName(threadGroupName);
ultimateThreadGroup.setProperty(AbstractThreadGroup.ON_SAMPLE_ERROR,
AbstractThreadGroup.ON_SAMPLE_ERROR_CONTINUE);
PowerTableModel dataModel = new
PowerTableModel(UltimateThreadGroupGui.columnIdentifiers,
UltimateThreadGroupGui.columnClasses);
dataModel.addRow(new Integer[]{2, 4, 10, 60, 10});
dataModel.addRow(new Integer[]{3, 4, 10, 120, 10});
CollectionProperty prop =
JMeterPluginsUtils.tableModelRowsToCollectionProperty(dataModel,
UltimateThreadGroup.DATA_PROPERTY);
ultimateThreadGroup.setData(prop);
ultimateThreadGroup.setEnabled(setEnabled);
ultimateThreadGroup.setProperty(TestElement.TEST_CLASS,
UltimateThreadGroup.class.getName());
ultimateThreadGroup.setProperty(TestElement.GUI_CLASS,
UltimateThreadGroupGui.class.getName());
Reply | Threaded
Open this post in threaded view
|

Re: Using UltimateThreadGroup with JMeter Java API gives Nullpointer exception

Mariusz W
Hi,
Did you try to call setSamplerController(LoopController c)  on
ultimateThreadGroup when building a plan?
Some examples regarding run jmeter from api are here
https://www.blazemeter.com/blog/5-ways-launch-jmeter-test-without-using-jmeter-gui

Regards,
Mariusz

On Tue, 3 Nov 2020 at 08:57, Asanka Godamuna <[hidden email]> wrote:

> Hi All,
>
> I am trying to use UltimateThreadGroup with the JMeter Java API, I am
> creating the UltimateThreadGroup object as in the below code[2] and add it
> to the Hashtree.
>
> Finally handover it to the JMeter engine to execute.
>
> But It gives the following NullPointerException in the middle of exception.
> As I debugged the code, the Issue seems occure inside JMeterThread class
> following method.
>
> public JMeterThread(HashTree test, JMeterThreadMonitor monitor,
> ListenerNotifier note, Boolean isSameUserOnNextIteration)
>
>
> But issue throws on different lines from execution to execution.
>
> Does anybody have an idea on whats going on here? Appreciate your answers.
>
> [1]
> 2020-11-03 13:08:20 DEBUG TestCompiler:273 - adding controller:
> kg.apc.jmeter.threads.UltimateThreadGroup@30b2b76f to sampler config
> 2020-11-03 13:08:22 ERROR JMeterThread:319 - Test failed!
> java.lang.NullPointerException
> at
>
> org.apache.jmeter.threads.AbstractThreadGroup.addTestElement(AbstractThreadGroup.java:122)
> at
>
> org.apache.jmeter.threads.AbstractThreadGroup.addTestElementOnce(AbstractThreadGroup.java:131)
> at
> org.apache.jmeter.threads.TestCompiler.subtractNode(TestCompiler.java:151)
> at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:997)
> at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:994)
> at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:976)
> at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:704)
> at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:252)
> at java.lang.Thread.run(Thread.java:748)
>
> [2]
>
> UltimateThreadGroup ultimateThreadGroup = new UltimateThreadGroup();
> ultimateThreadGroup.setName(threadGroupName);
> ultimateThreadGroup.setProperty(AbstractThreadGroup.ON_SAMPLE_ERROR,
> AbstractThreadGroup.ON_SAMPLE_ERROR_CONTINUE);
> PowerTableModel dataModel = new
> PowerTableModel(UltimateThreadGroupGui.columnIdentifiers,
> UltimateThreadGroupGui.columnClasses);
> dataModel.addRow(new Integer[]{2, 4, 10, 60, 10});
> dataModel.addRow(new Integer[]{3, 4, 10, 120, 10});
> CollectionProperty prop =
> JMeterPluginsUtils.tableModelRowsToCollectionProperty(dataModel,
> UltimateThreadGroup.DATA_PROPERTY);
> ultimateThreadGroup.setData(prop);
> ultimateThreadGroup.setEnabled(setEnabled);
> ultimateThreadGroup.setProperty(TestElement.TEST_CLASS,
> UltimateThreadGroup.class.getName());
> ultimateThreadGroup.setProperty(TestElement.GUI_CLASS,
> UltimateThreadGroupGui.class.getName());
>
Reply | Threaded
Open this post in threaded view
|

Re: Using UltimateThreadGroup with JMeter Java API gives Nullpointer exception

Asanka Godamuna
Hi Mariusz,

I didn't add the loop controller initially, I just tried adding the loop
controller and resolved the issue.
Thank you very much for your answer.

On Tue, Nov 3, 2020 at 4:01 PM Mariusz W <[hidden email]> wrote:

> Hi,
> Did you try to call setSamplerController(LoopController c)  on
> ultimateThreadGroup when building a plan?
> Some examples regarding run jmeter from api are here
>
> https://www.blazemeter.com/blog/5-ways-launch-jmeter-test-without-using-jmeter-gui
>
> Regards,
> Mariusz
>
> On Tue, 3 Nov 2020 at 08:57, Asanka Godamuna <[hidden email]> wrote:
>
> > Hi All,
> >
> > I am trying to use UltimateThreadGroup with the JMeter Java API, I am
> > creating the UltimateThreadGroup object as in the below code[2] and add
> it
> > to the Hashtree.
> >
> > Finally handover it to the JMeter engine to execute.
> >
> > But It gives the following NullPointerException in the middle of
> exception.
> > As I debugged the code, the Issue seems occure inside JMeterThread class
> > following method.
> >
> > public JMeterThread(HashTree test, JMeterThreadMonitor monitor,
> > ListenerNotifier note, Boolean isSameUserOnNextIteration)
> >
> >
> > But issue throws on different lines from execution to execution.
> >
> > Does anybody have an idea on whats going on here? Appreciate your
> answers.
> >
> > [1]
> > 2020-11-03 13:08:20 DEBUG TestCompiler:273 - adding controller:
> > kg.apc.jmeter.threads.UltimateThreadGroup@30b2b76f to sampler config
> > 2020-11-03 13:08:22 ERROR JMeterThread:319 - Test failed!
> > java.lang.NullPointerException
> > at
> >
> >
> org.apache.jmeter.threads.AbstractThreadGroup.addTestElement(AbstractThreadGroup.java:122)
> > at
> >
> >
> org.apache.jmeter.threads.AbstractThreadGroup.addTestElementOnce(AbstractThreadGroup.java:131)
> > at
> >
> org.apache.jmeter.threads.TestCompiler.subtractNode(TestCompiler.java:151)
> > at
> org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:997)
> > at
> org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:994)
> > at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:976)
> > at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:704)
> > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:252)
> > at java.lang.Thread.run(Thread.java:748)
> >
> > [2]
> >
> > UltimateThreadGroup ultimateThreadGroup = new UltimateThreadGroup();
> > ultimateThreadGroup.setName(threadGroupName);
> > ultimateThreadGroup.setProperty(AbstractThreadGroup.ON_SAMPLE_ERROR,
> > AbstractThreadGroup.ON_SAMPLE_ERROR_CONTINUE);
> > PowerTableModel dataModel = new
> > PowerTableModel(UltimateThreadGroupGui.columnIdentifiers,
> > UltimateThreadGroupGui.columnClasses);
> > dataModel.addRow(new Integer[]{2, 4, 10, 60, 10});
> > dataModel.addRow(new Integer[]{3, 4, 10, 120, 10});
> > CollectionProperty prop =
> > JMeterPluginsUtils.tableModelRowsToCollectionProperty(dataModel,
> > UltimateThreadGroup.DATA_PROPERTY);
> > ultimateThreadGroup.setData(prop);
> > ultimateThreadGroup.setEnabled(setEnabled);
> > ultimateThreadGroup.setProperty(TestElement.TEST_CLASS,
> > UltimateThreadGroup.class.getName());
> > ultimateThreadGroup.setProperty(TestElement.GUI_CLASS,
> > UltimateThreadGroupGui.class.getName());
> >
>
Reply | Threaded
Open this post in threaded view
|

GUI Usability Improvement - Zoom In/Out

Shay Ginsbourg
In reply to this post by Asanka Godamuna
Hi,

Please add a couple of keyboard shortcuts, as follows:

Ctrl + "+" for Jmeter Options -> Zoom In
Ctrl + "-" for Jmeter Options -> Zoom Out

Thank you very much for all your hard work!

Sincerely,
Shay
Reply | Threaded
Open this post in threaded view
|

Re: GUI Usability Improvement - Zoom In/Out

jmeter tea
Ctrl + minus is already used as Collapse All

On Thu, Nov 12, 2020 at 10:01 AM Shay Ginsbourg <[hidden email]>
wrote:

> Hi,
>
> Please add a couple of keyboard shortcuts, as follows:
>
> Ctrl + "+" for Jmeter Options -> Zoom In
> Ctrl + "-" for Jmeter Options -> Zoom Out
>
> Thank you very much for all your hard work!
>
> Sincerely,
> Shay
>
Reply | Threaded
Open this post in threaded view
|

Re: GUI Usability Improvement - Zoom In/Out

Shay Ginsbourg
IMHO

Best if Jmeter keyboard shortcuts are standardized according to other
leading software products.




Sincerely,


Shay Ginsbourg

Performance, Automation and Load Testing Expert.

Regulatory Affairs Consultant for Medical Software.

Ginsbourg.com (Since 2008)


Formerly QA Manager of LoadRunner at Mercury Interactive


M.Sc. cum laude in Bio-Medical Engineering

M.Sc. in Mechanical Engineering

Mobile:  +972(0)54-6690915
Email: [hidden email]

Visit my personal page on LinkedIn at:
http://www.linkedin.com/in/shayginsbourg




On Thu, Nov 12, 2020, 10:13 Jmeter Tea <[hidden email]> wrote:

> Ctrl + minus is already used as Collapse All
>
> On Thu, Nov 12, 2020 at 10:01 AM Shay Ginsbourg <[hidden email]>
> wrote:
>
> > Hi,
> >
> > Please add a couple of keyboard shortcuts, as follows:
> >
> > Ctrl + "+" for Jmeter Options -> Zoom In
> > Ctrl + "-" for Jmeter Options -> Zoom Out
> >
> > Thank you very much for all your hard work!
> >
> > Sincerely,
> > Shay
> >
>
Reply | Threaded
Open this post in threaded view
|

Error during HTML report generation ~[jorphan.jar:5.3]

Shay Ginsbourg
Hi,

Is this a known issue? Are there any recommended workarounds?

2020-11-22 22:47:52,894 ERROR o.a.j.g.a.HtmlReportGenerator: Error during
HTML report generation:
java.util.concurrent.TimeoutException: Process timeout reached after 120000
milliseconds
at
org.apache.jorphan.exec.SystemCommand.waitForEndWithTimeout(SystemCommand.java:232)
~[jorphan.jar:5.3]
at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:174)
~[jorphan.jar:5.3]
at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:131)
~[jorphan.jar:5.3]
at
org.apache.jmeter.gui.action.HtmlReportGenerator.run(HtmlReportGenerator.java:84)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.doInBackground(HtmlReportUI.java:183)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.doInBackground(HtmlReportUI.java:168)
[ApacheJMeter_core.jar:5.3]
at javax.swing.SwingWorker$1.call(Unknown Source) [?:1.8.0_271]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_271]
at javax.swing.SwingWorker.run(Unknown Source) [?:1.8.0_271]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[?:1.8.0_271]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[?:1.8.0_271]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
2020-11-22 22:53:33,095 ERROR o.a.j.g.a.HtmlReportGenerator: Error during
HTML report generation:
java.util.concurrent.TimeoutException: Process timeout reached after 120000
milliseconds
at
org.apache.jorphan.exec.SystemCommand.waitForEndWithTimeout(SystemCommand.java:232)
~[jorphan.jar:5.3]
at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:174)
~[jorphan.jar:5.3]
at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:131)
~[jorphan.jar:5.3]
at
org.apache.jmeter.gui.action.HtmlReportGenerator.run(HtmlReportGenerator.java:84)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.doInBackground(HtmlReportUI.java:183)
[ApacheJMeter_core.jar:5.3]
at
org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.doInBackground(HtmlReportUI.java:168)
[ApacheJMeter_core.jar:5.3]
at javax.swing.SwingWorker$1.call(Unknown Source) [?:1.8.0_271]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_271]
at javax.swing.SwingWorker.run(Unknown Source) [?:1.8.0_271]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[?:1.8.0_271]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[?:1.8.0_271]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]

Windows 10 Home 64-bit
java version "1.8.0_271"
Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
Jmeter 5.3

Thanks,
Shay
Reply | Threaded
Open this post in threaded view
|

Re: Error during HTML report generation ~[jorphan.jar:5.3]

support@ubikloadpack.com
Hello,

Set generate_report_ui.generation_timeout to higher value which defaults to
 2 minutes

*See:*

*- *https://jmeter.apache.org/usermanual/properties_reference.html#reporting


Regards
UbikLoadPack team
On Sunday, November 22, 2020, Shay Ginsbourg <[hidden email]> wrote:

> Hi,
>
> Is this a known issue? Are there any recommended workarounds?
>
> 2020-11-22 22:47:52,894 ERROR o.a.j.g.a.HtmlReportGenerator: Error during
> HTML report generation:
> java.util.concurrent.TimeoutException: Process timeout reached after
> 120000
> milliseconds
> at
> org.apache.jorphan.exec.SystemCommand.waitForEndWithTimeout(
> SystemCommand.java:232)
> ~[jorphan.jar:5.3]
> at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:174)
> ~[jorphan.jar:5.3]
> at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:131)
> ~[jorphan.jar:5.3]
> at
> org.apache.jmeter.gui.action.HtmlReportGenerator.run(
> HtmlReportGenerator.java:84)
> [ApacheJMeter_core.jar:5.3]
> at
> org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> doInBackground(HtmlReportUI.java:183)
> [ApacheJMeter_core.jar:5.3]
> at
> org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> doInBackground(HtmlReportUI.java:168)
> [ApacheJMeter_core.jar:5.3]
> at javax.swing.SwingWorker$1.call(Unknown Source) [?:1.8.0_271]
> at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_271]
> at javax.swing.SwingWorker.run(Unknown Source) [?:1.8.0_271]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> [?:1.8.0_271]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> [?:1.8.0_271]
> at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
> 2020-11-22 22:53:33,095 ERROR o.a.j.g.a.HtmlReportGenerator: Error during
> HTML report generation:
> java.util.concurrent.TimeoutException: Process timeout reached after
> 120000
> milliseconds
> at
> org.apache.jorphan.exec.SystemCommand.waitForEndWithTimeout(
> SystemCommand.java:232)
> ~[jorphan.jar:5.3]
> at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:174)
> ~[jorphan.jar:5.3]
> at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:131)
> ~[jorphan.jar:5.3]
> at
> org.apache.jmeter.gui.action.HtmlReportGenerator.run(
> HtmlReportGenerator.java:84)
> [ApacheJMeter_core.jar:5.3]
> at
> org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> doInBackground(HtmlReportUI.java:183)
> [ApacheJMeter_core.jar:5.3]
> at
> org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> doInBackground(HtmlReportUI.java:168)
> [ApacheJMeter_core.jar:5.3]
> at javax.swing.SwingWorker$1.call(Unknown Source) [?:1.8.0_271]
> at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_271]
> at javax.swing.SwingWorker.run(Unknown Source) [?:1.8.0_271]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> [?:1.8.0_271]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> [?:1.8.0_271]
> at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
>
> Windows 10 Home 64-bit
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
> Jmeter 5.3
>
> Thanks,
> Shay
>


--

Regards
Ubik Load Pack <http://ubikloadpack.com> Team
Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com>
Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>
Reply | Threaded
Open this post in threaded view
|

Re: Error during HTML report generation ~[jorphan.jar:5.3]

Shay Ginsbourg
Thank you very much!





On Sun, Nov 22, 2020 at 11:54 PM UBIK LOAD PACK Support <
[hidden email]> wrote:

> Hello,
>
> Set generate_report_ui.generation_timeout to higher value which defaults to
>  2 minutes
>
> *See:*
>
> *- *
> https://jmeter.apache.org/usermanual/properties_reference.html#reporting
>
>
> Regards
> UbikLoadPack team
> On Sunday, November 22, 2020, Shay Ginsbourg <[hidden email]> wrote:
>
> > Hi,
> >
> > Is this a known issue? Are there any recommended workarounds?
> >
> > 2020-11-22 22:47:52,894 ERROR o.a.j.g.a.HtmlReportGenerator: Error during
> > HTML report generation:
> > java.util.concurrent.TimeoutException: Process timeout reached after
> > 120000
> > milliseconds
> > at
> > org.apache.jorphan.exec.SystemCommand.waitForEndWithTimeout(
> > SystemCommand.java:232)
> > ~[jorphan.jar:5.3]
> > at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:174)
> > ~[jorphan.jar:5.3]
> > at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:131)
> > ~[jorphan.jar:5.3]
> > at
> > org.apache.jmeter.gui.action.HtmlReportGenerator.run(
> > HtmlReportGenerator.java:84)
> > [ApacheJMeter_core.jar:5.3]
> > at
> > org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> > doInBackground(HtmlReportUI.java:183)
> > [ApacheJMeter_core.jar:5.3]
> > at
> > org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> > doInBackground(HtmlReportUI.java:168)
> > [ApacheJMeter_core.jar:5.3]
> > at javax.swing.SwingWorker$1.call(Unknown Source) [?:1.8.0_271]
> > at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_271]
> > at javax.swing.SwingWorker.run(Unknown Source) [?:1.8.0_271]
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> > [?:1.8.0_271]
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> > [?:1.8.0_271]
> > at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
> > 2020-11-22 22:53:33,095 ERROR o.a.j.g.a.HtmlReportGenerator: Error during
> > HTML report generation:
> > java.util.concurrent.TimeoutException: Process timeout reached after
> > 120000
> > milliseconds
> > at
> > org.apache.jorphan.exec.SystemCommand.waitForEndWithTimeout(
> > SystemCommand.java:232)
> > ~[jorphan.jar:5.3]
> > at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:174)
> > ~[jorphan.jar:5.3]
> > at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:131)
> > ~[jorphan.jar:5.3]
> > at
> > org.apache.jmeter.gui.action.HtmlReportGenerator.run(
> > HtmlReportGenerator.java:84)
> > [ApacheJMeter_core.jar:5.3]
> > at
> > org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> > doInBackground(HtmlReportUI.java:183)
> > [ApacheJMeter_core.jar:5.3]
> > at
> > org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> > doInBackground(HtmlReportUI.java:168)
> > [ApacheJMeter_core.jar:5.3]
> > at javax.swing.SwingWorker$1.call(Unknown Source) [?:1.8.0_271]
> > at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_271]
> > at javax.swing.SwingWorker.run(Unknown Source) [?:1.8.0_271]
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> > [?:1.8.0_271]
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> > [?:1.8.0_271]
> > at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
> >
> > Windows 10 Home 64-bit
> > java version "1.8.0_271"
> > Java(TM) SE Runtime Environment (build 1.8.0_271-b09)
> > Java HotSpot(TM) 64-Bit Server VM (build 25.271-b09, mixed mode)
> > Jmeter 5.3
> >
> > Thanks,
> > Shay
> >
>
>
> --
>
> Regards
> Ubik Load Pack <http://ubikloadpack.com> Team
> Follow us on Twitter <http://twitter.com/ubikloadpack>
>
>
> Cordialement
> L'équipe Ubik Load Pack <http://ubikloadpack.com>
> Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>
>


--


Sincerely,



*Shay Ginsbourg*

*Performance, Automation, and Load Testing Expert. *

*​Regulatory Affairs Consultant​ for Medical Software​.*

*(Since 2008)*



*Ginsbourg.co.il*
<http://Ginsbourg.co.il>


Formerly QA Manager of LoadRunner at Mercury Interactive



M.Sc. cum laude in Bio-Medical Engineering

M.Sc. in Mechanical Engineering


Mobile:  +972(0)54-6690915
Email: [hidden email]

Visit my personal page on LinkedIn at:
http://www.linkedin.com/in/shayginsbourg
Reply | Threaded
Open this post in threaded view
|

RE: Error during HTML report generation ~[jorphan.jar:5.3]

Shay Ginsbourg
In reply to this post by support@ubikloadpack.com
Thank you.

The default value should now be increased for smoothly generating large scale load tests.


Sincerely,
Shay Ginsbourg





-----Original Message-----
From: UBIK LOAD PACK Support <[hidden email]>
Sent: Sunday, November 22, 2020 23:54
To: JMeter Users List <[hidden email]>
Subject: Re: Error during HTML report generation ~[jorphan.jar:5.3]

Hello,

Set generate_report_ui.generation_timeout to higher value which defaults to
 2 minutes

*See:*

*- *https://jmeter.apache.org/usermanual/properties_reference.html#reporting


Regards
UbikLoadPack team
On Sunday, November 22, 2020, Shay Ginsbourg <[hidden email]> wrote:

> Hi,
>
> Is this a known issue? Are there any recommended workarounds?
>
> 2020-11-22 22:47:52,894 ERROR o.a.j.g.a.HtmlReportGenerator: Error
> during HTML report generation:
> java.util.concurrent.TimeoutException: Process timeout reached after
> 120000
> milliseconds
> at
> org.apache.jorphan.exec.SystemCommand.waitForEndWithTimeout(
> SystemCommand.java:232)
> ~[jorphan.jar:5.3]
> at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:174)
> ~[jorphan.jar:5.3]
> at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:131)
> ~[jorphan.jar:5.3]
> at
> org.apache.jmeter.gui.action.HtmlReportGenerator.run(
> HtmlReportGenerator.java:84)
> [ApacheJMeter_core.jar:5.3]
> at
> org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> doInBackground(HtmlReportUI.java:183)
> [ApacheJMeter_core.jar:5.3]
> at
> org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> doInBackground(HtmlReportUI.java:168)
> [ApacheJMeter_core.jar:5.3]
> at javax.swing.SwingWorker$1.call(Unknown Source) [?:1.8.0_271] at
> java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_271] at
> javax.swing.SwingWorker.run(Unknown Source) [?:1.8.0_271] at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> [?:1.8.0_271] at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> [?:1.8.0_271] at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
> 2020-11-22 22:53:33,095 ERROR o.a.j.g.a.HtmlReportGenerator: Error
> during HTML report generation:
> java.util.concurrent.TimeoutException: Process timeout reached after
> 120000
> milliseconds
> at
> org.apache.jorphan.exec.SystemCommand.waitForEndWithTimeout(
> SystemCommand.java:232)
> ~[jorphan.jar:5.3]
> at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:174)
> ~[jorphan.jar:5.3]
> at org.apache.jorphan.exec.SystemCommand.run(SystemCommand.java:131)
> ~[jorphan.jar:5.3]
> at
> org.apache.jmeter.gui.action.HtmlReportGenerator.run(
> HtmlReportGenerator.java:84)
> [ApacheJMeter_core.jar:5.3]
> at
> org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> doInBackground(HtmlReportUI.java:183)
> [ApacheJMeter_core.jar:5.3]
> at
> org.apache.jmeter.gui.HtmlReportUI$ReportGenerationWorker.
> doInBackground(HtmlReportUI.java:168)
> [ApacheJMeter_core.jar:5.3]
> at javax.swing.SwingWorker$1.call(Unknown Source) [?:1.8.0_271] at
> java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_271] at
> javax.swing.SwingWorker.run(Unknown Source) [?:1.8.0_271] at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> [?:1.8.0_271] at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> [?:1.8.0_271] at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
>
> Windows 10 Home 64-bit
> java version "1.8.0_271"
> Java(TM) SE Runtime Environment (build 1.8.0_271-b09) Java HotSpot(TM)
> 64-Bit Server VM (build 25.271-b09, mixed mode) Jmeter 5.3
>
> Thanks,
> Shay
>


--

Regards
Ubik Load Pack <http://ubikloadpack.com> Team Follow us on Twitter <http://twitter.com/ubikloadpack>


Cordialement
L'équipe Ubik Load Pack <http://ubikloadpack.com> Suivez-nous sur Twitter <http://twitter.com/ubikloadpack>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]