jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brudermann Roger" <>
Subject AW: Value replacing in streams
Date Fri, 09 Dec 2005 16:09:12 GMT
Thanks for all your feedback. I am currently working on my own stream replacement facility.

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?


-----Urspr√ľngliche Nachricht-----
Von: sebb []
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.

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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message