Dear Ivan,
I have just run into quite the same issue. According to my search there
is no direct way to do this.
But have found a workaround. So my proposal for you is:
1. Within your JSR223Sampler, store the information you need into a
variable like
vars.put("name of the variable", "the setUp Thread Group is
completed\n");
2. In your JMeter SampleListener / sampleOccurred() method, you ca
access the value of the variable by
JMeterContextService.getContext().getVariables().get("name of the
variable");
Now you can send the information where ever you want.
I hope this helps you. It is cumbersome, but it works.
Best wishes,
Elke
Am 26.02.19 um 08:20 schrieb Ivan Rancati:
hi Antonio,
thanks, I'll try annotations for graphics.
However, my question was slightly different: how to get some information
displayed in real time during test execution. Apologies if it was unclear.
For the current project, I have a simple, ssh-only infrastructure, without
Grafana.
Best regards,
Ivan
On Mon, Feb 25, 2019 at 3:34 PM Antonio Gomes Rodrigues <[email protected]>
wrote:
Hi,
Have you try annotations like
http://docs.grafana.org/reference/annotations/
?
Antonio
Le lun. 25 févr. 2019 à 15:00, Ivan Rancati <[email protected]> a
écrit :
Hello,
I have a couple of test plans (run in non-GUI mode), where I use a JSR223
sampler (groovy) to display on the console when a certain stage is
reached.
For example, to indicate the setUp thread/s is/are complete:
OUT.println("the setUp Thread Group is completed\n")
This works locally, but of course not with remote execution. Is there an
equivalent way to display, on the controller's console, a similar message
when a remote has finished a thread, or some other stage is reached?
Thanks a lot and best regards,
Ivan
--
Trilobyte Software Engineering GmbH
Schliemannstr. 45, 10437 Berlin
Geschäftsführer: Stefan Seide, Sven Gerhardt
Berlin, Amtsgericht Charlottenburg, HRB 103208