From jmeter-user-return-10074-apmail-jakarta-jmeter-user-archive=jakarta.apache.org@jakarta.apache.org Fri Dec 09 16:09:43 2005 Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 5933 invoked from network); 9 Dec 2005 16:09:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Dec 2005 16:09:42 -0000 Received: (qmail 39601 invoked by uid 500); 9 Dec 2005 16:09:39 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 39573 invoked by uid 500); 9 Dec 2005 16:09:39 -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 39562 invoked by uid 99); 9 Dec 2005 16:09:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2005 08:09:39 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=DNS_FROM_RFC_ABUSE,INVALID_MSGID,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [145.253.137.13] (HELO wic-zau-22.dbv-winterthur.de) (145.253.137.13) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2005 08:09:38 -0800 Received: from wic-zau-22.dbv-winterthur.de (localhost [127.0.0.1]) by localhost.dbv-winterthur.de (Postfix) with ESMTP id 3B1F219271C for ; Fri, 9 Dec 2005 17:10:30 +0100 (MET) Received: from WIB-CHMN-03.chres1.doleni.net (unknown [169.45.9.35])by wic-z au-22.dbv-winterthur.de (Postfix) with ESMTP id 1C24619270Efor ; Fri, 9 Dec 2005 17:10:30 +0100 (MET) Received: from chsa1049.chres1.doleni.net ([169.62.128.81]) by WIB-CHMN-03.c hres1.doleni.net with Microsoft SMTPSVC(6.0.3790.1830);Fri, 9 Dec 2005 17:0 9:13 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message Subject: AW: Value replacing in streams MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Fri, 9 Dec 2005 17:09:12 +0100 Message-ID: <3AB38A8D2439CE41B8A84EDB89941EC6013395C4@chsa1049.chres1.doleni .net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Value replacing in streams Thread-Index: AcX5mvyjV1qG+oe/QuWysjiZ/PXdogDPZQVw From: "Brudermann Roger" To: "JMeter Users List" X-OriginalArrivalTime: 09 Dec 2005 16:09:13.0380 (UTC) FILETIME=[E5869640:01 C5FCDA] X-imss-version: 2.0 X-imss-result: Passed X-imss-scores: Clean:67.01217 C:20 M:1 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for all your feedback. I am currently working on my own stream = replacement facility.=20 As far as I understand the JMeter implementation, all the preprocessor = variables are stored in an instance of JMeterVariables which can be = accessed by means of calling = JMeterContextService.getContext().getVariables(). To do the actual = replacement in my stream I would like to know the names of all the = (counter) variables that have been configured. Unfortunately the class = JMeterVariables does not offer an operation to extract these names. It = looks like I am a bit stuck here. Do you know a solution or am I missing something? Roger -----Urspr=FCngliche Nachricht----- Von: sebb [mailto:sebbaz@gmail.com] Gesendet: Montag, 5. Dezember 2005 13:51 An: JMeter Users List Betreff: Re: Value replacing in streams You will have to implement your own "stream edit" facility. S. On 05/12/05, Brudermann Roger wrote: > Dear JMeter Community > > We have the need to do performance testing with with huge SOAP and JMS > messages (e.g. 50MB). Instead of pasting these messages in a text box = of an > appropriate sampler, we had the idea to write an own sampler which = reads the > messages as data streams directly from the file system. So far so = good. > > The problem is that we need to use pre processor variables (counters) = to > customize the messages. We noticed that counter value replacing does = not > take place and we think this is due to the fact that the messages are = not > stored in a sampler property. Does somebody have an idea how we could > implement some "on the fly value replacing" while reading the message = stream > from the file system (e.g. line by line)? > > Any help is greatly appreciated! Thanks! > > Regards, > Roger Brudermann > > --------------------------------------------------------------------- > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org