jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Himanshu Ghai" <himanshug...@gmail.com>
Subject Re: Regex - Null Default values
Date Fri, 19 Dec 2008 04:01:24 GMT
i didnt provide a value for the user variable.
this variable is default value on the reg-ex
extractor..

Himanshu

On Thu, Dec 18, 2008 at 4:28 PM, Serpent_Guard <bluegate010@gmail.com>wrote:

>
> Oh, well, empty strings would work too.  How did you do it?
>
>
>
> Himanshu Ghai wrote:
> >
> > sorry! doesnt work for me either..looked at my scripts
> > I used "null" string  instead of empty string..I am not able to set it
> > to empty string..may be someone else has a way!
> >
> > Himanshu
> >
> > On Thu, Dec 18, 2008 at 2:16 PM, Serpent_Guard
> > <bluegate010@gmail.com>wrote:
> >
> >>
> >> Nope, that doesn't work.  Apparently, it evaluates the variable first,
> so
> >> when the variable points to a null value, it acts as if I hadn't entered
> >> anything in at all for the default value.
> >>
> >>
> >> Himanshu Ghai wrote:
> >> >
> >> > i think i was able to get around this by declaring a
> >> > user variable and not giving any value for it..then
> >> > using it in the default value field..can you try if it
> >> > works?
> >> >
> >> > Himanshu
> >> >
> >> > On Wed, Dec 17, 2008 at 9:38 PM, Serpent_Guard
> >> > <bluegate010@gmail.com>wrote:
> >> >
> >> >>
> >> >> This isn't so much a question about regex as it is about how the
> >> JMeter
> >> >> regex
> >> >> component works.  The Default Value is what's assigned to the
> variable
> >> >> whenever there isn't a match.  I want the default value to be an
> empty
> >> >> string.  Is this possible?  Is there some escape character sequence
> >> that
> >> >> translates to a null string?
> >> >>
> >> >>
> >> >>
> >> >> sudheer reddy wrote:
> >> >> >
> >> >> > Hi
> >> >> >
> >> >> > check this link
> >> >> >
> >> >>
> >>
> http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/package-summary.html
> >> >> >
> >> >> >
> >> >> > I hope it will help ur need
> >> >> >
> >> >> > Thanks & Regards
> >> >> > Sudheer
> >> >> >
> >> >> >
> >> >> > On 12/18/08, Serpent_Guard <bluegate010@gmail.com> wrote:
> >> >> >>
> >> >> >>
> >> >> >> In my regex extractors, I want the default value to be an
empty
> >> >> >> string.  Just
> >> >> >> leaving it blank, it currently ignores the variable syntax
and
> >> outputs
> >> >> >> the
> >> >> >> raw '${var_name}' whenever there isn't a match.  Anyone know
how
> to
> >> do
> >> >> >> this?
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Regex---Null-Default-values-tp21064019p21064019.html
> >> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> >> >> >> For additional commands, e-mail:
> >> jmeter-user-help@jakarta.apache.org
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Regex---Null-Default-values-tp21064019p21067319.html
> >> >>  Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Regex---Null-Default-values-tp21064019p21081991.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Regex---Null-Default-values-tp21064019p21083739.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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