jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: If Controller working in wondrous ways (or not)
Date Fri, 15 Aug 2014 13:59:42 GMT
Did you put you debug sampler just before the if controller that should be
used ?
Are you sure there is no space or something that fails conversion ?
Is the if Within an include controller ?

Put if controller in DEBUG mode and see if it helps.
Regards


On Friday, August 15, 2014, Oliver Erlewein <oliver@erlewein.net> wrote:

> Hi Pjilippe,
>
> I tried all of yesterday to produce a simple script, where this occurs but
> failed. It seems to be a certain constellation of things. So it's going to
> take me a while to reproduce. Can't share the original script as that needs
> a special network set-up and is probably too large with a big script with
> about 25 include controllers. :-(
>
> Cheers Oliver
>
>
> On 13 August 2014 17:36, Philippe Mouawad <philippe.mouawad@gmail.com
> <javascript:;>>
> wrote:
>
> > Hello,
> > Did you check jmeter.log for errors ?
> > Could you create a simple test plan using debug sampler to show issue if
> it
> > is?
> >
> > Try displaying with debug sampler the value of ${QuoteRequestID_matchNr}
> >  before IfController.
> > Regards
> >
> > On Wednesday, August 13, 2014, Oliver Erlewein <oliver@erlewein.net
> <javascript:;>>
> > wrote:
> >
> > > Hi all,
> > >
> > > So I've been fighting the If Controller for the last days (Ubuntu 64
> bit,
> > > Java 1.7 64bit, JMeter 2.11). I have to queries that basically simulate
> > an
> > > If...then...Else.
> > > ${QuoteRequestId} is populated by a regexp from the previous call.
> > >
> > > 1) If Controller: ${QuoteRequestID_matchNr} > 0
> > > Do some steps.
> > >
> > > 2) If Controller: ${QuoteRequestID_matchNr} < 1
> > > Do some steps.
> > >
> > > Both have no ticks in Variable Expression and Evaluate for all
> children.
> > 1)
> > > works and 2) doesn't. Nothing I tried with 2) worked. Testing for other
> > > stuff, using javascript, jexl,...
> > >
> > > What is going on? This is not the only time I've had this. IF
> Controller
> > > seems to work only sporadically.
> > >
> > > Cheers
> > > Oliver
> > >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
> >
>


-- 
Cordialement.
Philippe Mouawad.

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