On 06/12/2008, Thomas Moyer <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>  Hash: SHA1
>
>  Is it possible in a test plan to read the headers returned from a request
> (which will contain a URL) and then request the indicated URL?
>

Yes, use the Regex Extractor and set the "Response Field to check" to "Headers":

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor

You can then use the variable in a subsequent sampler.


>  ~tom
>
>  - --
>  Thomas Moyer
>  Graduate Student
>  CSE Department
>  Penn State University
>  [EMAIL PROTECTED]
>  http://www.cse.psu.edu/~tmmoyer
>
>  -----BEGIN PGP SIGNATURE-----
>  Version: GnuPG v1.4.8 (Darwin)
>
> iEYEARECAAYFAkk6z4IACgkQa7Yypxfw9Tc14wCeOOJ0pWogFI28Mu54HMcyTyPa
>  3aAAn2xdw/kelb9m7bxHPyhod6/VQ56o
>  =LT+H
>  -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> [EMAIL PROTECTED]
>  For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to