Dear all, I am new to Jmeter, and have searched Jmeter wiki without result. My project is base JSF + JBOSS6. I use 'workBench>HTTP Proxy Server' to record scripts, and replay them. But I got an error at step3.
The concrete reproduce as below, step1, 【execute success with no error】 POST http://localhost:8080/my-web/ POST data: [no cookies] Request Headers: Connection: keep-alive Accept-Language: en-US,en;q=0.5 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20100101 Firefox/17.0 DNT: 1 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded Content-Length: 0 Host: localhost:8080 step2, 【execute success with no error】 POST http://localhost:8080/my-web/pages/home/home.faces POST data: [no cookies] Request Headers: Connection: keep-alive Accept-Language: en-US,en;q=0.5 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20100101 Firefox/17.0 DNT: 1 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded Content-Length: 0 Host: localhost:8080 step3, 【failure with error】 POST http://localhost:8080/my-web/pages/home/j_security_check POST data: j_username=streetpoet&j_password=213231 [no cookies] Request Headers: Connection: keep-alive Content-Type: application/x-www-form-urlencoded Accept-Language: en-US,en;q=0.5 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20100101 Firefox/17.0 Referer: http://localhost:8080/love-web/pages/home/home.faces DNT: 1 Accept-Encoding: gzip, deflate Content-Length: 39 Host: localhost:8080 <Sampler result> Thread Name: Thread Group 1-1 Sample Start: 2012-12-27 15:53:04 CST Load time: 3 Latency: 3 Size in bytes: 1766 Headers size in bytes: 214 Body size in bytes: 1552 Sample Count: 1 Error Count: 1 Response code: 408 Response message: Request Timeout Response headers: HTTP/1.1 408 Request Timeout Server: Apache-Coyote/1.1 X-Powered-By: Servlet/3.0; JBossAS-6 Content-Type: text/html;charset=utf-8 Content-Length: 1552 Date: Thu, 27 Dec 2012 07:53:04 GMT Connection: close HTTPSampleResult fields: ContentType: text/html;charset=utf-8 DataEncoding: utf-8 Does anyone can give me some information? Thank a lot. William 2012/12/27
