How to Handle Dynamic path in jmeter



  • How to handle Dynamic Request URL Path in Jmeter. This request is not recorded in Script, it dynamically appears only in Login page response where in two places. enter image description here

    enter image description here



  • Firstly, you have to use the CSS/JQuery Extractor as a post-processor on the login thread group.

    It allows you to query the HTML response using CSS Selector, and save it in a variable.

    enter image description here

    More info here.

    Afterwards, you can access this variable using the ${variable_name} notation.

    enter image description here

    More info here.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2