(6) Jmeter Cookie Manager

During the http request process, we usually use cookie technology to mark a client to achieve the purpose of concatenating related http requests. In the browser environment, the browser will automatically carry cookies for our requests. When using Jmeter for testing, we need to make relevant settings

Add cookie manager

Insert image description here

  • Subsequently, when a cookie is returned in the response header of the login interface, subsequent requests will automatically bring the cookie.
    Insert image description here

Add cookies manually

  • Add cookies manually in HTTP Cookie Manager
    Insert image description here
  • In this way, each interface will bring a response cookie
    Insert image description here
    Insert image description here

Guess you like

Origin blog.csdn.net/futao__/article/details/127559245