We have added user defined functions to Multi-step API monitors. The functions are available for each step and can be used to convert a value. There are two types of functions: mapping and regular expression.
The mapping function lets you enter value pairs that can be used to substitute values.
The regular expression function can be used to extract a value by applying a regular expression to an existing variable value. Once a function is defined, it can be used in a response variable definition by selecting the option “Execute function” and referring to the previously defined function.