Writing correlation rule for viewstate

32 views
Skip to first unread message

Siva

unread,
Nov 9, 2014, 11:16:14 PM11/9/14
to LR-Loa...@googlegroups.com
Friends,

I am writing correlation rules for a WMS Manhattan Associates application. I have created many rules and they are working fine. But Load Runner could not identify for VIEWSTATE AND SAML RESPONSE and this is because "\r\n" exists with in the boundary value. Below I mentioned the code generation text, script and rule I created

Code Generation Text : <input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="2BOty4R5JVt8d8Lh6ZeEc9VSZAxQThpRmIwRNHyORob89wf7+fSSGsLwBydGLNpw4zck6V9JDouv
brn4wcsYMNh4C0icxekbnosHrLiCDjJOM9YOWInzbw==
" /></form>

Script : 
"Name=javax.faces.ViewState", "Value=2BOty4R5JVt8d8Lh6ZeEc9VSZAxQThpRmIwRNHyORob89wf7+fSSGsLwBydGLNpw4zck6V9JDouv\r\n"
        "brn4wcsYMNh4C0icxekbnosHrLiCDjJOM9YOWInzbw==\r\n", ENDITEM,

I applied a rule as below
Action :"Search for parameters in all of the body text"
Scan Type : "Boundary Based"
Left Boundary : id="javax.faces.ViewState" value="
Right Boundary : "

But this rule could not scan, where as the below web_reg function which I manually inserted in the script works fine while replaying. Could some one guide me how to create a correlation rule for this
web_reg_save_param("ViewState_1","LB/IC=\"javax.faces.ViewState\" value=\"","RB/IC=\"",LAST);

Warm Regards
Siva
Reply all
Reply to author
Forward
0 new messages