Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 32684 invoked from network); 21 Mar 2007 12:21:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Mar 2007 12:21:26 -0000 Received: (qmail 3609 invoked by uid 500); 21 Mar 2007 12:21:31 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 3590 invoked by uid 500); 21 Mar 2007 12:21:31 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 3578 invoked by uid 99); 21 Mar 2007 12:21:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 05:21:31 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of sebbaz@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 05:21:21 -0700 Received: by ug-out-1314.google.com with SMTP id 30so280000ugs for ; Wed, 21 Mar 2007 05:20:59 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BG6K2/oGGc2cnP7b87da6rE0Z0k9K+1Nni8iMW593TnGq+WkrFjYEV/F7v2FWstOdNBBgqFdsXcG8GE/IzX5td+hOcYuAvauu6aBdq/WUrcPKMbdD1twHgqMr96riBPUMxUH2TgxJExH/ZZZUkKHxEQiJZBBbbjzJwJMsuBaaKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UUZeSbdbkZJk7YMmcEZbC9WN/2yuj0hvGBRJjH+VpVkuki0vf29Ut7BG5zWn9iZ6eOgvPNEXwBXL4wD6szUyIRZLqNZ9ZAQm9DZ3vmlEE8lCf0Rlf4/ktkCHIypcfV+p/HshCLWgsI74V3WuO4POsyvxYoWpeLzorYB/KLU/mDo= Received: by 10.114.80.4 with SMTP id d4mr139184wab.1174479658210; Wed, 21 Mar 2007 05:20:58 -0700 (PDT) Received: by 10.115.72.6 with HTTP; Wed, 21 Mar 2007 05:20:58 -0700 (PDT) Message-ID: <25aac9fc0703210520s511f9647o5b0040a69172e5f@mail.gmail.com> Date: Wed, 21 Mar 2007 12:20:58 +0000 From: sebb To: "JMeter Users List" Subject: Re: Own messages.properties for sampler In-Reply-To: <4600E3BF.3050509@fun.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4600E3BF.3050509@fun.de> X-Virus-Checked: Checked by ClamAV on apache.org If you base the sampler on the TestBean model, then these have their own properties files. For other samplers, at present there is only one messages.properties. However, you can always create your own properties bundle and read from that - you don't have to use the standard utility routines. And unless your sampler needs properties - e.g. you are going to deploy it in multiple languages - you can just use fixed strings instead. For the sampler label in the GUI - instead of over-riding getLabelResource(), you can override getStaticLabel() instead. S. On 21/03/07, Thorsten Castor wrote: > Hello everybody, > > I develop a sampler for JMeter. The idea is to generate a jar file and > put it in lib/ext without touching much more of JMeter. > Is it possible to use a own messages.properties (ResourceBundle) file > for the gui of the sampler. I don't want to change messages.properties > in ApacheJMeter_core.jar. I can't find any configuration possibilities > for that case. > > Thanks > Thorsten > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org