Configuring JMeter Part 16 - How to configure Cookie Manager?

In this article we are going to see how can we configure jmeter by changing property of JMeter. In this section we will see the different settings for Cookie Manager in jmeter.properties.

In the jmeter installed bin directory(in my case C:\apache-jmeter-2.8\bin), we get a file named jmeter.properties. Open this with note pad.

-To Enable/Disable deleting null/empty Cookie  by Cookie Manager [Default is true]
CookieManager.delete_null_cookies=true

-To Enable/Disable variable cookies by Cookie Manager [ Default is true]
CookieManager.allow_variable_cookies=true

-To Enable/Disable save cookie as variables by Cookie Manager [Default is false]
CookieManager.save.cookies=false

-To set prefix with cookie name before storing by Cookie Manager [Default is COOKIE_]
CookieManager.name.prefix=COOKIE_

-To Enable/Disable checking validity of a cookie before saving by Cookie Manager[Default is true]
CookieManager.check.cookies=true

...Thanks..:)

No comments:

Post a Comment