15 | JMeter | Functions and Variables |

preview_player
Показать описание
- What are functions
- What are variables
- How to use functions and variables
Functions - methods used to populate fields in any other element of a test plan
Syntax
${__funcName}
${__funcName(var1, var2, ….)}

Variables - containers that can store values, which can be referred in any element within a thread
${varName}

Never Stop Learning
Raghav Pal

Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you

You can support my mission for education by sharing this knowledge and helping as many people as you can

If my work has helped you, consider helping any animal near you, in any way you can.
#JMeterBeginnerTutorials
________ ONLINE COURSES TO LEARN ________

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

-------------VIRTUALISATION-------------
------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ PROGRAMMING ------------

------------ IDE ------------

------------ BUILD TOOLS ------------

------------ OTHERS ------------

----------- Connect with Raghav ------------

Never Stop Learning
Raghav
Рекомендации по теме
Комментарии
Автор

While giving function helper values, if I want to give dynamic values while running in HTTP request how to give? I mean one http request response I need to pass to function how to do?

Gsuresh_
Автор

Hi Raghav,
First of all thank you so much for bringing simplicity in your contents and tutorials. I have a scenario where I need to execute multiple orders (Primary key is OrderID) for multiple users but each time the listener should have the different OrderID. The payload is there in the body part of the "Sampler". Now question is that how can I increment Order id for the next thread and send it to the respective end point? i.e each time the new request should be sent with payload having incremented Order id.
Please help me out to solve this scenario :)

manishvarshney
Автор

So whatever number of parameters a function can take in, one extra at the end will be a variable that can store the functions output value? Is that true for all Jmeter functions? If not, how do you know it's true for which ones?

vnecksurferdude
Автор

would u please give an example of split function

KLOYT
Автор

Hi bro, in html report, we get usually fail, 90 per, avg sample right?
Instead of fail, can we change mode for pass count ? Is this possible?
Plz give some tricks, i will catch up 🙏

yazh
Автор

Hi bro,

If particular request failed and we hqve to omit that iteration, that time we can use "Result action control '.
is there any other solution for jumping another iteration if we observe error in particular api ?
Plz hlp me on that bro

yazh
Автор

Sir Thank you for all the effort you are putting for us. Is this Jmeter series complete sir, or there will be more topics coming on this?

in.meraki