You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Philippe Mouawad <p....@ubik-ingenierie.com> on 2019/08/02 20:53:28 UTC

Creating HTTP API for JMeter

Hello,
What do you think of creating an HTTP API for JMeter that could:

   - Display what Summariser shows in browser
   - Enhance this summary with more statistics
   - get status of jmeter (test running, waiting)
   - possible health information
   - in the future some control on distributed testing

I am looking for the lightest embeddable server  that we could use:

   - I thought about Micronaut but it brings a lot of dependencies that
   could trigger issues for some protocols since we don't have a separate
   Classloader (which would be another story)
   - Undertow looks rather minimal but API development is not as fast as
   with Micronaut


Do you have other ideas ?

Regards
Philippe

Re: Creating HTTP API for JMeter

Posted by sebb <se...@gmail.com>.
All the functions so far listed are already available through the existing GUI.
So what is different about the proposed API?

On Sat, 3 Aug 2019 at 14:54, Philippe Mouawad
<ph...@gmail.com> wrote:
>
> On Saturday, August 3, 2019, Felix Schumacher <
> felix.schumacher@internetallee.de> wrote:
>
> >
> > Am 03.08.19 um 15:27 schrieb Philippe Mouawad:
> > > Well,
> > > It would be mainly for tester in read only mode to start with.
> > > When I run a test I’d like to have those statistic:
> > > - transactions error rate
> > > - number of trans executed
> > > - percentiles of those
> > > - network sent/received
> > >
> > >
> > > Then in write mode with authentification :
> > > - stop test
> > > - shutdown test
> > > - put on hold ( not available yet)
> > > - increase load (not available yet)
> >
> > My question targeted the how to gather those statistics inside JMeter.
> > Do we add some framework like https://metrics.dropwizard.io/4.0.0/
> >
> > And then as a second step, how to present those values to the outside?
>
> yes.
> Micrometer is also an option we coupd use
>
> >
> > Felix
> >
> > >
> > > Regards
> > >
> > > On Saturday, August 3, 2019, Felix Schumacher <
> > > felix.schumacher@internetallee.de> wrote:
> > >
> > >> Am 02.08.19 um 22:53 schrieb Philippe Mouawad:
> > >>> Hello,
> > >>> What do you think of creating an HTTP API for JMeter that could:
> > >>>
> > >>>    - Display what Summariser shows in browser
> > >>>    - Enhance this summary with more statistics
> > >>>    - get status of jmeter (test running, waiting)
> > >>>    - possible health information
> > >>>    - in the future some control on distributed testing
> > >>>
> > >>> I am looking for the lightest embeddable server  that we could use:
> > >>>
> > >>>    - I thought about Micronaut but it brings a lot of dependencies that
> > >>>    could trigger issues for some protocols since we don't have a
> > separate
> > >>>    Classloader (which would be another story)
> > >>>    - Undertow looks rather minimal but API development is not as fast
> > as
> > >>>    with Micronautd
> > >> Before we think about embedding an http server (why not tomcat?), we
> > >> should look at what information we want to gather and present and how
> > >> that should be accomplished.
> > >>
> > >> And what about security concerns? To whom do we want to display those
> > >> values and how are they authenticated and authorized?
> > >>
> > >> Felix
> > >>
> > >>>
> > >>> Do you have other ideas ?
> > >>>
> > >>> Regards
> > >>> Philippe
> > >>>
> > >
> >
>
>
> --
> Cordialement.
> Philippe Mouawad.

Re: Creating HTTP API for JMeter

Posted by Philippe Mouawad <ph...@gmail.com>.
On Saturday, August 3, 2019, Felix Schumacher <
felix.schumacher@internetallee.de> wrote:

>
> Am 03.08.19 um 15:27 schrieb Philippe Mouawad:
> > Well,
> > It would be mainly for tester in read only mode to start with.
> > When I run a test I’d like to have those statistic:
> > - transactions error rate
> > - number of trans executed
> > - percentiles of those
> > - network sent/received
> >
> >
> > Then in write mode with authentification :
> > - stop test
> > - shutdown test
> > - put on hold ( not available yet)
> > - increase load (not available yet)
>
> My question targeted the how to gather those statistics inside JMeter.
> Do we add some framework like https://metrics.dropwizard.io/4.0.0/
>
> And then as a second step, how to present those values to the outside?

yes.
Micrometer is also an option we coupd use

>
> Felix
>
> >
> > Regards
> >
> > On Saturday, August 3, 2019, Felix Schumacher <
> > felix.schumacher@internetallee.de> wrote:
> >
> >> Am 02.08.19 um 22:53 schrieb Philippe Mouawad:
> >>> Hello,
> >>> What do you think of creating an HTTP API for JMeter that could:
> >>>
> >>>    - Display what Summariser shows in browser
> >>>    - Enhance this summary with more statistics
> >>>    - get status of jmeter (test running, waiting)
> >>>    - possible health information
> >>>    - in the future some control on distributed testing
> >>>
> >>> I am looking for the lightest embeddable server  that we could use:
> >>>
> >>>    - I thought about Micronaut but it brings a lot of dependencies that
> >>>    could trigger issues for some protocols since we don't have a
> separate
> >>>    Classloader (which would be another story)
> >>>    - Undertow looks rather minimal but API development is not as fast
> as
> >>>    with Micronautd
> >> Before we think about embedding an http server (why not tomcat?), we
> >> should look at what information we want to gather and present and how
> >> that should be accomplished.
> >>
> >> And what about security concerns? To whom do we want to display those
> >> values and how are they authenticated and authorized?
> >>
> >> Felix
> >>
> >>>
> >>> Do you have other ideas ?
> >>>
> >>> Regards
> >>> Philippe
> >>>
> >
>


-- 
Cordialement.
Philippe Mouawad.

Re: Creating HTTP API for JMeter

Posted by Felix Schumacher <fe...@internetallee.de>.
Am 03.08.19 um 15:27 schrieb Philippe Mouawad:
> Well,
> It would be mainly for tester in read only mode to start with.
> When I run a test I’d like to have those statistic:
> - transactions error rate
> - number of trans executed
> - percentiles of those
> - network sent/received
>
>
> Then in write mode with authentification :
> - stop test
> - shutdown test
> - put on hold ( not available yet)
> - increase load (not available yet)

My question targeted the how to gather those statistics inside JMeter.
Do we add some framework like https://metrics.dropwizard.io/4.0.0/

And then as a second step, how to present those values to the outside?

Felix

>
> Regards
>
> On Saturday, August 3, 2019, Felix Schumacher <
> felix.schumacher@internetallee.de> wrote:
>
>> Am 02.08.19 um 22:53 schrieb Philippe Mouawad:
>>> Hello,
>>> What do you think of creating an HTTP API for JMeter that could:
>>>
>>>    - Display what Summariser shows in browser
>>>    - Enhance this summary with more statistics
>>>    - get status of jmeter (test running, waiting)
>>>    - possible health information
>>>    - in the future some control on distributed testing
>>>
>>> I am looking for the lightest embeddable server  that we could use:
>>>
>>>    - I thought about Micronaut but it brings a lot of dependencies that
>>>    could trigger issues for some protocols since we don't have a separate
>>>    Classloader (which would be another story)
>>>    - Undertow looks rather minimal but API development is not as fast as
>>>    with Micronautd
>> Before we think about embedding an http server (why not tomcat?), we
>> should look at what information we want to gather and present and how
>> that should be accomplished.
>>
>> And what about security concerns? To whom do we want to display those
>> values and how are they authenticated and authorized?
>>
>> Felix
>>
>>>
>>> Do you have other ideas ?
>>>
>>> Regards
>>> Philippe
>>>
>

Re: Creating HTTP API for JMeter

Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
Well,
It would be mainly for tester in read only mode to start with.
When I run a test I’d like to have those statistic:
- transactions error rate
- number of trans executed
- percentiles of those
- network sent/received


Then in write mode with authentification :
- stop test
- shutdown test
- put on hold ( not available yet)
- increase load (not available yet)

Regards

On Saturday, August 3, 2019, Felix Schumacher <
felix.schumacher@internetallee.de> wrote:

>
> Am 02.08.19 um 22:53 schrieb Philippe Mouawad:
> > Hello,
> > What do you think of creating an HTTP API for JMeter that could:
> >
> >    - Display what Summariser shows in browser
> >    - Enhance this summary with more statistics
> >    - get status of jmeter (test running, waiting)
> >    - possible health information
> >    - in the future some control on distributed testing
> >
> > I am looking for the lightest embeddable server  that we could use:
> >
> >    - I thought about Micronaut but it brings a lot of dependencies that
> >    could trigger issues for some protocols since we don't have a separate
> >    Classloader (which would be another story)
> >    - Undertow looks rather minimal but API development is not as fast as
> >    with Micronautd
>
> Before we think about embedding an http server (why not tomcat?), we
> should look at what information we want to gather and present and how
> that should be accomplished.
>
> And what about security concerns? To whom do we want to display those
> values and how are they authenticated and authorized?
>
> Felix
>
> >
> >
> > Do you have other ideas ?
> >
> > Regards
> > Philippe
> >
>


-- 


[image: logo Ubik Ingenierie] <https://www.ubik-ingenierie.com> Philippe
Mouawad
Senior Performance Expert
320914981 <+33320914981> | p.mouawad@ubik-ingenierie.com
[image: ubik-ingenierie.com] ubik-ingenierie.com
<https://www.ubik-ingenierie.com> | [image: 03.20.91.49.81] 03.20.91.49.81
<+33320914981> | [image: 23 rue du chemin de fer , 59100 , Roubaix] 23 rue
du chemin de fer, 59100, Roubaix
<https://www.openstreetmap.org/#map=18/50.69454/3.16455>

Re: Creating HTTP API for JMeter

Posted by Felix Schumacher <fe...@internetallee.de>.
Am 02.08.19 um 22:53 schrieb Philippe Mouawad:
> Hello,
> What do you think of creating an HTTP API for JMeter that could:
>
>    - Display what Summariser shows in browser
>    - Enhance this summary with more statistics
>    - get status of jmeter (test running, waiting)
>    - possible health information
>    - in the future some control on distributed testing
>
> I am looking for the lightest embeddable server  that we could use:
>
>    - I thought about Micronaut but it brings a lot of dependencies that
>    could trigger issues for some protocols since we don't have a separate
>    Classloader (which would be another story)
>    - Undertow looks rather minimal but API development is not as fast as
>    with Micronautd

Before we think about embedding an http server (why not tomcat?), we
should look at what information we want to gather and present and how
that should be accomplished.

And what about security concerns? To whom do we want to display those
values and how are they authenticated and authorized?

Felix

>
>
> Do you have other ideas ?
>
> Regards
> Philippe
>

Re: Creating HTTP API for JMeter

Posted by sebb <se...@gmail.com>.
On Fri, 2 Aug 2019 at 21:53, Philippe Mouawad
<p....@ubik-ingenierie.com> wrote:
>
> Hello,
> What do you think of creating an HTTP API for JMeter that could:
>
>    - Display what Summariser shows in browser
>    - Enhance this summary with more statistics
>    - get status of jmeter (test running, waiting)
>    - possible health information
>    - in the future some control on distributed testing
>
> I am looking for the lightest embeddable server  that we could use:
>
>    - I thought about Micronaut but it brings a lot of dependencies that
>    could trigger issues for some protocols since we don't have a separate
>    Classloader (which would be another story)
>    - Undertow looks rather minimal but API development is not as fast as
>    with Micronaut
>
>
> Do you have other ideas ?

Why HTTP?

The suggested functionality seems more like JMX to me.

But if you insist on HTTP, then Jetty perhaps?

>
> Regards
> Philippe