« Previous Next »

Answered Thread: User WCat with cookies enabled

Last post 10-27-2009 5:30 PM by DirkTester. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 06-04-2009, 8:48 PM

    • asumarc
    • Not Ranked
    • Joined on 06-05-2009, 12:36 AM
    • Posts 2

    User WCat with cookies enabled

    Hi,

    I'm doing performance testing on PHPBB3 performance on Window Server 2008 - IIS7. I'm using WCat 6.3 for the performance testing and am having problem because I do not think it works with cookies, the web application creates a new session for each request which cause the database to be highly populated in a short time and the overall performance decreases.

    Here is what I have on  my scenario file:

    default
    {
    setheader
    {
    name = "Connection";
    value = "keep-alive";
    }

    setheader
    {
    name = "Host";
    value = server();
    }

    version = HTTP11;
    close = ka;
    }

    transaction
    {
    id = "Default Web Site Homepage";
    weight = 1;
    request
    {

    url = "/phpBB3/index.php";
    statuscode = 200;
    cookies = true;
    }

  • 06-05-2009, 6:48 AM In reply to

    Re: User WCat with cookies enabled

    How can it serve the cookies because server load is generated by http requests(web request modules) but not by the browser based HTTP requests? Moreover, it is not the right platform to test phpbb3. You should test some asp.net based application.

    AccuWebHosting.Com - Windows Hosting Expert
    ASP.NET 3.5 | SQL 2005 Database | US Based Hosting Company | 24 X 7 Support | Daily Backups | Uptime Guarantee | Affiliates - $50 Per Sale
    | Online US Jobs | Website Hosting Directory | Windows Hosting
  • 06-05-2009, 5:43 PM In reply to

    • asumarc
    • Not Ranked
    • Joined on 06-05-2009, 12:36 AM
    • Posts 2

    Answered Re: User WCat with cookies enabled

    Theoritically (from documentation), WCat 6.3 supports cookies, it wll save the cookies and when a request is sent to the same domain the virtual client will add the cookie header automatically.

    At the moment, the main focus is to do performance test on PHPBB3 instead of on WCat functionalities. It would be great if I can make the cookie functionality to work with PHPBB3.

  • 10-27-2009, 5:30 PM In reply to

    Re: User WCat with cookies enabled

    Did you get a resolution to this issue?

    I am experiencing a similar situation with an Apache environment serving .php: I have opened a separate thread.

    Using Microsoft Network Monitor, I verified that the cookies are set and applied to headers when using a browser (IE) to make requests from the Apache environment. When using WCAT, the requests are all treated as unique sessions, since ongoing requests don't include cookies in the header.

    However, when I used WCAT against an IIS 6 (.net environment), cookie handling works as expected and can be verified using a network monitor.

    As you indicated, the User's Guide for WCAT indicates that it should work with IIS and Apache servers, as long as they use a standard HTTP protocol (in my environment, it's HTTP 1.1). 

    Since the protocols seem generic, I'm not sure why WCAT would have a problem with Apache or .php.

     Here is the link to the thread I opened that includes my scenario details:

    http://forums.iis.net/p/1162115/1922515.aspx#1922515

     ....Dirk

Page 1 of 1 (4 items)
Microsoft Communities