Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

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 3978

Trending Articles



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