testing - Pass dynamic tab number in jmeter -


while recording steps using jmeter, sample '/settabnumber.do?tabnum=2'. but, 2 dynamic. may 3,4,6 etc on each login. how, tabnum , pass path.

if need random number in specific range jmeter provides following functions:

  • __random() - generation of random number in range
  • __randomstring() - generation of random string specified character set , specified length.

if tab number can found in previous page source code may have regular expression extractor (or similar) post processor

if test case more complex , need check i.e. whether virtual user redirected correct tab on second attempt of opening login page or may need add http cookie manager test plan.


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -