Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

regSaveParamJson: using regular expression in queryString property

$
0
0

hi,

i have web script in javaScript which having complecated Json responses to correlate

does loadrunner support reqular expression in web.regSaveParamJson?

in the following example wrong value is returned from the json request - looks like a bug

same json query was tested sucssfully using http://jsonpath.herokuapp.com/

web.regSaveParamJson(
        {
             paramName : 'ProductId_OverTheTop', 
             queryString : '$..steps[?(@.name =~ /.*Receivers and OTT/i)].displayableItems[?(@.name =~ /.*over the top/i)].productID', 
             scope : 'Body'
         }
    );

 

Thanks,


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>