jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: JMS Pint-to-Point sampler question
Date Wed, 26 Aug 2009 10:17:01 GMT
On 26/08/2009, Ivan Ivankovic <ivankoi@gmail.com> wrote:
> If that is the case, I could use some hints Class names etc... to add this

Select the sampler, press Ctrl+W and the GUI and test element class
names will be displayed in the console window.

>  feature myself because I need it, so if I don't find  a way around I could
>  try to add this feature. Something like a third column to choose Type of
>  property value.

Yes, that's probably best.

>  Or simply to support some simple conversion syntax like int("0") in value
>  field itself or something like that. This would be faster to implement but
>  it would be ugly

Or add an indicator to the name field, e.g.

(int)fieldname   1234

But I agree this is uglier than adding a 3rd column.

>  Regards.
>
>
>  On Wed, Aug 26, 2009 at 12:02 PM, sebb <sebbaz@gmail.com> wrote:
>
>  > The JMSSampler only supports setStringProperty() currently.
>  >
>  > On 26/08/2009, Noel O'Brien <nobrien@newbay.com> wrote:
>  > > Hi Ivan,
>  > >
>  > >  AFAIK, It's not possible with the stock JMS P2P Sampler as it seems to
>  > assume everything is a String. Maybe Sebb can can confirm this?
>  > >
>  > >  Regards,
>  > >
>  > > Noel
>  > >
>  > >
>  > >  ----- "Ivan Ivankovic" <ivankoi@gmail.com> wrote:
>  > >  > Hi guys,
>  > >  >
>  > >  > Is there anybody to know if this is (see below) possible to do with
>  > JMS
>  > >  > Point-toPoint sampler or not?
>  > >  >
>  > >  > Anything I put as a property values is treated as string, and I need
>  > it as
>  > >  > Integer, because this property is used as a messageSelector for my
>  > MDB.
>  > >  >
>  > >  > Regards.
>  > >  >
>  > >  > On Tue, Aug 25, 2009 at 5:17 PM, Ivan Ivankovic <ivankoi@gmail.com>
>  > wrote:
>  > >  >
>  > >  > > Hi,
>  > >  > >
>  > >  > > Could you please tell me if there is a way to specify Integer
>  > property in
>  > >  > > JMS properties section. If I put 0 (zero) it is treated as string.
>  > >  > >
>  > >  > > I need something that corresponds to following in java:
>  > >  > >
>  > >  > > jmsMessage.setIntProperty(0);
>  > >  > >
>  > >  > > Regards,
>  > >  > > Ivanko
>  > >  > >
>  > >  >
>  > >  >
>  > >  >
>  > >  > --
>  > >  > Pozdrav,
>  > >  > Ivanko
>  > >  >
>  >
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>
>
>
>  --
>  Pozdrav,
>  Ivanko
>

---------------------------------------------------------------------
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