Use Jmeter cookie manager

Jmeter cookie manager

Scenario: need to log in every time you need to login interface test and can get cookie information directly after landing verification code, added to the cookie manager

step

  1. Use Google browser, successful landing
  2. Developer Tools open, switch to the file application, following FIG.Here Insert Picture Description
  3. Add thread groups jmeter added HTTP Cookie manager configuration elementHere Insert Picture Description
  4. Step 2 will be in the name, value, scope, paths, one to one security added to the Cookie Manager (PS: After completion can be used to save other thread group)Here Insert Picture Description
  5. Add HTTP Request, fill in the server address, the interface name / path, ports, mode selection requestHere Insert Picture Description
  6. Add the result to see the tree, click Run Here Insert Picture Description
    7.Here Insert Picture Description
Released three original articles · won praise 0 · Views 46

Guess you like

Origin blog.csdn.net/qq_28472741/article/details/105293805