0
votes

I have recorded a performance test for customer application where they can see their invoices.

I am using CSV config file for picking username and password of 1000 users.

after logging in i want to click on Invoice view button but every invoice link is unique so my script is being failed.

please Help

link example: ------url-----\unique Invoice number\view

1

1 Answers

0
votes

You need to extract path to "View" page after logging in into a JMeter Variable and use it as a parameter in the relevant request. The most commonly used test element for it is Regular Expression Extractor. Something like:

  • Log In
    • Regular Expression Extractor -> Get "View" page URL
  • Open "View" page using URL from the Regular Expression Extractor

See: