sebb <sebbaz <at> gmail.com> writes:

> 
> On 04/06/2010, Prakash <pkpalai <at> gmail.com> wrote:
> >
> >  sebb <sebbaz <at> gmail.com> writes:
> >
> >
> >  >
> >  > On 04/06/2010, Prakash <pkpalai <at> 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 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 in
> >  > View Results Tree Listener.
> >  >
> >  > >  Managet of X.aspx during the recording(I found the header details of
> >  X.aspx
> >  > >  contains the <Location> parameter using Fiddler).
> >  > >
> >  > >  How can I set the dynamic values generated by the system for the
> >  <Location>
> >  > >  parameter in the HTTP Header Manager and would capture the value of
> >  variable
> >  > >  (ID) using regular expression from the header of X.aspx and assign 
it in
> >  the
> >  > >  send parameters of Y.aspx?
> >  >
> >  > Why not use follow redirect?
> >  >
> >  > >  Any help to get the solution will be appreciated.
> >  > >
> >  > >  Thanks,
> >  > >  Prakash
> >  > >
> >  > >
> >  > >
> >  > >
> >  > >  ---------------------------------------------------------------------
> >
> > > >  To unsubscribe, e-mail: jmeter-user-unsubscribe <at> 
jakarta.apache.org
> >  > >  For additional commands, e-mail: jmeter-user-help <at> 
jakarta.apache.org
> >  > >
> >  > >
> >  >
> >
> >  Hi,
> >
> >  Ofcourse, JMeter captures header details that it receives. But in this
> >  specific context, it does not capture the value of <Location> parameter 
which
> >  contains the dynamically generated URL that needs to be redirected..
> >
> >  I am using Follow Redirects but how to capture the value of the send 
parameter
> >  (that is <Location>) for Y.aspx that supposed to be present in the HTTP 
Header
> >  Manager of X.aspx?
> 
> What has the Header Manager got to do with this?
> The Header Manager is used to send additional headers.
> 
> The normal way to capture page content is to use:
> 
> 
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Ex
pression_Extractor
> 
> >
> >
> >  Thanks,
> >  Prakash
> >
> >
> >
> >
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: jmeter-user-unsubscribe <at> jakarta.apache.org
> >  For additional commands, e-mail: jmeter-user-help <at> jakarta.apache.org
> >
> >
> 

Hi,

Let me explain you the exact context again:

Steps:
Suppose on specific action:
There are two response files on following sequence:

1. X.aspx
2. Y.aspx


HTTP-Header Manager of X.aspx contains following values:

Accept-Language:        en-us
Accept: */*
User-Agent:            Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; etc.)
Accept-Encoding:       gzip, deflate
UA-CPU:                x86

Location: <Dynamically generated URL-> //Y.aspx?ID=abcdf> which I can see when 
run thru fiddler but does find from the response header of X.aspx while run 
thru the Jmeter.

The response content of X.aspx does not contain the value of the dynamic 
variable <ID>. 
Value of the <ID> is only present in the HTTP Header of X.aspx.

To work redirect correctly for Y.aspx, I need to have the value of the ID that 
can be appended in the Y.aspx or <ID> can be  used as the send parameter for 
Y.aspx.


Thanks,
Prakash








---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to