jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Reading Headers and creating custom requests
Date Mon, 08 Dec 2008 13:29:54 GMT
On 06/12/2008, Thomas Moyer <tmmoyer@cse.psu.edu> 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
>  tmmoyer@cse.psu.edu
>  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:
> jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
>
>

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


Mime
View raw message