AutomatedQA Message Boards
Newsgroups become obsolete, our new Forums are available here.
| Board: | automatedqa.public.testcomplete |
| Subject: | HTTP Load Testing: Error during Login |
| Date: | 3 Dec 2009 08:02:04 -0800 |
| From: | "Alex" |
I'm testing Web-application into our LAN. I wrote simple Task with next Scenario: - Open Application's web-page - Login into the Application - Doing something - Logout 1. Recorded Task contains 16 Connections (0000-0015) - see attached screenshot. Connection 0009 contains Request 0047 (j_security_check). It contains parameters with username and password to Login into the Application. Request Page: "j_username=user&j_password=user&Submit=Login". Response Page: "HTTP/1.1 302 Moved Temporarily". 2. After run simplest recorded script (with _SINGLE_ virtual user) there is only one Error in the Test Log. 3. Default Log list contains next messages: "Connection 9 of the task assigned to the virtual user VirtualUser1 was simulated partially. Only 2 of 14 requests were completed". First Request (0046) completed successfully, and second Request (0047) completed with warnings. Second problematic Request's Header (0047) has next Request & Response messages: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ POST /page1/j_security_check HTTP/1.1 Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/x-silverlight, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/msword, */* Referer: http://192.168.1.89:8080/page1/index.do Accept-Language: en-us User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Content-Type: application/x-www-form-urlencoded Accept-Encoding: gzip, deflate Host: 192.168.1.89:8080 Content-Length: 44 Connection: Keep-Alive Cache-Control: no-cache HTTP/1.1 408 The time allowed for the login process has been exceeded. If you wish to continue you must either click back twice and re-click the link you requested or close and re-open your browser Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content-Length: 1554 Date: Wed, 02 Dec 2009 20:54:59 GMT Connection: close ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4. In the Tools->Options->HTTP Load Testing->Traffic Transponder I set next: - "Send" time-out, s: 36000 - "Receive" time-out, s: 36000 So, I set maximum time value (36 seconds) for both parameters. Necessary to say, that if I login manually, it takes time about 6 seconds. But script can't overcome this step (Request 0047) The question is: WHY? Alex