jbabu's avatar
jbabu
Established Member
4 years ago
Status:
New Idea

Extract Substring from API response Variable in Alertsite API Monitor

It would be great if alertsite can enhance the feature with Extracting Substring from API response Variable in Alertsite API Monitor.

 

For example: We have our api monitor in one of the step it provides the JSON reponse; we are able to fetch the variable from JSON output, but we will need only certain part of the variable to pass it to next step. We can achieve it in readyAPI but when it uploads in alertsite it fails too.

 

From the below response; we need to fetch the query param value and store it in a variable. is it possible?

 

"loginUrl": "https://XXXXX/consumer/XXXX?queryparam=99838fae12f1d3c556a3c6325edc5d49f6ca5e22a22ee5f957b65a32dff05636fa244af950b9138785430e7370ea2246b2575370eff3b857f3ed1efbef1a0d4b&merchantId=f0da4c98-aff4-4a37-bb4e-c52b3b7c1870&merchantName=Merchant%20Four"

 

This feature will provide may users the flexibility of extracting any substring from the stored variable or directly store the substring as variable.

 

Reference Case: Case #00453642