jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From new2JM <kunchams...@yahoo.com>
Subject Re: HTTP Cookie
Date Fri, 11 May 2007 13:42:58 GMT

Thanks for your responses.. I will try these options and see...
Coming to the question "But I'm not clear why anyone would want to read
cookies from a file."....
We have a hoting environment where multiple clients will use the same JVM
and different DB server. Each Client is distinguised by thier client ID
which is stored in cookie(as well). My load test has to generate load for 10
clients simultaniously.. So, trhying to pass this clientId from file rather
than  make a copy of JMeter for each client. 
hope that makes sense.. 

Thanks

sebb-2 wrote:
> 
> You may be able to get round this using the Header Manager:
> 
> Set-Cookie          ${variable}
> 
> Make sure you only apply the Header Manager to the appropriate
> samples, otherwise the cookie may be sent to the wrong servers.
> 
> Otherwise, you can add cookies to the Cookie Manager itself, but they
> will need to be fixed for the duration of the test run. You can use
> multiple cookie managers, but only one should be in scope for a given
> sampler.
> 
> But I'm not clear why anyone would want to read cookies from a file.
> 
> On 11/05/07, Alf H√łgemark <alf@i100.no> wrote:
>>
>> Hi
>>
>> You seem to have hit the JMeter bug :
>> http://issues.apache.org/bugzilla/show_bug.cgi?id=28715
>>
>> So currently, user variables does not work in HTTP Cookie Manager.
>>
>> Regards
>> Alf Hogemark
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/HTTP-Cookie-tf3723999.html#a10432218
Sent from the JMeter - User mailing list archive at Nabble.com.


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