forget about the HTTP Request Defaults. in the TestPlan element, create user-defined
variables (read about here:
http://jakarta.apache.org/jmeter/usermanual/functions.html).
For instance:
name value
server jakarta.apache.org
then start recording. JMeter will find all instances of "jakarta.apache.org" and
replace with
${server} while recording. Then, when you play back, you can just change the value of
the
"server" variable. I think you can to the same with the port, and you can certainly
do the
same with parts of the path.
-Mike
On 20 Mar 2003 at 14:39, root wrote:
> On Thu, Mar 20, 2003 at 08:50:07AM -0500, Mike Stover wrote:
> > This wasn't clear, but are you saying you can't abstract out the server name?
> > But,
> > of course you can - in both tools. Both tools let you define a variable (say
> > ${server} ) whose value is your current server. JMeter's proxy recorder will
> > automatically replace all occurrences of your server name with the ${server}
> > variable. Then, to use the test plan against another server, just change the
> > value of
> > the variable in one place. BadBoy appeared to be similar.
>
> About a month ago I posted this problem in the ML.
> I had a reply saying that it was a known problem and that there has
> been filled a bug report for it at that time.
>
> In my post I said that I've tried every combination I could think of:
> I've setted the "http request defaults" with the server name, port and
> path I was testing
> a) At test level
> b) At thread level
> c) At Controller level
> d) At proxy level
>
> None of this tries had produced a recording that was free from
> server,port and path variables.
>
> Maybe I setted up BadBoy in a wrong way, but I'm quite sure that JMeter
> had thi problem and was confirmed by others.
>
> If you have a sucessfull story doing this, I think we'ld love to know
> how it's done...
>
> Joao Clemente
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]