Hi sebb
What exactly is a JavaTest Sampler? I could not find it in JMeter but sounds
very useful because I want to be testing the values of regular expressions.
I have checked everything else but could not find a solution

> On Fri, 25 Feb 2005 14:59:08 +0200, Rigas <[EMAIL PROTECTED]> wrote:
> > Hi there,
> > I seem to be having a problem referencing a regular expression - It's
the
> > second time I m doing something with regexp and don't know what's wrong
> >
> > I have the following regular Expression Extractor under an HttpRequest
under
> > a Thread Group
> >
> > Reference Name:   subsectionid
> > Regular Expression:   parentId=(\d*).*subsection1
> > Template:   $1$
> > Match No:   0
>
> This means select a random match - is this intended?
>
> > Default Value:   -1
> >
>
> Otherwise looks OK.
>
> > Then in another Request I have a parameter checksubsections with the
value
> > ${subsectionid_g1}
> >
> > PROBLEM: When I check the results tree, after I run the test, in the
request
> > I see checkSubsections=${subsectionid_g1}, which means that it somehow
does
> > not recognise that this is a variable. What am I doing wrong?
>
> Are both the samplers in the same thread group?
>
> Are the variables spelt exactly the same (case matters)?
>
> Try adding a JavaTest sampler immediately after the original Http
> sampler to check the value(s) of the Regex variables.
>
> > Thanks in advance
> >
> > Rigas
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to