A referer is normally sent by the browser based on the page you were on when you clicked the link (and jmeter isn't a browser). If you absolutely need the referrer to be sent(if you have server code that relies on the referrer , the server code is just plain bad , especially if its during security related checks) then you'd probably need to add a HTTP Header manager to your request.
If you needed this for each and every request then you might try using a BSH Pre Processor to set the Referrer value into the HeaderManager of the HTTP Sample (sampler.getHeaderManager().addHeader(Header)). You'd probably also add a post processor to every request that tracks the URL(so that it can be added as the referrer). There is no way to do all of this automatically (unless you recorded the script , in which case the referrer would have got recorded as well) as far as I know regards deepak On Tue, Oct 13, 2009 at 3:41 PM, Alexandr <[email protected]> wrote: > When I run my tests with http samplers I don't see referer in http request > headers. I can't find anything in user manual how to realise it. Cookie > manager controller can track sessions but doesn't track referrers. Why? > Anybody make a referrer traking in their test? > > -- > WBR, > Alexandr Sukhov >

