Ageo D.

  • 11 questions asked
  • 0 answers
  • 0 best answers (0%)
  • How to use Javascript native objects?

    Hello All! Is there a need to import specific library for Javascript objects? I read on the documentation that NeoLoad supports Rhino engine. However, I am trying to use a...
    Ageo D.
    Ageo D.

    Ageo D.

    Level
    0
    14 / 100
    points
  • Store objects on memory

    Hello All! Have anyone has tried to store an object on memory in a JavaScript routine? I would like to use a Hash/Map object to store simple values and retrieve/update them...
    Ageo D.
    Ageo D.

    Ageo D.

    Level
    0
    14 / 100
    points
  • Is it possible to parameterize the path of a variable type file?

    Hi there! Is it possible to parameterize the filename or path of the value for a variable type "File"? I am switching from source for several files, so will be easier if...
    Ageo D.
    Ageo D.

    Ageo D.

    Level
    0
    14 / 100
    points
    Neil W.
    Neil W.

    Neil W.

    Level
    4
    5000 / 5000
    points
    Team
    No that I know of, you could use JavaScript to read in a dynamically named file and read in its contents, placing the values in a known set of variables.
  • How to replace texts on the name of transactions?

    Hello there! Is there a way to replace text of the name of the transactions? For example, if I have transactions like "ABCD_TX01", "ABCD_TX02", "ABCD_TX03", etc., is there a...
    Ageo D.
    Ageo D.

    Ageo D.

    Level
    0
    14 / 100
    points
    Neil W.
    Neil W.

    Neil W.

    Level
    4
    5000 / 5000
    points
    Team
    Hi, no, this is a common request but unfortunately it is not possible
  • Save response size per request

    Hello there! I am looking for an option to obtain the response size of a response. In the forum, a suggestion mentioned to extract the size from the headers. What happens if...
    Ageo D.
    Ageo D.

    Ageo D.

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

    Nouredine A.

    Level
    4
    5000 / 5000
    points
    Team
    There's no other way expect like you saw to extract from the HTTP headers. The HTTP response should have that content lenght header. What is the goal getting the response size...
  • Assertions Graphs Details

    Hello! I am creating different assertions per type of error I am getting. I am interested in create metrics for each type of errors captured. Is it possible to distinguish...
    Ageo D.
    Ageo D.

    Ageo D.

    Level
    0
    14 / 100
    points
  • How to obtain the 90th on webservices

    Hi All! I have been executing tests with web services. I noticed that the 90th percentile metric is not available by default on any graph or even on the "Values" tab on the...
    Ageo D.
    Ageo D.

    Ageo D.

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

    Nouredine A.

    Level
    4
    5000 / 5000
    points
    Team
    Percentile statistics are only available for transactions in NeoLoad. If you need such statistics for some Web Service calls you can put them into separate transactions and you...
  • Parameters inside Parameters

    Hi there! I would like to try to substitute parameters inside another parameter. The reason is that I would like to avoid a huge file of parameters, since the mix of N X M is...
    Ageo D.
    Ageo D.

    Ageo D.

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

    christophe M.

    Level
    4
    5000 / 5000
    points
    Team
    Hi Ageao, You can handle it through the Javascript action. You should use the parseString method : context.variableManager.getValue("TextADAD${Param2}BCSDST")...
  • How to control the while using Javascript

    Hello there! I am trying to validate the logic of my script using assertions. The try/catch works on some pieces. However, if I want to make my script smart, I need to...
    Ageo D.
    Ageo D.

    Ageo D.

    Level
    0
    14 / 100
    points
  • How to use XPath or JSONPath on Javascript action in Neoload?

    Hello All I am looking on the documentation on Neoload, but I couldn't find any example that shows how to use XPath or JSPNPath on a Javascript action as custom code. I am...
    Ageo D.
    Ageo D.

    Ageo D.

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

    christophe M.

    Level
    4
    5000 / 5000
    points
    Team
    You can use W3C Functions (https://www.w3schools.com/js/js_json_intro.asp) An example that works in NeoLoad JavaScript action: var obj = JSON.parse('{ "name":"John", "age"...