SPONSORS:






User Tag List

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

    Loadrunner: ASP.NET_SessionId

    Hi,

    ***Loadrunner Details; START***
    - Version of LoadRunner:Loadrunner 8.1
    - Protocol: Web(HTTP/HTML); HTML-Advanced with URLs
    - Feature Pack: 4
    - LoadRunner license: Subscription
    - Subscription is current
    - Platform(s) and Operating Systems?: XP SP2
    - Have not logged a query with mercury support
    ***Loadrunner Details: END***

    I am recording a web aplication with Vugen. I can record the app login but when I replay it I get an "internal Server Error" message. The reason is that an ASP.NET_SessionId is created for each login but I can't find it anywhere prior to where it is first used.

    *************Here is the code logic********

    web_set_user("I provide my domain details here");
    web_set_max_html_param_len(100000);

    web_reg_save_param("pRetVal1", "LB=", "RB=", "Search=body", LAST);

    web_url("pricingcentre-stg",
    "URL=http://pricingcentre-stg/",
    "TargetFrame=",
    "Resource=0",
    "RecContentType=text/html",
    "Referer=",
    "Snapshot=t1.inf",
    "Mode=HTML",
    LAST);

    web_reg_save_param("pRetVal2", "LB=", "RB=", "Search=body", LAST);

    web_url("National.NonTraded.ReturnCalculator.Silve rlight.UI.xap",
    "URL=http://pricingcentre-stg/ClientBin/National.NonTraded.ReturnCalculator.Silverlight.UI .xap",
    "TargetFrame=",
    "Resource=1",
    "RecContentType=application/octet-stream",
    "Referer=",
    "Snapshot=t2.inf",
    LAST);

    //web_add_cookie("ASP.NET_SessionId=i1esat55xcrtpky0 5tghfx45; DOMAIN=pricingcentre-stg");

    web_custom_request("SecurityService.svc",
    "URL=http://pricingcentre-stg/SecurityService.svc",
    "Method=POST",
    "TargetFrame=",
    "Resource=0",
    "RecContentType=text/xml",
    "Referer=",
    "Snapshot=t3.inf",
    "Mode=HTML",
    "EncType=text/xml; charset=utf-8",
    "Body=<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"><s:Body><GetLoggedOnUsersSecurityDe tails xmlns=\"http://www.thenational.com/2008/07/National.NonTraded.ReturnCalculator.Interfaces\" /></s:Body></s:Envelope>",
    LAST); <font color="blue"> </font>

    *******************************************
    The session ID isn't returned in pRetVal1 or pRetVal2. pRetval2 just seems to contain a bunch of binary data.

    Does anyone know how to find the Session ID so that I can set it in the cookie?

    Thanks.

  2. #2
    Moderator
    Join Date
    Aug 2001
    Location
    NC
    Posts
    6,018
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Loadrunner: ASP.NET_SessionId

    [ QUOTE ]

    web_reg_save_param("pRetVal2", "LB=", "RB=", "Search=body", LAST);


    [/ QUOTE ]

    You have an issue here that needs to be addressed via training. Your collection of pRetVal... is unqualified by boundary conditions. Please refer to your training material on proper use of correlation on a manual basis. A substantial review of these manual processes will serve as a basis for your solution. This goes doubly so for web_set_max_html_param_len() where unnecessarily large values can and will result in your load generators become oversubscribed on a RAM basis and begin swapping to a high enough degree to influence the gathering of response time data. What appears to be a slow response time from the system will in actuality be a slow collection of response time data by users that are being swapped out and then back in.

    And, you have failed to address all of the questions, specifically the type and number of licensed virtual users in your environment.

    James Pulley
    CTO, ScriptFarm
    James Pulley

    Replace ineffective offshore contracts, LoadRunnerByTheHour. Starting @ $19.95/hr USD.

    Put us to the test, skilled expertise is less expensive than you might imagine.

    Twitter: @LoadRunnerBTH @PerfBytes

  3. #3
    Junior Member
    Join Date
    Apr 2007
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Loadrunner: ASP.NET_SessionId

    Hi,

    i have not set the boundaries for pRetVal (temporarily) in order to get everything that comes back from the server to see if the session ID is hidden somewhere in the response. I am currently just trouble-shooting the issue. Obviously once I use the script to run on my load generators with more than 1 user the statements web_set_max_html_param_len() &amp; web_reg_save_param() will be modified.

    The number of users is irrelevant at the moment as this is just a scripting issue that I am trying to work through.

  4. #4
    Moderator JakeBrake's Avatar
    Join Date
    Dec 2000
    Location
    St. Louis - Year 2025
    Posts
    15,609
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Loadrunner: ASP.NET_SessionId

    Divy,

    Please answer question 7 from the posting instructions:

    7. You must list here the specific Licensed Vuser type for your specific issue AND the license amount you have for your Vuser protocol(s) - per the example below <font color="red"> (Unlimited, Permanent, N/A, etc. are not options)</font> .

    Tuxedo / 9,876
    Oracle NCA / 1,234


    Thank you

  5. #5
    Moderator
    Join Date
    Aug 2001
    Location
    NC
    Posts
    6,018
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: Loadrunner: ASP.NET_SessionId

    [f4] - Run time settings
    [Downarrow x 2] - Log
    [ALT+x] - Turn on Extended Log
    [ALT+d], [Spacebar] - Turn on Data returned from Server
    [Enter] - Save Settings
    [f5] - Run Script

    View Replay Log Window. All data returned will be present.
    James Pulley

    Replace ineffective offshore contracts, LoadRunnerByTheHour. Starting @ $19.95/hr USD.

    Put us to the test, skilled expertise is less expensive than you might imagine.

    Twitter: @LoadRunnerBTH @PerfBytes

  6. #6
    Junior Member
    Join Date
    Apr 2007
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Loadrunner: ASP.NET_SessionId

    7. You must list here the specific Licensed Vuser type for your specific issue AND the license amount you have for your Vuser protocol(s):

    1,000 VU - All - Subscription

 

 

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 11.54%
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 02:22 PM.

Copyright BetaSoft Inc.