jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shmuel Krakower <shmul...@gmail.com>
Subject Re: Test plan recording automation
Date Thu, 04 Dec 2014 07:52:56 GMT
Hi Frederic,
Your use case is interesting.

In your use case - you get more changes with the "HTTP API" (the data which
is send between the browser to the server) rather than with th UI?
I mean - the functional tests (selenium?) are more rubost than JMeter tests?
This is interesting because from my experience we get much more changes to
the functional tests than to our jmeter tests.
Can you share more of why that happens for you?

Regarding the code parser - could you share how that works? Is that
something you've developed? What does it do for you?

Couple of suggestion for you:

1. To be able to automatically record is to have a dedicated host which
acts as your proxy for all functional tests.
This proxy will be a constant JMeter instance with proxy running on it.
You can then manually look at it, once in a while and save the samplers you
need.

2. Get a plugin to save all your browser activities into HAR format and
then try HAR2JMX convertors (I've never tried those myself):
http://seitenbau.github.io/har2JMeter/ or
https://flood.io/blog/16-convert-har-files-to-jmeter-test-plans

Shmuel Krakower.
www.Beatsoo.org - re-use your jmeter scripts for application performance
monitoring from worldwide locations for free.

On Wed, Dec 3, 2014 at 12:20 AM, Tim Koopmans <tim@flood.io> wrote:

> We have a number of customers that use our ruby based DSL for JMeter with
> (and without Flood IO) for this exact purpose (CI).
> https://github.com/flood-io/ruby-jmeter
>
> The benefit being that JMeter test plans are expressed using a DSL (in a
> text editor) that are [more] easily versioned between releases.
>
> I'm not sure your original goal of having webdriver generate a JMeter test
> plan can be met without some form of intervention - correlating dynamic
> request / response pairs for example. Having said that you could just drive
> webdriver direct from JMeter
> http://jmeter-plugins.org/wiki/WebDriverSampler/ but you'd obviously get
> less bang for your buck in terms of number of browser threads you can drive
> with this approach (per core).
>
> Disclaimer I work for Flood IO.
>
>
> Tim Koopmans
>
> [image: Flood IO Pty Ltd] <https://flood.io>
>
>
>
> On Wed, Dec 3, 2014 at 9:10 AM, Frederic Beaumont <fbeaumont@gmail.com>
> wrote:
>
> > Hi Shmuel,
> >
> > Thanks, I tried BlazeMeter plugin for Chrome, but it's still about
> > automating it, and it also rely on a third party.
> >
> > My need is to answer to a more and more frequent situation with CI: load
> > testing scripts are often broken by new releases and we are trying to
> > automate the script development process. Recording is based on functional
> > script execution and script enhancement (correlation, parametrization,
> > assertions, logic) is done thanks to a code parser. The gain is based on
> > the facts that functional scripts and parser require minimal maintenance
> > between releases (moreover this maintenance is funnier than developing
> load
> > scripts several times...).
> >
> > Regards,
> > Frederic
> >
> > On Mon, Dec 1, 2014 at 2:35 AM, Shmuel Krakower <shmulikk@gmail.com>
> > wrote:
> >
> > > Hi
> > > I get your idea.
> > > According to sebb this is not supported, but you can create a bugzilla
> > and
> > > explain your use case.
> > >
> > > You may also try to use blazemeter plugin for chrome which i think can
> do
> > > the same and as long as you drive a chrome browser, it should work for
> > you.
> > >
> > > Btw can you share more about why you would like to do this from a
> driven
> > > browser?
> > >
> > > Best
> > >
> > > www.beatsoo.org - free application performance monitoring from world
> > wide
> > > locations.
> > > On Dec 1, 2014 1:41 AM, "sebb" <sebbaz@gmail.com> wrote:
> > >
> > > > On 30 November 2014 at 21:36, Frederic Beaumont <fbeaumont@gmail.com
> >
> > > > wrote:
> > > > > Hello,
> > > > >
> > > > > My goal is to record JMeter test plan automatically by running a
> > > > functional
> > > > > test script (Webdriver script for example).
> > > > >
> > > > > Is it possible to start the Test Script Recorder mode from the
> > command
> > > > line
> > > > > (no GUI), and specify a default template test plan ?
> > > >
> > > > The Recorder needs the GUI as it creates GUI test elements and puts
> > > > them in the tree.
> > > >
> > > > > Another approach could be using JMeter API with the Proxy class,
do
> > you
> > > > > have a code sample explaining how to do that ?
> > > >
> > > > Won't work, for the same reason.
> > > >
> > > > > Any other approach is welcome...
> > > >
> > > > Just start the Recorder manually, then run the test script.
> > > >
> > > > > Thanks,
> > > > > Frederic
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > > > For additional commands, e-mail: user-help@jmeter.apache.org
> > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message