Hi all,
the need is to modify responses (JSON format), by applying a mathematical expression to some fields.
The developed solution is the following:
For each field in the response to be modified (we have a list of the fields to be modified)
- "Evaluate JSON expression" to find all occurrences of the field (could be even hundreds with different values for one field)
- for each occurrence found, apply the "math expression" to obtain the new value
- for each occurremce set the new value with "regular expression"
This approach increases the mean response time up to many seconds, as the occurrences to be processed are many hunreds, and it is not acceptable.
Does someone have an idea about a possible alternative solution to be applyed? The response does not have a fixed schema with fixed fields, so the occurrences and their position can change.
Thanks in advance!
Enzo