Try with a variable pass to JMeter and use a IF to choose the right sampler
Le 27 sept. 2017 18:40, <[email protected]> a écrit : > Yes, using the same RabbitMQ plugin you mentioned. > > Was hoping for some component already out there supporting both > protocol's. > > Nevertheless, if there is a need to create new plugin, where should I look > for relevant guide? > > Thanks, > Hiren > > > > > > From: Emilian Bold <[email protected]> > To: JMeter Users List <[email protected]> > Cc: "JMeter Dev@" <[email protected]> > Date: 27-09-2017 09:57 PM > Subject: Re: JMeter - Common JMS/RabbitMQ component > > > > I imagine that for AMQP you use a 3rd party plugin like > https://github.com/ > jlavallee/JMeter-Rabbit-AMQP ? > > I guess it might be possible to create a custom plugin to bridge towards > those two underlying. > > > --emi > > On Wed, Sep 27, 2017 at 7:00 PM, <[email protected]> wrote: > > > Hi, > > > > As part of our Integration Test Automation process, we have been > actively > > using Apache JMeter tool. > > > > Some part of test automation needs Asynchronous Message > > Publisher/Subscriber. We have both ActiveMQ (JMS) and RabbitMQ brokers > to > > be supported in integration tests. > > > > What we see is JMeter: > > > > - uses *JMS *Point-to-Point/ Publisher/ Subscriber for *ActiveMQ * > > communication. > > - and needs *AMQP *Publisher/ Consumer for *RabbitMQ* communication. > > > > > > This works well in isolation. However, problem is when we want to switch > > between RabbitMQ and ActiveMQ broker, depending on what environment we > are > > testing with (e.g. Dev, Test, QA etc). > > > > Problem is we have to maintain completely two different Test Suite: > > > > - one with AMQP components (for RabbitMQ) > > - another one with JMS components (for ActiveMQ) > > > > > > *Is there a way in JMeter *by which we use some common > publisher/consumer > > that can support both RabbitMQ and ActiveMQ, without us having to > maintain > > two different Test Suite? So that we can anytime switch between the > brokers. > > > > > > > > > > > > Thanks, > > Hiren > > > > > > > > > > > > *------------------------------ This e-Mail may contain proprietary and > > confidential information and is sent for the intended recipient(s) only. > If > > by an addressing or transmission error this mail has been misdirected to > > you, you are requested to delete this mail immediately. You are also > hereby > > notified that any use, any form of reproduction, dissemination, copying, > > disclosure, modification, distribution and/or publication of this e-mail > > message, contents or its attachment other than by its intended > recipient/s > > is strictly prohibited. Visit us at http://www.intellectdesign.com > > <http://www.intellectdesign.com> ------------------------------* > >
