| || |
As In Load Runner,How Correlation can be Done in VSTS?
Problem : I got some parameter in the response and they need to be send in the next request (i mean To say : they need to be used for some reason).so How that data can be extracted from the previous response?
can any one please Give me some Focus on this ?
Thanks In Advance.
The following code may be helpful when viewing via codeed view:
ExtractText rule1 = new ExtractText();
rule1.StartsWith = "contentKey\" value=\"";
rule1.EndsWith = "\" />";
rule1.IgnoreCase = false;
rule1.UseRegularExpression = false;
rule1.Required = true;
rule1.Index = 0;
rule1.ContextParameterName = "contentkey2";
request1.ExtractValues += new EventHandler<ExtractionEventArgs>(rule1.Extr act);
it works pretty much the same way as LR's web_reg_save_param
StartsWith = LB
EndsWith = RB
ContextParameterName = String name
Hope this is of some help