Thank you for the information. If I use the Beanshell server, I will limit
the inbound IPs with the OS' firewall.

Into the documentation, I saw that you can access the JMeter process so as
to alter a global property. Is there any other property or object that can
give any additionnal information ? Most of the Beanshell JMeter
documentation is related to thread specific objects (ctx, vars, etc.)...

Otherwise, I'll follow your advice and parse the log files.

2015-06-18 14:21 GMT+02:00 sebb <[email protected]>:

> On 18 June 2015 at 10:07, Benjamin BALET <[email protected]> wrote:
> > Hi,
> >
> > We are setting up a load testing platform and developping some tools in
> go.
> >
> > We'd like to remotely check a JMeter load generator and (if possible) get
> > some statistics or infos from a JMeter daemon. This will be from a
> utility
> > developed in go (the language isn't the concern here) so outside from
> > JMeter GUI. The idea is to display the status of the slaves machine
> (daemon
> > up or down, latest errors, etc.).
> >
> > At first, I thought to try to open a network connection to the JMeter
> > process, but I don't know if it would interfere with a load test in
> > progress or if there is an API that would expose more information
> (errors,
> > load genrator currently in use, etc.).
>
> You cannot piggypback on the JMeter client-server connection which uses
> RMI.
>
> > I've asked this question on SO and a user gave me this link :
> > http://jmeter.apache.org/usermanual/best-practices.html#beanshell_server
> >
> > Does it mean that the JMeter daemon is a BS server ? If so, can you give
> me
> > some examples that will help me to reach my goal?
>
> You can start a beanshell server as per the referenced documentation.
> However that has absolutely no security, so is not advisable.
>
> JMeter does not offer an API for obtaining information about its state.
> However you can of course use OS facilities for checking the content
> of log files and whether the process is still running, etc.
>
> There is also JMX (Jconsole) but JMeter does not currently register any
> MBeans.
>
> > Thank you for any help or pointers.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to