jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brudermann Roger" <roger.bruderm...@winterthur.ch>
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?

Roger

-----Urspr√ľngliche 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 <roger.brudermann@winterthur.ch> 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


Mime
View raw message