jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: While controller
Date Fri, 11 Nov 2011 17:41:44 GMT
can u upload your test somewhere and provide a link? What you asre saying
doesnt seem to match what your first post has (which seems to have a syntax
error in the function)


On Fri, Nov 11, 2011 at 9:06 AM, Shaba K <shabazia09@gmail.com> wrote:

> Within while controller.
>
> ${event_code} as a variable condition
>
> where this variable is a UDV - assuming that i have 3 values that i am
> passing.
> I have set the second value as false.
>
> Hoping that the loop should terminate.
>
> It is not affecting at all.
>
> ===================
>
> Second suggestion on adding a debug sampler under a while controller.
>
> it loops indefinitely just the first HTTP sampler.
>
>
> There's something that i am missing.
>
> -Shaba
>
>
> On Fri, Nov 11, 2011 at 4:52 PM, Deepak Shetty <shettyd@gmail.com> wrote:
>
> > Add a debug sampler under the while controller. Add a view results tree
> > listener under thread group. Run your test then click on debug sampler in
> > view results tree and check the response tab
> > On Nov 11, 2011 8:49 AM, "Shaba K" <shabazia09@gmail.com> wrote:
> >
> > > Am not too sure how the debug smapler works.
> > >
> > > I did add but no luck ..
> > >
> > > On Fri, Nov 11, 2011 at 4:38 PM, Deepak Shetty <shettyd@gmail.com>
> > wrote:
> > >
> > > > Add a debug sampler and view results tree listener to check what the
> > > value
> > > > of your variable is
> > > > On Nov 11, 2011 8:36 AM, "Shaba K" <shabazia09@gmail.com> wrote:
> > > >
> > > > > Ok , let me put this right.
> > > > >
> > > > > There is no error in logs.
> > > > >
> > > > > i have only 1 thread & i loop only once.
> > > > >
> > > > > I have 5 HTTP samplers.
> > > > >
> > > > > I am trying to achieve is pick new variable each time & go through
> > all
> > > 5
> > > > > samplers until you see a false..
> > > > >
> > > > > have places while controler as parent to the http samplers.
> > > > >
> > > > > On Fri, Nov 11, 2011 at 4:33 PM, Deepak Shetty <shettyd@gmail.com>
> > > > wrote:
> > > > >
> > > > > > Where have you placed the file is there an error in jmeter log
> > > > > > On Nov 11, 2011 8:27 AM, "Shaba K" <shabazia09@gmail.com>
wrote:
> > > > > >
> > > > > > > I did try that option as well.
> > > > > > >
> > > > > > > On Fri, Nov 11, 2011 at 3:19 PM, Steve Eckhart
> > > > > > > <Steve.Eckhart@wausaufs.com>wrote:
> > > > > > >
> > > > > > > > Shaba,
> > > > > > > >
> > > > > > > > Have you tried making the false entry the second or
third in
> > the
> > > > CSV
> > > > > > file
> > > > > > > > and adding a View Results Tree? What do you see when
the
> value
> > > > should
> > > > > > be
> > > > > > > > false?
> > > > > > > >
> > > > > > > > Steve Eckhart
> > > > > > > > Lead Quality Assurance Analyst
> > > > > > > >
> > > > > > > > WAUSAU Financial Systems
> > > > > > > > 14010 FNB PKWY STE500
> > > > > > > > Omaha, NE 68154-5206
> > > > > > > > Email: steve.eckhart@wausaufs.com
> > > > > > > >
> > > > > > > > Enterprise Payment Solutions.
> > > > > > > > CONFIDENTIALITY NOTICE:  This electronic transmission
> > (including
> > > > > files
> > > > > > > > attached hereto) is intended only for the use of the
> individual
> > > or
> > > > > > entity
> > > > > > > > named above.  If the reader of this message is not
the
> intended
> > > > > > > recipient,
> > > > > > > > you are hereby notified that any disclosure, dissemination,
> > > > copying,
> > > > > > > > distribution or taking of any action in reliance on
the
> > contents
> > > of
> > > > > > this
> > > > > > > > confidential information is strictly prohibited. 
If you have
> > > > > received
> > > > > > > this
> > > > > > > > communication in error, please destroy it and immediately
> > notify
> > > us
> > > > > by
> > > > > > > > return email.  Thank you.
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Shaba K [mailto:shabazia09@gmail.com]
> > > > > > > > Sent: Friday, November 11, 2011 5:00 AM
> > > > > > > > To: JMeter Users List
> > > > > > > > Subject: While controller
> > > > > > > >
> > > > > > > > Hi All,
> > > > > > > >
> > > > > > > > While controller that i have used in my test scripts
loops
> > > > > infinitely.
> > > > > > > >
> > > > > > > > Test Plan
> > > > > > > > +Thread Group
> > > > > > > > ++CSV data Set Config
> > > > > > > > ++USer Defined Variables
> > > > > > > > ++While controller -- >
> > > > > > ${__StringFromFile(event_codes.txt,event_code,)}
> > > > > > > am
> > > > > > > > reading from a file & have last string as false.
> > > > > > > > +++Search for tickets
> > > > > > > > +++book tickets
> > > > > > > >
> > > > > > > >
> > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > > > > > > > For additional commands, e-mail: user-help@jmeter.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message