Re: Reg: HTTP Request and HTTP Header Manager to execute these scripts on different Application servers

2011-08-12 Thread Bruce Ide
Lets see if I can include jmx files here. If not I can post these in my github repository. Please find enclosed two JMX tests (Assuming something doesn't eat them between here and there.) samplevars.jmx contains two user defined variable elements, one of which is disabled. You can switch which

Reg: HTTP Request and HTTP Header Manager to execute these scripts on different Application servers

2011-08-11 Thread Shirish
with the Application server “A”. I found one solution as to remove the *HTTP Header Manager* present under the Http Requests, after updating the “HTTP Request Defaults -- Server name /IP” variable value to the desired Server Address; I found that some thread requests are getting executed successfully and some

RE: HTTP Request and HTTP Header Manager to execute these scripts on different Application servers

2011-08-11 Thread Nermin Caluk
-Original Message- From: Shirish [mailto:shirish.ganje...@gmail.com] Sent: 11. kolovoz 2011 15:15 To: JMeter Users List Subject: Reg: HTTP Request and HTTP Header Manager to execute these scripts on different Application servers Hello Friends, As of now I am currently working with a Product

Re: Reg: HTTP Request and HTTP Header Manager to execute these scripts on different Application servers

2011-08-11 Thread Bruce Ide
I run into this sort of thing a lot at work. What I ended up doing was making a variables.jmx file with all those variables for the different environments defined in 4 different user defined variables config elements. Then I just enable only the config element I want to use for a specific

Re: Reg: HTTP Request and HTTP Header Manager to execute these scripts on different Application servers

2011-08-11 Thread Deepak Shetty
the issues which I encountered and reported with the Application server “A”. I found one solution as to remove the *HTTP Header Manager* present under the Http Requests, after updating the “HTTP Request Defaults -- Server name /IP” variable value to the desired Server Address; I found

Re: How to capture dynamic values from HTTP Header Manager

2010-06-07 Thread Prakash
Hi, That is correct the Location header is sent by the server. But it is not being captured by Jmeter. If I run thru the same action using Fidler, I can see the Location Header. Any other options to make the Jmeter to receive the Location Header in this context? Thanks, Prakash

Re: How to capture dynamic values from HTTP Header Manager

2010-06-07 Thread sebb
On 07/06/2010, Prakash pkpa...@gmail.com wrote: Hi, That is correct the Location header is sent by the server. But it is not being captured by Jmeter. What do you mean by captured ? Does it not appear in the View Results Tree Listener? All headers are shown on the Sampler Result tab under

How to capture dynamic values from HTTP Header Manager

2010-06-04 Thread Prakash
Hi All, Can someone help me what would be the solution for following scenario? There are two responses get generated (say X.aspx and Y.aspx) upon a request. The value of the Location parameter in the HTTP Header Manager of X.aspx (POST Method used)contains the URL: Y.aspx?ID=abcdf Y.aspx

Re: How to capture dynamic values from HTTP Header Manager

2010-06-04 Thread sebb
On 04/06/2010, Prakash pkpa...@gmail.com wrote: Hi All, Can someone help me what would be the solution for following scenario? There are two responses get generated (say X.aspx and Y.aspx) upon a request. The value of the Location parameter in the HTTP Header Manager of X.aspx (POST

Re: How to capture dynamic values from HTTP Header Manager

2010-06-04 Thread Prakash
parameter in the HTTP Header Manager of X.aspx (POST Method used)contains the URL: Y.aspx?ID=abcdf Y.aspx contains the send parameter that is ID Jmeter does not capture the value of the Location parameter in the HTTP Header JMeter captures all headers that it receives; check the response

Re: How to capture dynamic values from HTTP Header Manager

2010-06-04 Thread sebb
and Y.aspx) upon a request. The value of the Location parameter in the HTTP Header Manager of X.aspx (POST Method used)contains the URL: Y.aspx?ID=abcdf Y.aspx contains the send parameter that is ID Jmeter does not capture the value of the Location parameter

Re: How to capture dynamic values from HTTP Header Manager

2010-06-04 Thread Prakash
? There are two responses get generated (say X.aspx and Y.aspx) upon a request. The value of the Location parameter in the HTTP Header Manager of X.aspx (POST Method used)contains the URL: Y.aspx?ID=abcdf Y.aspx contains the send parameter that is ID Jmeter

Re: How to capture dynamic values from HTTP Header Manager

2010-06-04 Thread sebb
help me what would be the solution for following scenario? There are two responses get generated (say X.aspx and Y.aspx) upon a request. The value of the Location parameter in the HTTP Header Manager of X.aspx (POST Method used)contains the URL

Re: HTTP Header Manager uses old variable values?

2010-01-14 Thread Heiko Robert
: sebb seb...@gmail.com An: JMeter Users List jmeter-user@jakarta.apache.org Gesendet: Mittwoch, 13. Januar 2010 17:44:44 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien Betreff: Re: HTTP Header Manager uses old variable values? On 13/01/2010, Heiko Robert heiko.rob...@ecm4u.de wrote: sebb

Re: HTTP Header Manager uses old variable values?

2010-01-14 Thread sebb
(''); In the HTTP Header Manager: X-GUID = ${__javaScript(${MyGUIDScript},GUID)} Since the code does not rely on any input from the server, you could use similar code to write the GUIDs to a file, and use the CSV Dataset Config element to read them. sebb schrieb: On 13

HTTP Header Manager uses old variable values?

2010-01-13 Thread Heiko Robert
Hi, when I use HTTP Header Manager to set HTTP header variables old values are used. Has anybody an idea what I'm doing wrong? My Testplan: user defined variables: GUID = not set BSF PreProcessor: setting values to variable GUID Simple Controller HTTP Request ${GUID} HTTP

Re: HTTP Header Manager uses old variable values?

2010-01-13 Thread sebb
On 13/01/2010, Heiko Robert heiko.rob...@ecm4u.de wrote: Hi, when I use HTTP Header Manager to set HTTP header variables old values are used. Has anybody an idea what I'm doing wrong? Header Manager is a Configuration element, and is processed before the thread starts. You can use functions

Re: HTTP Header Manager uses old variable values?

2010-01-13 Thread sebb
On 13/01/2010, Andrey Pohilko a...@fininfor.ru wrote: Hi, I have a question - how can I use function in test plan to set variable in runtime? Which component type I should use to do that? If you want to ask a new question, please start a new thread with a relevant subject.

Re: HTTP Header Manager uses old variable values?

2010-01-13 Thread Heiko Robert
] = uuid[23] = '-'; uuid[14] = '4'; for (var i = 0; i 36; i++) { if (!uuid[i]) {r = 0 | rnd()*16; uuid[i] = chars[(i == 19) ? (r 0x3) | 0x8 : r 0xf]; } }; uuid.join(''); In the HTTP Header Manager: X-GUID = ${__javaScript(${MyGUIDScript},GUID)} sebb schrieb: On 13/01/2010, Heiko Robert heiko.rob

Re: HTTP Header Manager uses old variable values?

2010-01-13 Thread sebb
uuid = [], rnd = Math.random, r; uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-'; uuid[14] = '4'; for (var i = 0; i 36; i++) { if (!uuid[i]) {r = 0 | rnd()*16; uuid[i] = chars[(i == 19) ? (r 0x3) | 0x8 : r 0xf]; } }; uuid.join(''); In the HTTP Header Manager: X-GUID = ${__javaScript

HTTP Header Manager?

2009-12-01 Thread danomano
Hi all, I've been attempting to send some custom Header fields in test, yet for some reason what ever I try, the values I put in the HTTP Header Manager are simply being ignored (i.e. they are never sent). I have had the HTTP Header Manager specified at 3 different scores to the HTTP Request

Re: HTTP Header Manager?

2009-12-01 Thread Deepak Shetty
: Hi all, I've been attempting to send some custom Header fields in test, yet for some reason what ever I try, the values I put in the HTTP Header Manager are simply being ignored (i.e. they are never sent). I have had the HTTP Header Manager specified at 3 different scores to the HTTP

Re: HTTP Header Manager?

2009-12-01 Thread danomano
attempting to send some custom Header fields in test, yet for some reason what ever I try, the values I put in the HTTP Header Manager are simply being ignored (i.e. they are never sent). I have had the HTTP Header Manager specified at 3 different scores to the HTTP Request Node: 1) Above

Re: HTTP Header Manager?

2009-12-01 Thread sebb
that's what the Authorization Manager is for ... -- View this message in context: http://old.nabble.com/HTTP-Header-Manager--tp26600411p26601045.html Sent from the JMeter - User mailing list archive at Nabble.com

HTTP Header Manager

2008-12-29 Thread sony6317
when do we add a http header manager. -- View this message in context: http://www.nabble.com/HTTP-Header-Manager-tp21200407p21200407.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: test plan stop working after adding a HTTP Header Manager

2007-10-15 Thread Richard Hubbell
It turns out that the subsequent http request, after the initial http request and is matched with an http link parser, did not have a broken pattern and so somehow that problem only showed any symptoms (other than logged errors) after I added the header manager. Once I fixed the http request

Re: test plan stop working after adding a HTTP Header Manager

2007-10-13 Thread sebb
What do you mean no longer works ? Do the samples return errors? Or perhaps no samples are generated? Have you checked jmeter.log? Any messages in the console window? Are there any other Header Managers in the test plan? On 12/10/2007, Richard Hubbell [EMAIL PROTECTED] wrote: I've got a

test plan stop working after adding a HTTP Header Manager

2007-10-12 Thread Richard Hubbell
I've got a spider-like test plan that recurses to a limite d depth. Some sites reject the default User-Agent and so I added a Header Manager to alter the User-Agent string. But after I add the Header Manager my test plan no longer works. I don't see anything in logs. Any ideas? Is it a scope

Re: HTTP Header Manager

2004-11-06 Thread sebb
(in the Browser-derived headers element) or do I just add one extra HTTP Header Manager within the Thread Group? In the latter case: will this header value be added to all requests or will it override the headers of the HTTP requests? At present, if more than one Header Manager is in scope

HTTP Header Manager

2004-11-01 Thread Coret Bob
Header Manager within the Thread Group? In the latter case: will this header value be added to all requests or will it override the headers of the HTTP requests? BTW, is it a know bug that you can't delete headers? The Delete button is always disabled in the HTTP Header Manager. Regards, Bob Coret

Re: HTTP Header Manager

2004-05-14 Thread Sebastian Bazley
Perhaps it would be worth adding an option to the regex extractor to allow it to look at headers? S. - Original Message - From: Michael Stover [EMAIL PROTECTED] To: JMeter Users List [EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 8:31 PM Subject: Re: HTTP Header Manager

Re: HTTP Header Manager

2004-05-12 Thread Ryo Sode
Good point. Yes, I can use variables from the user defined variables in the root test plan. However, what I was trying to do was to use the Regex Extractor to assign a dynamic value to a reference name and try using it in the HTTP Header Manager (which I hoped would look up the variable before

Re: HTTP Header Manager

2004-05-12 Thread Michael Stover
guys, I am a bit stuck here. Is there a way to using a dynamic value in HTTP Header Manager or is that impossible according to the spec? I am trying to dynamically specify the Value in a particular HTTP header that I added in HTTP header manager, based on the response coming back from

Re: HTTP Header Manager

2004-05-12 Thread Michael Stover
Is that a cookie? Have you tried using the cookie manager? The regex extractor doesn't look at the headers - they are held separately from the html body response. A component or function that read response headers and made the values available as variables is what you need if this is a

Re: HTTP Header Manager

2004-05-12 Thread Ryo Sode
Is that a cookie? Have you tried using the cookie manager? The regex extractor doesn't look at the headers - they are held separately from the html body response. Yeah, I was starting to suspect that was the reason why A component or function that read response headers and made the

Re: HTTP Header Manager

2004-05-12 Thread Michael Stover
A function is simplest - you don't have to write a gui. There is some support for automatic guis if you make a full-blown post-processor component, but you'll have to ask Jordi about that. you could make a function like ${__httpHeader(KEY)} So, to write that, you would copy the basics from the

Re: HTTP Header Manager

2004-05-12 Thread Ryo Sode
Sweet. I'll look into this. Ryo A function is simplest - you don't have to write a gui. There is some support for automatic guis if you make a full-blown post-processor component, but you'll have to ask Jordi about that. you could make a function like ${__httpHeader(KEY)} So, to write

Re: HTTP Header Manager

2004-05-11 Thread Ryo Sode
No one's got a clue? Ryo Hi guys, I am a bit stuck here. Is there a way to using a dynamic value in HTTP Header Manager or is that impossible according to the spec? I am trying to dynamically specify the Value in a particular HTTP header that I added in HTTP header manager, based

Re: HTTP Header Manager

2004-05-11 Thread Michael Stover
value comes from. Post your test plan is the best way to get help. -Mike On Tue, 2004-05-11 at 19:34, Ryo Sode wrote: No one's got a clue? Ryo Hi guys, I am a bit stuck here. Is there a way to using a dynamic value in HTTP Header Manager or is that impossible according to the spec

HTTP Header Manager

2002-12-10 Thread Eugene Grant
thought might be used to replace the domain name in the referer value as it already does with the domain name in all my HTTP Request nodes Is it possible to use the HTTP Header Manager to replace the domain name part of the referer value in the Browser-derived headers? Regards, Eugene Software

Re: HTTP Header Manager

2002-12-10 Thread Mike Stover
A better way to do it is to use user-defined variables. By doing this, you can use the same variable name in HTTP Requests, HTTP Header Manager - just about everywhere. Also, if you define your user-defined variables before recording using the proxy, JMeter will substitute the values

problem using http header manager

2002-08-14 Thread Donald Stinchfield
I've been tracing through exchanges between jmeter and my server and noticed that the http header Host has no value. In my test plan I set the value for Host in the http header manager. Thread Simple Controller HTTP Request

Re: problem using http header manager

2002-08-14 Thread Mike Stover
plan I set the value for Host in the http header manager. Thread Simple Controller HTTP Request Browser-derived headers (removed Host) HTTP Header Manager (only header set is Host) When I look

RE: problem using http header manager

2002-08-14 Thread Donald Stinchfield
Excellent Mike. Tested out perfectly. Thanks. -Original Message- From: Mike Stover [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 12:26 PM To: JMeter Users List Subject: Re: problem using http header manager Donald, I tried this, and I got a similar result