Thank you both for your opinions.
I think the perfect solution for me isn't possbile in jmeter. I assumed that 
already, but wasn't sure.
Perfect would be if I can mark a parameter's value and do a "replace all" in 
Jmeter. 

I'll try the external editor  solution.

One last try: Is it possible to create a pre-processor (f.e.: beanshell) which  
can chance the parameters of the current sample?

best regards
soa


> -----Ursprüngliche Nachricht-----
> Von: "JMeter Users List" <[email protected]>
> Gesendet: 13.02.07 13:05:19
> An: JMeter Users List <[email protected]>
> Betreff: Re: replace session parameters for every sample


> 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&#8217;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
> 
> 
> 
> 
> 


_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222


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

Reply via email to