SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Points for Confirmed Friends
    Guest

    measuring page size

    Hi all

    Im doing some testing of a site that uses lots of heavy data and Iam trying to find a way of measuring the content of the dynamic pages

    Any ideas

    ta

    martin

    ------------------
    Martin Croft
    Select Red Ltd

  2. #2
    Member
    Join Date
    Oct 2000
    Location
    London, UK
    Posts
    90
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: measuring page size

    Haven't got a copy of Silky to hand, but doesn't it return the number of bytes received when you request a page?

    Regards,
    Bruce.

    ------------------

  3. #3
    Points for Confirmed Friends
    Guest

    Re: measuring page size

    Correct yes it does to a log file when you have logging turned on....

    when runing the load test you would turn this off

    I was expecting silk to have a function to handle this... it doesnt seem to. So ill have to write one

    hows the garden bruce ... are you still digging ???



    ------------------
    Martin Croft
    Select Red Ltd

  4. #4
    Senior Member
    Join Date
    Dec 2000
    Location
    Portland, OR
    Posts
    403
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: measuring page size

    if you are capturing the page into a variable with somethign like WebParseResponseData, you should be able to get the length of the buffer with StrLength (or something like that).



    ------------------
    It Depends.

  5. #5
    Points for Confirmed Friends
    Guest

    Re: measuring page size

    Thanks alanark

    The problem is the data from the site could be a couple of meg per transaction. So dumping it into a buffer would be a problem when running the test with large loads. (presumtion)
    I was hoping originally that performer could maybe do this on the fly....

    regards

    martin

    ------------------
    Martin Croft
    Select Red Ltd

  6. #6
    Senior Member
    Join Date
    Dec 2000
    Location
    Portland, OR
    Posts
    403
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: measuring page size

    You have web pages that serve up a couple of Megs per hit? Is it a download of some type? I'm not sure I would want to wait around for a Meg web page to render.


    If the problem is that you have many many web pages that aggregate into Megs of data, I would just reuse the buffer, along with a running counter to keep track of bytes accumulated so far. Just be sure to clear the buffer after you're done with it each time. YOu can change the settings in Performer to make your buffer larger if you need it.


    ------------------
    It Depends.

  7. #7
    Member
    Join Date
    Feb 2000
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: measuring page size

    Run your load test with 1 iteration and 1 Virtual User. Then look at your Summary Internet portion of the results in Perf Explorer to find the Request Data sent /KB and Response Data received / KB.

    Or if you really wanted to, you could parse for the "Content-Length" header to find out the size of the page in bytes.

    e.g.

    WebParseResponseHeader(sHeader, sizeof(sHeader), "Content-Length");


    *Don't do this when you actual run your real load test.


    ------------------

 

 

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 12:04 PM.

Copyright BetaSoft Inc.