You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Keld Helbig Hansen <ke...@helbig.dk> on 2003/01/10 17:32:31 UTC
Recording using User Parameters
When I record something using the HTTP Proxy Server I get the servername and port number recorded in each and every HTTP request.
Is there some way to avoid this so I can later set the servername (and port number) in the HTTP Request Defaults?
I've heard that it should be possible by using the User Parameters, but I've not been able to make it work.
Appreciate any help from you.
/Keld
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Recording using User Parameters
Posted by Keld Helbig Hansen <ke...@helbig.dk>.
IT WORKS!
Thanx for your help. Saved my day :-)
/Keld
----- Original Message -----
From: "Jordi Salvat i Alabart" <js...@atg.com>
To: "JMeter Users List" <jm...@jakarta.apache.org>
Sent: Friday, January 10, 2003 6:15 PM
Subject: Re: Recording using User Parameters
> No, no! Not User Parameters.
>
> Variables in the test plan:
> - Select the "Test Plan" in the tree.
> - Press the "Add" button which is about the center of the right-hand pannel.
> - Enter name: "host", value "www.your-domain.com"
> - ... you can probably guess the rest ...
>
> It worked last time I had to use it.
>
> Good luck,
>
> Jordi.
>
> Keld Helbig Hansen wrote:
> > I've tried it and it simply doesn't work.
> > I'm using JMeter v. 1.8.
> > I've tried putting the User Parameter inside the Thread Group and inside the Test Plan--nothing works.
> > The value of Name is SERVER, and the value of User_1 is localhost. And I run a Tomcat on my own computer, so my browser goes to localhost:8080.
> > The port number for the HTTP proxy server is set to 8090.
> > Recording works fine, but I don't get localhost replaced by ${SERVER}--which is what I expected.
> > Any help out there?
> > /Keld
> > ----- Original Message -----
> > From: "Jordi Salvat i Alabart" <js...@atg.com>
> > To: "JMeter Users List" <jm...@jakarta.apache.org>
> > Sent: Friday, January 10, 2003 5:34 PM
> > Subject: Re: Recording using User Parameters
> >
> >
> >
> >>If you define a couple of variables in your Test Plan matching the
> >>server name and port number, the HTTP Proxy Server will very cleverly
> >>use those in lieu of the actual servername and port number.
> >>
> >>Then you can just change those values to get what you want.
> >>
> >>Salut,
> >>
> >>Jordi.
> >>
> >>Keld Helbig Hansen wrote:
> >>
> >>>When I record something using the HTTP Proxy Server I get the servername and port number recorded in each and every HTTP request.
> >>>Is there some way to avoid this so I can later set the servername (and port number) in the HTTP Request Defaults?
> >>>I've heard that it should be possible by using the User Parameters, but I've not been able to make it work.
> >>>Appreciate any help from you.
> >>>/Keld
> >>>
> >>>--
> >>>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> >>>For additional commands, e-mail: <ma...@jakarta.apache.org>
> >>>
> >>>
> >>
> >>
> >>--
> >>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> >>For additional commands, e-mail: <ma...@jakarta.apache.org>
> >>
> >>
> >
> > --
> > To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Recording using User Parameters
Posted by Jordi Salvat i Alabart <js...@atg.com>.
No, no! Not User Parameters.
Variables in the test plan:
- Select the "Test Plan" in the tree.
- Press the "Add" button which is about the center of the right-hand pannel.
- Enter name: "host", value "www.your-domain.com"
- ... you can probably guess the rest ...
It worked last time I had to use it.
Good luck,
Jordi.
Keld Helbig Hansen wrote:
> I've tried it and it simply doesn't work.
> I'm using JMeter v. 1.8.
> I've tried putting the User Parameter inside the Thread Group and inside the Test Plan--nothing works.
> The value of Name is SERVER, and the value of User_1 is localhost. And I run a Tomcat on my own computer, so my browser goes to localhost:8080.
> The port number for the HTTP proxy server is set to 8090.
> Recording works fine, but I don't get localhost replaced by ${SERVER}--which is what I expected.
> Any help out there?
> /Keld
> ----- Original Message -----
> From: "Jordi Salvat i Alabart" <js...@atg.com>
> To: "JMeter Users List" <jm...@jakarta.apache.org>
> Sent: Friday, January 10, 2003 5:34 PM
> Subject: Re: Recording using User Parameters
>
>
>
>>If you define a couple of variables in your Test Plan matching the
>>server name and port number, the HTTP Proxy Server will very cleverly
>>use those in lieu of the actual servername and port number.
>>
>>Then you can just change those values to get what you want.
>>
>>Salut,
>>
>>Jordi.
>>
>>Keld Helbig Hansen wrote:
>>
>>>When I record something using the HTTP Proxy Server I get the servername and port number recorded in each and every HTTP request.
>>>Is there some way to avoid this so I can later set the servername (and port number) in the HTTP Request Defaults?
>>>I've heard that it should be possible by using the User Parameters, but I've not been able to make it work.
>>>Appreciate any help from you.
>>>/Keld
>>>
>>>--
>>>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>>>For additional commands, e-mail: <ma...@jakarta.apache.org>
>>>
>>>
>>
>>
>>--
>>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>>For additional commands, e-mail: <ma...@jakarta.apache.org>
>>
>>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Recording using User Parameters
Posted by Keld Helbig Hansen <ke...@helbig.dk>.
I've tried it and it simply doesn't work.
I'm using JMeter v. 1.8.
I've tried putting the User Parameter inside the Thread Group and inside the Test Plan--nothing works.
The value of Name is SERVER, and the value of User_1 is localhost. And I run a Tomcat on my own computer, so my browser goes to localhost:8080.
The port number for the HTTP proxy server is set to 8090.
Recording works fine, but I don't get localhost replaced by ${SERVER}--which is what I expected.
Any help out there?
/Keld
----- Original Message -----
From: "Jordi Salvat i Alabart" <js...@atg.com>
To: "JMeter Users List" <jm...@jakarta.apache.org>
Sent: Friday, January 10, 2003 5:34 PM
Subject: Re: Recording using User Parameters
> If you define a couple of variables in your Test Plan matching the
> server name and port number, the HTTP Proxy Server will very cleverly
> use those in lieu of the actual servername and port number.
>
> Then you can just change those values to get what you want.
>
> Salut,
>
> Jordi.
>
> Keld Helbig Hansen wrote:
> > When I record something using the HTTP Proxy Server I get the servername and port number recorded in each and every HTTP request.
> > Is there some way to avoid this so I can later set the servername (and port number) in the HTTP Request Defaults?
> > I've heard that it should be possible by using the User Parameters, but I've not been able to make it work.
> > Appreciate any help from you.
> > /Keld
> >
> > --
> > To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Recording using User Parameters
Posted by Jordi Salvat i Alabart <js...@atg.com>.
If you define a couple of variables in your Test Plan matching the
server name and port number, the HTTP Proxy Server will very cleverly
use those in lieu of the actual servername and port number.
Then you can just change those values to get what you want.
Salut,
Jordi.
Keld Helbig Hansen wrote:
> When I record something using the HTTP Proxy Server I get the servername and port number recorded in each and every HTTP request.
> Is there some way to avoid this so I can later set the servername (and port number) in the HTTP Request Defaults?
> I've heard that it should be possible by using the User Parameters, but I've not been able to make it work.
> Appreciate any help from you.
> /Keld
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>