« Previous Next »

Thread: using WCAT for testing POST request over 32k

Last post 05-06-2009 8:53 PM by mukhtard. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 05-04-2009, 7:19 PM

    • IvanT
    • Not Ranked
    • Joined on 05-04-2009, 9:59 PM
    • Posts 2

    using WCAT for testing POST request over 32k

    I have been using WCAT successfully to load test our IIS 7.0 WCF applications.  Unfortunately it seems to have a limit on the size of the post data that can be sent in a request.  In the scenario file the setting Post=<filename> would always cause an error.  Putting data as an inline string works for short strings.  I created a wcat dll extension to post data and ran into what appears to be a limit on the about of post data accepted by the WCAT client.  I believe it was a 32k limit before the client would crash.

    Does anyone have any experience with testing large post uploads with WCAT (ie 1MB).  Is this a known problem.   Any solutions, suggestions, alternatives is appreciated.

     

  • 05-06-2009, 8:53 PM In reply to

    • mukhtard
    • Top 50 Contributor
    • Joined on 07-07-2008, 9:13 PM
    • Redmond, WA
    • Posts 202

    Re: using WCAT for testing POST request over 32k

    Ivan,
    The actual syntax for post data is:

    body = <post.txt>;

    --OR--

    postdata = <post.txt>;

    Make sure that post data file can be found by the WCAT client. You can specify a fully qualified or a relative path for the post data file.

    Regards to your 32K limit theory, that is incorrect. We use in memory buffers so make sure you have enough free physical memory on your client machines.

    Thanks,
    Mukhtar Desai
    IIS Performance Team

Page 1 of 1 (2 items)
Microsoft Communities