All,
I _think_ that Soa's issue was that using variables who's value comes
from the regex extractor is quite possible, it was going through a long
number of samplers typing in the variable substitution that was rather
daunting. Hence, my suggestion of using a global search and replace on
the jmx file :-)
Cheers
AJ
On Tue, 2007-02-13 at 11:40 +0000, sebb wrote:
> The Proxy Recorder will replace values with variable references.
>
> e.g. if you define HOST=a.b.c.d and then record a session against
> a.b.c.d it should replace a.b.c.d with ${HOST} whereever it is found.
>
> See the description here:
>
> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Proxy_Server
>
> However your problem is a bit different, in that you don't know the values.
>
> You may be able to get round this by recording the first sample,
> extracting the values and defining the variables, and then continuing.
> You may need to restart the Proxy to get it to pick up the new
> variables.
>
> Let us know if this works!
>
> On 13/02/07, Alexander J Turner <[EMAIL PROTECTED]> wrote:
> > Soa,
> >
> > For bulk update of large JMeter test schema, I tend to just open the jmx
> > file in gvim or jedit and do a search and replace. The jmx if just an
> > text/xml file. This way you can change all your samplers in one hit in
> > just a few minutes.
> >
> > Cheers
> >
> > AJ
> >
> > On Tue, 2007-02-13 at 09:09 +0100, SOA Work wrote:
> >
> > >
> > > Hi there,
> > >
> > > I have the following problem:
> > >
> > > The web application I want to test uses some hidden input fields to
> > > maintain state. So I have to check the first response for some values and
> > > use them for every following request as post parameter.
> > >
> > > Thanks to regular expression post processors I can easily retrieve the
> > > needed values, but I don’t know how to automatically reuse them in
> > > the following requests.
> > >
> > > Changing every following http sample is a solution, but I use the
> > > recording mode and do have lots of samples, so it would be nice to
> > > automate this task.
> > >
> > > Can somebody help me out? Do I miss something? Is there a common way like
> > > a specific pre-processor to solve this problem.?
> > >
> > > Thanks in advance
> > > soa
> > >
> > > _____________________________________________________________________
> > > Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > > http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> > www.cubicalland.com
> > www.nerds-central.blogspot.com
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
www.cubicalland.com
www.nerds-central.blogspot.com