You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sergio Boso <se...@bosoconsulting.it> on 2013/02/08 09:10:04 UTC

Using Python or Ruby from Jmeter

Hi,

I need to launch some python script from JMeter.
I saw there is no direct support at scripting level.

Is there any experience?
IMHO, an high- level scripting language would be much more productive for non trivial tasks...

suggestions? plans?

TIA

Sergio

-- 

Ing. Sergio Boso




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Using Python or Ruby from Jmeter

Posted by Hiroyuki Sato <hi...@gmail.com>.
Hello Sergio.

Not Python, But it is using Ruby.

Please try gridinit-jmeter.
This is a Ruby based DSL for writing JMeter test plans on gridinit.com


https://github.com/altentee/gridinit-jmeter
http://blog.gridinit.com/2013/02/07/testing-http-apis-with-gridinit-jmeter/

2013/2/8 Sergio Boso <se...@bosoconsulting.it>:
> Hi,
>
> I need to launch some python script from JMeter.
> I saw there is no direct support at scripting level.
>
> Is there any experience?
> IMHO, an high- level scripting language would be much more productive for
> non trivial tasks...
>
> suggestions? plans?
>
> TIA
>
> Sergio
>
> --
>
> Ing. Sergio Boso
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>



-- 
Hiroyuki Sato

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Using Python or Ruby from Jmeter

Posted by Eugene Kazakov <yu...@gmail.com>.
JSR223 sampler has good possibility to write and execute some code, just
put jython.jar into /lib directory, choose in "Language" pop-up menu jython
and write your code in this sampler.


On 8 February 2013 21:09, Deepak Shetty <sh...@gmail.com> wrote:

> Never tried it - but there was something called jython which could be used
> from java programs.
> Theres always the OS Process Samper
> The BSF sampler/JSR223 sampler are the higher level scripts that jmeter
> supports I guess
>
>
>
> On Fri, Feb 8, 2013 at 12:10 AM, Sergio Boso <sergio@bosoconsulting.it
> >wrote:
>
> > Hi,
> >
> > I need to launch some python script from JMeter.
> > I saw there is no direct support at scripting level.
> >
> > Is there any experience?
> > IMHO, an high- level scripting language would be much more productive for
> > non trivial tasks...
> >
> > suggestions? plans?
> >
> > TIA
> >
> > Sergio
> >
> > --
> >
> > Ing. Sergio Boso
> >
> >
> >
> >
> > ------------------------------**------------------------------**---------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.**apache.org<
> user-unsubscribe@jmeter.apache.org>
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
>



-- 
Thank you,
Eugene Kazakov

Re: Using Python or Ruby from Jmeter

Posted by Deepak Shetty <sh...@gmail.com>.
Never tried it - but there was something called jython which could be used
from java programs.
Theres always the OS Process Samper
The BSF sampler/JSR223 sampler are the higher level scripts that jmeter
supports I guess



On Fri, Feb 8, 2013 at 12:10 AM, Sergio Boso <se...@bosoconsulting.it>wrote:

> Hi,
>
> I need to launch some python script from JMeter.
> I saw there is no direct support at scripting level.
>
> Is there any experience?
> IMHO, an high- level scripting language would be much more productive for
> non trivial tasks...
>
> suggestions? plans?
>
> TIA
>
> Sergio
>
> --
>
> Ing. Sergio Boso
>
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.**apache.org<us...@jmeter.apache.org>
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>