You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ramanraj Vamsi <ra...@gmail.com> on 2011/08/17 13:34:37 UTC

Script is failing at one of the step. Please Assist

Hi All,

I am new to JMeter. I am trying to generate the script to Load test my Web
application using JMeter 2.4. But the script is failing at one step (Rest
all working fine). I recorded the script with HTTP Proxy server (Firefox
Browser) and trying to run with single user.

How should I proceed now. Can anyone help?

My Test Plan:

Thread Group
Simple Controller
Cookie Manager
Cache Manager
HTTP Request Defaults
HTTP Authorization Manager
View Results Tree
Summary Report
Aggregate Report

.......................................................

Sample Request:

Thread Name: 1 user 1-1
Sample Start: 2011-08-17 15:43:31 IST
Load time: 33
Latency: 33
Size in bytes: 1102
Sample Count: 1
Error Count: 1
Response code: 404
Response message: Not Found

Response headers:
HTTP/1.1 404 Not Found
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA_CP09 (build:
SVNTag=JBPAPP_4_3_0_GA_CP09 date=201011090309)/JBossWeb-2.0
Content-Type: text/html;charset=utf-8
Content-Length: 1102
Date: Wed, 17 Aug 2011 10:13:40 GMT


HTTPSampleResult fields:
ContentType: text/html;charset=utf-8
DataEncoding: utf-8

Request:

GET
http://3.999.99.999:8080/coms/secure/js/common/distNoAutoCompleteOnGrid.js

Cookie Data:
$Version=0; SMSESSION=MOCK_SMSESSION_3B6AB244D2A000AD9B4779F37B1600B0;
$Path=/coms; SM_USER=COMS_NAM_DEV:DISTRIBUTOR; $Path=/coms;
PMData=PMV5EZpHf1URvBRiT1uwbPHBj%2B8xXwWENPKo3csWH35X3o5pDYB7ezKpDgT%2FisrQHrY9q38%2BKW5ndxswMXd50dTNir5w%3D%3D;
$Path=/coms; 1300_intDefDistNo=26; $Path=/coms;
JSESSIONID=3B6AB244D2A000AD9B4779F37B1600B0; $Path=/

Request Headers:
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Referer: http://3.209.33.176:8080/coms/secure/sm/distApprSummary.action
Accept-Encoding: gzip,deflate
Keep-Alive: 115
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10)
Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729)
Connection: keep-alive
Accept: */*


Response:

<html><head><title>JBossWeb/2.0.0.GA_CP - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 404 -
/coms/secure/js/common/distNoAutoCompleteOnGrid.js</h1><HR size="1"
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
<u>/coms/secure/js/common/distNoAutoCompleteOnGrid.js</u></p><p><b>description</b>
<u>The requested resource
(/coms/secure/js/common/distNoAutoCompleteOnGrid.js) is not
available.</u></p><HR size="1"
noshade="noshade"><h3>JBossWeb/2.0.0.GA_CP</h3></body></html>

Thanks,
Vamsi

Re: Script is failing at one of the step. Please Assist

Posted by Deepak Shetty <sh...@gmail.com>.
seems to be a genuine error. That javascript file probably isnt present on
your server. you can try accessing the same URL in the browser - you should
get a 404 NOT Found error. Usually when you access this page in the browser,
the browser will ignore any 404 for CSS/Javascript files

On Wed, Aug 17, 2011 at 4:34 AM, Ramanraj Vamsi <ra...@gmail.com>wrote:

> Hi All,
>
> I am new to JMeter. I am trying to generate the script to Load test my Web
> application using JMeter 2.4. But the script is failing at one step (Rest
> all working fine). I recorded the script with HTTP Proxy server (Firefox
> Browser) and trying to run with single user.
>
> How should I proceed now. Can anyone help?
>
> My Test Plan:
>
> Thread Group
> Simple Controller
> Cookie Manager
> Cache Manager
> HTTP Request Defaults
> HTTP Authorization Manager
> View Results Tree
> Summary Report
> Aggregate Report
>
> .......................................................
>
> Sample Request:
>
> Thread Name: 1 user 1-1
> Sample Start: 2011-08-17 15:43:31 IST
> Load time: 33
> Latency: 33
> Size in bytes: 1102
> Sample Count: 1
> Error Count: 1
> Response code: 404
> Response message: Not Found
>
> Response headers:
> HTTP/1.1 404 Not Found
> Server: Apache-Coyote/1.1
> X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA_CP09 (build:
> SVNTag=JBPAPP_4_3_0_GA_CP09 date=201011090309)/JBossWeb-2.0
> Content-Type: text/html;charset=utf-8
> Content-Length: 1102
> Date: Wed, 17 Aug 2011 10:13:40 GMT
>
>
> HTTPSampleResult fields:
> ContentType: text/html;charset=utf-8
> DataEncoding: utf-8
>
> Request:
>
> GET
> http://3.999.99.999:8080/coms/secure/js/common/distNoAutoCompleteOnGrid.js
>
> Cookie Data:
> $Version=0; SMSESSION=MOCK_SMSESSION_3B6AB244D2A000AD9B4779F37B1600B0;
> $Path=/coms; SM_USER=COMS_NAM_DEV:DISTRIBUTOR; $Path=/coms;
>
> PMData=PMV5EZpHf1URvBRiT1uwbPHBj%2B8xXwWENPKo3csWH35X3o5pDYB7ezKpDgT%2FisrQHrY9q38%2BKW5ndxswMXd50dTNir5w%3D%3D;
> $Path=/coms; 1300_intDefDistNo=26; $Path=/coms;
> JSESSIONID=3B6AB244D2A000AD9B4779F37B1600B0; $Path=/
>
> Request Headers:
> Accept-Language: en-us,en;q=0.5
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Referer: http://3.209.33.176:8080/coms/secure/sm/distApprSummary.action
> Accept-Encoding: gzip,deflate
> Keep-Alive: 115
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10)
> Gecko/20100914 Firefox/3.6.10 (.NET CLR 3.5.30729)
> Connection: keep-alive
> Accept: */*
>
>
> Response:
>
> <html><head><title>JBossWeb/2.0.0.GA_CP - Error report</title><style><!--H1
>
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
> H2
>
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> H3
>
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> BODY
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> P
>
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
> {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
> </head><body><h1>HTTP Status 404 -
> /coms/secure/js/common/distNoAutoCompleteOnGrid.js</h1><HR size="1"
> noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
>
> <u>/coms/secure/js/common/distNoAutoCompleteOnGrid.js</u></p><p><b>description</b>
> <u>The requested resource
> (/coms/secure/js/common/distNoAutoCompleteOnGrid.js) is not
> available.</u></p><HR size="1"
> noshade="noshade"><h3>JBossWeb/2.0.0.GA_CP</h3></body></html>
>
> Thanks,
> Vamsi
>