Hi, I am running Neoload 7.1.0 and I really appreciate the new functions feature however in the manual the documentation states that:
"Wherever a variable can be used, a function can be used too."*
However I tried to use a function to set the number of loops in a loop and when I played back the loop is ignored. The function works when tested elsewhere.
Could you advise please?
The function works by getting the length of an input variable in order to replicate typing in a Pega autocomplete field (since a POST is made for every character typed after the first two.)
I have put another javascript in above the loop and used a variable to control the loop but it would be more elegant and easier to do if I could call the function from the "Execute loop" settings.
"Wherever a variable can be used, a function can be used to."
I could verify the the function works well with Loops (checked in NeoLoad 7.2), you should have missed something.
Hi, after checking my code it turned out what looked like an int being returned was actually a float. Please accept my apologies.
christophe was made best respondent
Dean answered
christophe answered
Dean posted a new question