On 04/06/2010, Prakash <pkpa...@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_Expression_Extractor

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

---------------------------------------------------------------------
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