S3E8 Learn JMeter Series - While Controller
HTML-код
- Опубликовано: 19 ноя 2020
- This video features about #While #Controller in #JMeter.
Possible values for While Controller are:
blank
LAST
function or variable or property
GitHub Repo: github.com/QAInsights/Learn-J...
➡️ Join QAInsights Community at qain.si/community
➡️ Buy me a tea 🍵 www.buymeacoffee.com/qainsights
➡️ Get Certified in CKAD qain.si/startk8s
➡️ Get Certified in CKA qain.si/cka
➡️ My preferred DNS is NextDNS qain.si/nextdns
➡️ Learn Linux qain.si/linux
➡️ Get performance testing jobs real quick using Indeed → goo.gl/XAfCcE
➡️ Hostinger Web Hosting → goo.gl/MfwDyU
➡️ My Productivity Tools → goo.gl/2DfC5d
➡️ App Sumo for your business → goo.gl/zj92SA
➡️ Amazon → amzn.to/2L0Jv2n
➡️ TubeBuddy → www.tubebuddy.com/qainsights
➡️ LoadRunner Playlist • Learn LoadRunner Series
➡️ My first Udemy course entitled `Performance Testing using DevWeb` has been published.
➡️ qain.si/devweb
➡️ Subscribe at my blog qainsights.com - Наука
GitHub Repo: github.com/QAInsights/Learn-JMeter-Series/tree/master/Season3/While%20Controller
How to stop the loop if my given condition failed dhring the test run
Hi Naveen, how do I set the while controller in such a way that it only executes if the value of a particular variable is blank?
${__javaScript("${variable}" === "",)} this is what I have tried, but it doesn't seem to work.
Hi Naveen,
Can we have something to add on/under while loop should exist after 5mins even condition is not satisficed after 5mins
you can add a constant timer inside while loop to wait :)
Hi Naveen, thank you for the explanation. I have a question regarding the condition, I tried 2 versions of the condition:
1. ${__javaScript(${counter}
It should be platform agnostic. I don't prefer JavaScript while evaluating, please use groovy or jexl3 e.g. ${__jexl3(${counter} >= ${max_counter},)}
@@QAInsights I usually do use jexl3, but it didn't work for while controller. I read somewhere for while controller, it is better to use javascript
@@penny4225 I just tried jexl3 in while in JMeter 5.4.1. It is working fine. I prefer jexl3 over javascript :).
@@QAInsights could it be because I use version 5.1? I will try using jexl with vars.get function. Thank you Naveen!
@@penny4225 Might be; always use the latest version of JMeter :)
Hi naveen.it would be great if you show/explain all the details written in all samplers and pre post processorrs for the while condition as u have used lot of things for the last example and its difficult for beginners to follow.
It is not possible to cover all the permutation of all the elements, please watch the videos in the sequential order and practice more; you will get an idea. Thanks!
@@QAInsights I agree. We should watch the videos in sequential order. I've seen other channels where they repeat over and over again the same prerequisites for each video. It is a waste of time because users should just watch them in order. But the one thing is if you would kindly add a link in each video to the playlist that the video came from. On other channels (I just got yours for the 1st time now, so not sure if it hold water with yours) I have a hard time finding the playlist, especially if there are multiple playlist on the same topic (fore example, sometimes they will recreate an updated playlist every couple of years or so). Thank you!
@@3VAudioVideo thanks for your inputs. Finding playlist is not hard, if you go to any channel > playlist, you can see all the public playlists. Here is JMeter playlist ruclips.net/p/PLJ9A48W0kpRIjLkZ32Do9yDZXnnm7_uj_ Thanks.
@@QAInsights Thanks for the link! Yes, I know how to find playlist in any channel. And I said, I am not necessarily saying it was with your channel, but with some channels it takes some time to look through their list of various playlist to find out which playlist the video came from (for various reasons I won't go into). Thanks again!