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

Re: How do I capture data from a redirection, web_reg_find is not working.

$
0
0

you can do this with the wrsp. if all you care is in the response returned,if there are records, you can do a count.

 

for example: add an ordinal=All

 web_reg_save_param_ex(   "ParamName=CorrelationParameter_7",   "LB=_afrLoop=",   "RB=&_a", "Ordinal=All",  SEARCH_FILTERS,   "Scope=All",   "IgnoreRedirections=No",   "RequestUrl=*/home.jspx*",   LAST);

 

The first match is saved as CorrelationParameter_7_1, the second match is saved as CorrelationParameter_7_2, and so forth. You can retrieve the total number of matches by using the following term: CorrelationParameter_7_count. For example, to retrieve the total number of matches saved to the parameter array, use:

 

TotalNumberOfMatches=atoi(lr_eval_string("{CorrelationParameter_7_count}"));

 

this necessarily dosent have to be a find for this text "PO For CAP Performance Test"

 


Viewing all articles
Browse latest Browse all 12134

Trending Articles



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