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...
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...
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...
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.
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...
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...
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...
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...
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...
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...
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...
Hi Ageao,
You can handle it through the Javascript action.
You should use the parseString method : context.variableManager.getValue("TextADAD${Param2}BCSDST")...
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...
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...
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"...