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 <[email protected]>
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 <[email protected]>
> 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" <[email protected]> wrote:
> >
> > > On 30 November 2014 at 21:36, Frederic Beaumont <[email protected]>
> > > 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: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> >
>

Reply via email to