SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Apr 2011
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Correlating viewstate from web_custom_request

    Hi,

    I'm having difficulty with correlating viewstate strings from a web_custom_request in my application recording (http/html mode in LoadRunner 9.5). I'm having no difficulty in locating the first instance of the viewstate string in the server response in Tree View, but then when I right-click on it and create a parameter and opt not to replace all occurrences, the LB and RB that subsequently appear in the Script View are not even remotely related to the actual LB and RB as I observed them in Tree View. Not only that, but in the automatically-generated comment for the parameter (which usually references the original value that was correlated), the "original value" is something completely different than that which I intended to correlate.

    I have tried both "correcting" the LB and RB to the actual strings before and after the viewstate string, as well as leaving the "incorrect" LB and RB in place... neither seems to allow LoadRunner to pull the correct viewstate from the server response.

    Can anyone offer any suggestions?

  2. #2
    Advanced Member
    Join Date
    Jun 2006
    Location
    USA
    Posts
    785
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Correlating viewstate from web_custom_request

    For Viewstate, I would go with only manual correlation . Then I would increase the size of the variable at the begining, thats something that goes like web_set_max_html_param or something.. For your vugen debug, start with 1000000, then whittle it down to the min needed size... dont forget to convert HTML to URL when reusing it in the next WCR

  3. #3
    Moderator
    Join Date
    Jan 2006
    Location
    Charlotte, NC
    Posts
    1,600
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Correlating viewstate from web_custom_request

    John,

    To be really sucessful as a LoadRunner developer you are going to have to move yourself beyond some of the HP hype. If you poll the majority of the experienced developers on here you are going to find that they spend about zero time in tree view.

    Get into script view. That's the starting point of the solution to your problem.
    Unless you are writing a compiler, strtok is NOT the answer.
    See: http://www.sqaforums.com/showflat.ph...=541641#542222

    QAF is still an exercise in self-sufficiency! (Thank JB!)

  4. #4
    Junior Member
    Join Date
    Apr 2011
    Posts
    5
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Correlating viewstate from web_custom_request

    Thanks

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:08 PM.

Copyright BetaSoft Inc.