Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6CC1FCBE5 for ; Wed, 3 Jul 2013 06:23:43 +0000 (UTC) Received: (qmail 48180 invoked by uid 500); 3 Jul 2013 06:23:43 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 48162 invoked by uid 500); 3 Jul 2013 06:23:42 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 48154 invoked by uid 99); 3 Jul 2013 06:23:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 06:23:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of philippe.mouawad@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 06:23:36 +0000 Received: by mail-ie0-f175.google.com with SMTP id a13so14810922iee.34 for ; Tue, 02 Jul 2013 23:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UliEiuCl4CNYT0cD8d8UgWJ7WDrioOsOwYtuYeSxN/I=; b=q/7Yk37jlWdRWPzEsNliAki+TCotlRDMUR/QJmBpAhZ/CQ5RmHHflRZgnCW4fjXhrR E2kxTRF3vlBR30SA3jO+qjmlKdqu74k5Aekkxa1qQD3EolBlREjGNboO7g5wMBb2s0m0 J4+doQp/9+PmrCDXbrqGvOrnbKChwEjrStBDhQlnU0HqN8Ofe2NIP2FMd/r+I6zTx4+W Sd7dpyd8thj1Ff4NkxMWS09Y7AcGSK6RP2OvOv6r23psNzsvIyYTid811plxsX4s0BQX EiuIIBHJGk6SjTwE41YGBeZsscrR2WzFSVB6VbCfqpRSoHRktpkYYw3K6DSaK0EGPtK5 +Twg== MIME-Version: 1.0 X-Received: by 10.50.77.80 with SMTP id q16mr23560375igw.3.1372832596065; Tue, 02 Jul 2013 23:23:16 -0700 (PDT) Received: by 10.42.88.194 with HTTP; Tue, 2 Jul 2013 23:23:15 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Jul 2013 08:23:15 +0200 Message-ID: Subject: Re: Groovy From: Philippe Mouawad To: "dev@jmeter.apache.org" Content-Type: multipart/alternative; boundary=047d7bdc123839857b04e0957fb2 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bdc123839857b04e0957fb2 Content-Type: text/plain; charset=ISO-8859-1 In my experience Scripting elements are more than intended for prototyping . In my 10 last recent scripting experience I have used them at least once. I have met plenty of cases where you absolutely need them ( or you need to setup an eclipse project with jmeter dependencies to finally generate a jar, I am sure plenty of testers wouldn't do it). I also feel it is one of JMeter best feature and gives it a real flexibility. With compilable they have nearly as good performance as if a jar had been created with java classes. For the argument about having more jars in classpath, the perf loss is really very tiny and most of it at startup and on class load. And I feel it goes against reusing in that case. As for beanshell, ok but I think it will take some time before having the level of features that groovy has. Regards Philippe On Wednesday, July 3, 2013, Shmuel Krakower wrote: > Maybe scripting elements are intended for prototyping but from my > experience I endup using few with most of the test plans I create, as I > always miss some specific functionality, which can be answered by those > script elements. > > Btw - what was the need when it was decided to add bean shell jars to > jmeter? > > I am not for adding groovy or against. > On Jul 3, 2013 1:49 AM, "sebb" > wrote: > > > On 2 July 2013 23:26, Philippe Mouawad > > wrote: > > > On Wednesday, July 3, 2013, sebb wrote: > > > > > >> On 2 July 2013 22:43, Philippe Mouawad > > > > > >> wrote: > > >> > hello, > > >> > so we include it ? > > >> > > > >> > It's +1 for me: > > >> > - faster than beanshell > > >> > - maintaned and jdk6 syntax can be used > > >> > - big community > > >> > > >> None of the above require it to be bundled with JMeter. > > >> > > >> > - embedding it will encourage its usage > > >> > > >> Possibly; I'm not convinced it's necessary to include it. > > >> > > >> I think we need to be very careful about adding stuff to JMeter just > > >> because it may be useful to some users. It's all to easy to end up > > >> with a bloated product that performs poorly. > > >> > > >> on the contrary, adding it will encourage groovy usage instead of > > > beanshell , and this will give better performances. > > > > Only for test plans that use scripting, but having more jars in the > > classpath can have an adverse effect on all tests. > > > > Besides, the scripting test elements are primarily intended for > > prototyping. > > > > Furthermore, BeanShell is hopefully joining Apache Commons soon. > > It may well end up as fast or faster than Groovy. > > > > >> > Regards > > >> > Philippe > > >> > > > >> > On Sunday, June 30, 2013, Philippe Mouawad wrote: > > >> > > > >> >> Hello Sebb, > > >> >> It's Apache 2 license > > >> >> groovy-all.jar is around 6m > > >> >> > > >> >> Regards > > >> >> Philippe > > >> >> On Sun, Jun 30, 2013 at 3:41 PM, sebb > > >> 'cvml', 'sebbaz@gmail.com ');> > > >> >> > wrote: > > >> >> > > >> >>> On 29 June 2013 22:57, Philippe Mouawad < > philippe.mouawad@gmail.com > > > >> 'cvml', 'philippe.mouawad@gmail.com ');>> > > >> >>> wrote: > > >> >>> > Hello, > > >> >>> > what about embedding groovy in next release so that it is > > >> automatically > > >> >>> > available to JSR223 sampler ? > > >> >>> > > >> >>> How big is it? > > >> >>> What is the license? > > >> >>> > > >> >>> > > > >> >>> > > > >> >>> > Regards > > >> >>> > Philippe > > >> >>> > > > >> >>> > -- > > >> >>> > Cordialement. > > >> >>> > Philippe Mouawad. > > >> >>> > > >> >> > > >> >> > > >> >> > > >> >> -- > > >> >> Cordialement. > > >> >> Philippe Mouawad. > > >> >> > > >> >> > > >> >> > > >> > > > >> > -- > > >> > Cordialement. > > >> > Philippe Mouawad. > > >> > > > > > > > > > -- > > > Cordialement. > > > Philippe Mouawad. > > > -- Cordialement. Philippe Mouawad. --047d7bdc123839857b04e0957fb2--