Automatic Cookie Management

If you want to do something for the cookies you need a HTTP Cookie Manager.

What are cookies yet. Typically the data stored on the user's local terminal, when the user ends the browser session, the system terminates all Cookie. When the Web server creates Cookies, as long as within the validity period, when users access the same Web server, the browser must first check the local Cookies, and which was sent to the Web server

The most typical application is to determine whether Cookies registered users already visit the website, the user may be prompted whether to retain user information when a site next to enter the simplified registration procedure, these are the Cookies function. Another important application is the "shopping cart" like handling. Users may choose different products with different pages of a website in over a period of time, this information will be written Cookies, in order to extract information at the time of final payment.

If you want to automatically manage cookies jmeter jmeter you need to modify configuration files, modify the

CookieManager.save.cookies = true, after modifying the configuration file, add the finished cookie manager, the latter do not need to add, and will automatically multiplex

 

 

 

 

 

 

 

After the completion of the operation, one wants to obtain the value of cookies can be used in $ {COOKIE_cookies

Name}, so you can use anywhere. But in general we need not do so, because the automatic management of cookies jmeter function has been able to help us do most of the situation.

 

 

Guess you like

Origin www.cnblogs.com/QaStudy/p/11517771.html