SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7

Thread: Logging

  1. #1
    Member
    Join Date
    Jul 2005
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Logging

    Does Rational Testmanager has the feature of enabling the log (extended log---feature in LoadRunner) to observe the datapool values it is reading from the datapool during runtime and the results as in LoadRunner ?

    If yes, then how can we do that ?

    If not, then what is the alternative to observe that if it pulling the values from the datapool and dumping into the script during run-time ?

  2. #2
    Senior Member
    Join Date
    Mar 2005
    Location
    St. Louis
    Posts
    632
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Logging

    Edit the script to print out the datapool values.
    1. 9.5
    2. Web/HTTP (HTML mode)
    3. No
    5. None
    6. New
    7. Web 5800
    Network 1000
    DCOM 1000
    Oracle 1000
    Remote Access 1000
    8. Yes
    9. Windows Server 2003 SP1
    10. No

    What Everyone Should Read Before Asking For Help on the Internet

  3. #3
    Member
    Join Date
    Jul 2005
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Logging

    That is a good alternative.
    Do you also have any information abt the logs to answer my above question ?

    And what command should I be using to print out the datapool values as you suggested ?

  4. #4
    Senior Member
    Join Date
    Mar 2005
    Location
    St. Louis
    Posts
    632
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Logging

    There is no advanced logging feature that I am aware of. If you look at your scripts, you will see statements like:

    "some string" + datapool_value(DP1, "value") + "some more string"...

    What you want to do is initialize string variables at the top of you script, read the values into your variables, and replace the datapool statements with them. You will then use print to log them.

    Example:

    string some_value;

    DP1 = datapool_open("some datapool");
    datapool_fetch(DP1);

    some_value = datapool_value(DP1, "value");

    print "Value = " + some_value;

    .
    .
    .
    "some string" + some_value + "some more string"...
    1. 9.5
    2. Web/HTTP (HTML mode)
    3. No
    5. None
    6. New
    7. Web 5800
    Network 1000
    DCOM 1000
    Oracle 1000
    Remote Access 1000
    8. Yes
    9. Windows Server 2003 SP1
    10. No

    What Everyone Should Read Before Asking For Help on the Internet

  5. #5
    Member
    Join Date
    Jul 2005
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Logging

    Jason,
    Can you pl tell me how to use datapools in a VU script ?
    I created the datapool from edit->datapool information in Robot window and created a datapool for the startdate field.
    Now I should use this date in the script. But dont know where to insert this value... Should I update the Datapool config.
    Is there something I am missing to do here ?

    Thanks.

  6. #6
    Member
    Join Date
    Jul 2005
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Logging

    I got it Jason.
    I missed selecting the 'obey usage' radio button in datapool information dialog box.

    Thanks.

  7. #7
    Senior Member
    Join Date
    Mar 2005
    Location
    St. Louis
    Posts
    632
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Logging

    Glad I could help. Good luck.
    1. 9.5
    2. Web/HTTP (HTML mode)
    3. No
    5. None
    6. New
    7. Web 5800
    Network 1000
    DCOM 1000
    Oracle 1000
    Remote Access 1000
    8. Yes
    9. Windows Server 2003 SP1
    10. No

    What Everyone Should Read Before Asking For Help on the Internet

 

 

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 03:54 AM.

Copyright BetaSoft Inc.