Sander V.

  • 6 questions asked
  • 5 answers
  • 0 best answers (0%)
  • How can I read from file in Javascript?

    Hi, I found several examples how the use the FileWriter in NeoLoad, but now I also want to read the file, but I failed doing so when using java.io.FileReader. When I try to...
    Sander V.
    Sander V.

    Sander V.

    Level
    0
    63 / 100
    points
    Nouredine A.
    Nouredine A.

    Nouredine A.

    Level
    4
    5000 / 5000
    points
    Team
    You probably made a mistake in the syntax in your Javascript. Could you copy/paste it so we can check it?  
  • Try...Catch not working for assertion failure

    Hi, I've noticed that the Try-Catch mechanism isn't working if an assertion fails. I'm currently using version 5.0.4 My runtime parameters are set to do nothing for both...
    Sander V.
    Sander V.

    Sander V.

    Level
    0
    63 / 100
    points
    Sander V.
    Sander V.

    Sander V.

    Level
    0
    63 / 100
    points
    Nevermind, I missed a setting in the Try where you can enable Catch assertions, which by default is disabled.
  • Is there a way to recognize if the script is running in validity or run mode?

    For debugging I use the check virtual user validity. The script contains multiple loops and for debugging the script I want the loop to be executed only once. It happened a...
    Sander V.
    Sander V.

    Sander V.

    Level
    0
    63 / 100
    points
    christophe M.
    christophe M.

    christophe M.

    Level
    4
    5000 / 5000
    points
    Team
    Hi, I think the most appropriate way is to take benefit of the Init/Actions/End containers: - put your Login in the Init, it will be executed once during the test - put the...
  • How do I change the value of declared variables?

    I have two variables of type list (Accounts & Accounts2) Accounts has 3 columns: login, passwd and name Accounts2 has 2 columns: login and passwd In the action-block I...
    Sander V.
    Sander V.

    Sander V.

    Level
    0
    63 / 100
    points
    Sander V.
    Sander V.

    Sander V.

    Level
    0
    63 / 100
    points
    Hi Nouredine, Thanks for your response. Does the application then see two variables with the same name? It does not appear to use the new variable. According to the...
  • Can I see a transaction overview when test is running?

    Where in runtime can I see an overview for each container how many times it has been executed, minimum, maximum, average and failure percentage? Like the values tab in the...
    Sander V.
    Sander V.

    Sander V.

    Level
    0
    63 / 100
    points
    Nouredine A.
    Nouredine A.

    Nouredine A.

    Level
    4
    5000 / 5000
    points
    Team
    This type of information is not available during the execution of a test. You can only have access to the statistics available on the runtime graphs like hits/s, average per...