From issues-return-13330-archive-asf-public=cust-asf.ponee.io@jmeter.apache.org Sun Sep 9 16:02:09 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C2A02180671 for ; Sun, 9 Sep 2018 16:02:08 +0200 (CEST) Received: (qmail 98900 invoked by uid 500); 9 Sep 2018 14:02:07 -0000 Mailing-List: contact issues-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@jmeter.apache.org Delivered-To: mailing list issues@jmeter.apache.org Received: (qmail 98889 invoked by uid 99); 9 Sep 2018 14:02:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2018 14:02:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 718DFC9889 for ; Sun, 9 Sep 2018 14:02:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -10.301 X-Spam-Level: X-Spam-Status: No, score=-10.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id BGJwEU398hKZ for ; Sun, 9 Sep 2018 14:02:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C35E95F385 for ; Sun, 9 Sep 2018 14:02:06 +0000 (UTC) Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id 32377E0360 for ; Sun, 9 Sep 2018 14:02:06 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id 657BD60057; Sun, 9 Sep 2018 14:02:05 +0000 (UTC) From: bugzilla@apache.org To: issues@jmeter.apache.org Subject: [Bug 62700] Introduce groovy.init.file to allow calling a groovy script on JMeter startup Date: Sun, 09 Sep 2018 14:02:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: Main X-Bugzilla-Version: 4.0 X-Bugzilla-Keywords: FixedInTrunk X-Bugzilla-Severity: enhancement X-Bugzilla-Who: felix.schumacher@internetallee.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: issues@jmeter.apache.org X-Bugzilla-Target-Milestone: JMETER_5.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D62700 --- Comment #4 from Felix Schumacher --- (In reply to UbikLoadPack support from comment #3) > (In reply to Felix Schumacher from comment #2) > > Created attachment 36141 [details] > > Make init file more generic > >=20 > > Try to find the correct script engine by looking at the extension of the > > init file (change the property name to jsr223.init.file at the same tim= e) >=20 > Thanks for patch. >=20 > What do you think of defaulting to Groovy if engine is not found and logg= ing > a warn message saying "We'll interpret your file as groovy ..." As groovy interprets quite a lot of java, groovy (and probably a bit of javascript) and it is our favourite scripting language, that might be a good idea. --=20 You are receiving this mail because: You are the assignee for the bug.=