JMeter tutorial 17 - How to use Functions and Variables in JMeter

Опубликовано: 19 Июнь 2019
на канале: Quality Assurance Lab
18,829
148

This is the seventeenth video of JMeter Tutorial series which covers how to use functions and variables in JMeter
Learning:

Functions:
• Values that can populate fields of any sampler or other element in a test tree
• Syntax: ${__functionName(par1, par2, par3…..)}, ${__functionName}
• Functions are case sensitive

Variables:

• Container to store values
• Syntax: ${variableName}
• Variables are local to a thread group

Function examples:

• Log – to log messages
Example: ${__log(hello Jmeter)}

• BeanShell – It evaluates the script passed to it and returns the result
Example: ${__BeanShell(1234*678,)} , ${__BeanShell(234*67,variable1)}

• Time – returns current time in various formats
Example: ${__time(dd/MM/yyyy,date)}

• Counter – Generates a new number each time it is called, starting from 1, and it gets incremented every time by +1
Example: ${__counter(,)}

==================================================================
Automation Anywhere Tutorial Playlist:
   • Automation Anywhere A11 Tutorial  

Subscribe for more tutorials -    / @qualityassurancelab7764  


Смотрите видео JMeter tutorial 17 - How to use Functions and Variables in JMeter онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Quality Assurance Lab 19 Июнь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 18,829 раз и оно понравилось 148 людям.