You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Neeraj C <ne...@hcl.in> on 2007/05/29 13:03:02 UTC

Server returned HTTP response code: 500 for URL //

Hye Friends

There is no problems when I test the Login page of our Web Application.
But when I place the Path of an internal "Home Page" or any other internal
page I get the following error in the Jmeter.log file //

ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse:
java.io.IOException: Server returned HTTP response code: 500 for URL:
http://IP:Port/Home Page Url //

Can anybody providee me with the solution so that I can test the Application
//


With thanks
Neeraj Chowdhry
-- 
View this message in context: http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10851892
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Performance testing a windows app

Posted by sebb <se...@gmail.com>.
On 01/06/07, lists@dankeeley.co.uk <li...@dankeeley.co.uk> wrote:
> because it's out of our (test team) control, and the dev side of that team
> dont have the resources - not ideal but thats how it is.
>
> it's a gui unfortunately.
>

In that case, JMeter cannot be used.

You'll need to find some other test tool - sorry, I don't know of any.

> > If the test harness is written in-house, why not just add timer calls to
> > that?
> >
> > If that's not possible, then it depends on what the test-harness interface
> > is:
> > - command-line
> > - GUI
> > - property file
> > - telepathy
> > - etc
> >
> > On 30/05/07, lists@dankeeley.co.uk <li...@dankeeley.co.uk> wrote:
> >> Hi all,
> >>
> >> I'm pretty sure jmeter can't do this, but just incase it can i'll ask.
> >> (also others may be able to suggest suitable tools )
> >>
> >> we have a simple test harness application ( c++ I think ) which
> >> basically
> >> provides a simplified interface to our XML/RPC app.  Jmeter tests the
> >> xml/rpc beautifully but now we need to just double check that the
> >> hashing
> >> and security checking that the c++ app does doesnt add any severe
> >> delays.
> >>
> >> so essentially i need a simple tool to be able to drive this app - but
> >> most importantly record accurate timings.
> >>
> >> Any ideas?
> >>
> >> Thanks,
> >> Dan
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Performance testing a windows app

Posted by li...@dankeeley.co.uk.
because it's out of our (test team) control, and the dev side of that team
dont have the resources - not ideal but thats how it is.

it's a gui unfortunately.

> If the test harness is written in-house, why not just add timer calls to
> that?
>
> If that's not possible, then it depends on what the test-harness interface
> is:
> - command-line
> - GUI
> - property file
> - telepathy
> - etc
>
> On 30/05/07, lists@dankeeley.co.uk <li...@dankeeley.co.uk> wrote:
>> Hi all,
>>
>> I'm pretty sure jmeter can't do this, but just incase it can i'll ask.
>> (also others may be able to suggest suitable tools )
>>
>> we have a simple test harness application ( c++ I think ) which
>> basically
>> provides a simplified interface to our XML/RPC app.  Jmeter tests the
>> xml/rpc beautifully but now we need to just double check that the
>> hashing
>> and security checking that the c++ app does doesnt add any severe
>> delays.
>>
>> so essentially i need a simple tool to be able to drive this app - but
>> most importantly record accurate timings.
>>
>> Any ideas?
>>
>> Thanks,
>> Dan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Performance testing a windows app

Posted by sebb <se...@gmail.com>.
If the test harness is written in-house, why not just add timer calls to that?

If that's not possible, then it depends on what the test-harness interface is:
- command-line
- GUI
- property file
- telepathy
- etc

On 30/05/07, lists@dankeeley.co.uk <li...@dankeeley.co.uk> wrote:
> Hi all,
>
> I'm pretty sure jmeter can't do this, but just incase it can i'll ask.
> (also others may be able to suggest suitable tools )
>
> we have a simple test harness application ( c++ I think ) which basically
> provides a simplified interface to our XML/RPC app.  Jmeter tests the
> xml/rpc beautifully but now we need to just double check that the hashing
> and security checking that the c++ app does doesnt add any severe delays.
>
> so essentially i need a simple tool to be able to drive this app - but
> most importantly record accurate timings.
>
> Any ideas?
>
> Thanks,
> Dan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Performance testing a windows app

Posted by li...@dankeeley.co.uk.
Hi all,

I'm pretty sure jmeter can't do this, but just incase it can i'll ask. 
(also others may be able to suggest suitable tools )

we have a simple test harness application ( c++ I think ) which basically
provides a simplified interface to our XML/RPC app.  Jmeter tests the
xml/rpc beautifully but now we need to just double check that the hashing
and security checking that the c++ app does doesnt add any severe delays.

so essentially i need a simple tool to be able to drive this app - but
most importantly record accurate timings.

Any ideas?

Thanks,
Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Server returned HTTP response code: 500 for URL //

Posted by Neeraj C <ne...@hcl.in>.
[Hye Friends]

Can anybody tell how can we pass our Login Credentials [i.e Username and
Password] to the Login Page and see the Next Page, which is the Home Page.


With thanks
Neeraj Chowdhury


Neeraj C wrote:
> 
> [Hye Sebb]
> 
> We have a Login Page //
> User needs to enter his Credentials and after successful Login "Home" Page
> is displayed //
> How can we Login the User Credentials and see the Home Page //
> 
> I have used "Save Responses to file" and it clearly showed that while I am
> requesting the Home Page it is still on the Login Page //
> 
> Please advice //
> 
> With thanks
> Neeraj Chowdhury
> 
> 
> 
> Neeraj C wrote:
>> 
>> [Hye Sebb]
>> 
>> The 500 Error is gone after I placed the "Http Cookie Manger" under the
>> "Test Plan Thread Group".
>> But the Response data  under the "View Results Tree" is same for all the
>> three Requests I tried till now, the Requests are mentioned as follows : 
>> 
>> 1>>> GET http://IP:Port/WMS/login.do [For Login Page]
>> 
>> 
>> 2>>> GET
>> http://IP:Port/WMS/homepage.do?displayMsg=home&selectedWCSMenuItem=home
>> [For Home Page]
>> 
>> 
>> 3>>> GET
>> http://IP:Port/WMS/document.do?displayMsg=document&selectedWCSMenuItem=document
>> [For Documents Page]
>> 
>> and I got the following response data for all the above three Requests:
>> 
>> 
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>> <html lang="en">
>> <head>
>> <title>Login Page</title>
>> <base href="http://IP:Port/WMS/jsp/common/login.jsp">
>> <link rel="stylesheet" type="text/css"
>> href="../../res/css/sc_styles.css">
>> <script src="../../res/js/conference.js"></script>
>> 
>> <script>
>> 	var qs = new Query_String();
>> 	
>> 	function actionModifier(form)
>> 	{
>> 
>> 		if(mandatoryChk())
>> 		{
>> 			if(qs.getFieldValue("confURL")!=undefined &&
>> qs.getFieldValue("confURL")!="undefined" &&
>> qs.getFieldValue("confURL")!=null)
>> 			{
>> 				form.action += "?confURL=" + qs.getFieldValue("confURL") + "&confId="
>> + qs.getFieldValue("confId");
>> 			}
>> 			
>> 			return true;
>> 		}
>> 		return false;
>> 	}
>> 	
>> 	function trim(stringToTrim) {
>> 		return stringToTrim.replace(/^\s+|\s+$/g,"");
>> 	}
>> 	
>> 	function mandatoryChk()
>> 	{
>> 		if(trim(document.getElementById('username').value)== "" ||
>> trim(document.getElementById('password').value)== "")
>> 		{
>> 			alert("User name and Password are mandatory");
>> 			return false;
>> 		}
>> 		else
>> 			return true;
>> 	}
>> </script>
>> </head>
>>  
>> <body>
>> 
>> <form name="loginForm" method="post" action="/WMS/logon.do"
>> onsubmit="if(actionModifier(this)) return true; else return false;">
>> 
>> 
>> 		<input type="hidden" name="red5ip"   value="IP">
>> 		<input type="hidden" name="protocol"   value="rtmp
>> ">
>> 		
>> 
>> 
>>   <table border="0" width="100%" height="100%" class="grpTable">
>>   	<tbody>
>> 		<tr>
>> 			<td width="50%">
>> 				<table align="center"  border="0">		
>> 					<tr>
>> 						<td height="30">
>> 							For existing users
>> 						</td>
>> 					</tr>
>> 					<tr>
>> 						<td>
>> 							<table>
>> 								<tr>
>> 									<td class="body">
>> 										Username
>> 									</td>
>> 									<td>
>> 										<input type="text" name="username" id="username">
>> 									</td>
>> 								</tr>
>> 								<tr>
>> 									<td class="body">
>> 										Password 
>> 									</td>
>> 									<td>
>> 										<input type="password" name="password" id="password">
>> 									</td>
>> 								</tr>
>> 							</table>
>> 						</td>
>> 					</tr>
>> 
>> 					<tr>
>> 						<td align="right">
>> 							<table>
>> 								<tr>
>> 									<td>
>> 									</td>
>> 									<td>
>> 										<input type="submit" name="login" value=" Login "
>> class="buttonEdit" >
>> 									</td>
>> 								</tr>
>> 							</table>
>> 						</td>
>> 					</tr>
>> 					<tr>
>> 						<td>
>> 							
>> 						</td>
>> 					</tr>					
>> 				</table>
>> 			</td>
>> 			<td width="5%">
>> 				<table>		
>> 					<tr>
>> 						<td>
>> 							 ../../res/img/verticalbar.gif 
>> 						</td>
>> 					</tr>
>> 				</table>
>> 			</td>			
>> 			<td width="45%">
>> 				<table>		
>> 					<tr>
>> 						<td>
>> 							<table border="0">
>> 								<tr height="30">
>> 									<td>
>> 										For new users
>> 									</td>
>> 								</tr>
>> 								<tr>
>> 									<td>
>> 											&nbsp;&nbsp;&nbsp;Create your ID today.
>> 									</td>
>> 								</tr>
>> 								<tr>
>> 									<td class="helpTextSmall">
>> 										&nbsp;&nbsp;&nbsp;By creating ID you will have access 
>> 									</td>
>> 								</tr>
>> 								<tr>
>> 									<td class="helpTextSmall">
>> 										&nbsp;&nbsp;&nbsp;to many products and services provided by 									
>> 									</td>
>> 								</tr>
>> 								<tr>
>> 									<td class="helpTextSmall">
>> 										&nbsp;&nbsp;&nbsp; Its free.
>> 									</td>
>> 								</tr>
>> 								<tr align="right">
>> 									<td>
>> 										<input type="button" name="proceed" value=" Proceed "
>> class="buttonEdit"
>> onClick="window.open('/WMS/jsp/common/underConstruction.jsp','_parent')">
>> 									</td>
>> 								</tr>
>> 							</table>
>> 						</td>
>> 					</tr>
>> 				</table>
>> 			</td>								
>> 		</tr>
>>   	</tbody>
>>   </table>
>> </form>
>> </body>
>> </html>
>> 
>> 
>> How is this possible //
>> Am I doing anything Wrong //
>> Is there any specic way to find out which page is getting hit on sending
>> a Request //
>> 
>>    With thanks
>> Neeraj Chowdhury
>> 
>> 
>> 
>> 
>> sebb-2 wrote:
>>> 
>>> On 30/05/07, Neeraj C <ne...@hcl.in> wrote:
>>>>
>>>> [Hye Sebb]
>>>>
>>>> There is no problem in the application when we access it directly
>>>> through
>>>> navigation //
>>> 
>>> IMO, the server should not return a 500, regardless of what the client
>>> is.
>>> But a lot of applications make assumptions that are not always valid.
>>> 
>>>> Under View Results Tree it is showing the following
>>>>
>>>> [Sample Result]
>>>> Thread Name: Thread Group 1-2
>>>> Sample Start: Wed May 30 17:15:19 IST 2007
>>>> Load time: 15
>>>> HTTP response code: 500
>>>> HTTP response message: Internal Server Error
>>>>
>>>> HTTP response headers:
>>>> HTTP/1.1 500 Internal Server Error
>>>> Server: Apache-Coyote/1.1
>>>> Content-Type: text/html;charset=utf-8
>>>> Content-Length: 1521
>>>> Date: Wed, 30 May 2007 11:41:48 GMT
>>>> Connection: close
>>>>
>>>>
>>>> What could be the Problem //
>>> 
>>> What does the Response Data say?
>>> 
>>>> With thanks
>>>> Neeraj Chowdhury
>>>>
>>>> sebb-2 wrote:
>>>> >
>>>> > On 30/05/07, Neeraj C <ne...@hcl.in> wrote:
>>>> >>
>>>> >> [Hye Sebb]
>>>> >>
>>>> >> Thanks for the Reply //
>>>> >> The Application works fine with IE and Mozilla Firefox, so as the
>>>> login
>>>> >> Page
>>>> >> //
>>>> >> There are no issues there //
>>>> >
>>>> > The fact that the server responds with a 500 error means that it is
>>>> > faulty. This should not happen in well-written applications - except
>>>> > perhaps under heavy load.
>>>> >
>>>> >> I didn't understand about Splitting the URL into different fields //
>>>> >
>>>> > The URL needs to be split into:
>>>> >
>>>> > Server Name
>>>> > Port (if not default)
>>>> > Protocol (if not http)
>>>> > Path
>>>> > Parameters
>>>> >
>>>> > The parameters can be left as part of the Path if you want.
>>>> >
>>>> > However, this is probably not the cause here - one would expect a
>>>> > different error.
>>>> >
>>>> >> I mentioned the following Path to Test the Home Page for
>>>> Performance:
>>>> >>
>>>> >> /WMS/homepage.do?displayMsg=home&selectedWCSMenuItem=home
>>>> >>
>>>> >> Is this the wrong way //
>>>> >
>>>> > It's a valid part of a URL, but whether it is valid for your
>>>> > application is another matter.
>>>> >
>>>> >> Please advice //
>>>> >
>>>> > Do any URLs work in JMeter?
>>>> > Or is it only the application that fails?
>>>> >
>>>> > What does the response say? (Add a Tree View Listener)
>>>> >
>>>> >> With thanks
>>>> >> Neeraj Chowdhury
>>>> >>
>>>> >>
>>>> >> sebb-2 wrote:
>>>> >> >
>>>> >> > Make sure that the URL has been correctly split into the different
>>>> >> fields.
>>>> >> >
>>>> >> > Does the login page require a particular browser, or does it work
>>>> with
>>>> >> > all browsers?
>>>> >> >
>>>> >> > S.
>>>> >> > On 29/05/07, Neeraj C <ne...@hcl.in> wrote:
>>>> >> >>
>>>> >> >> Hye Friends
>>>> >> >>
>>>> >> >> There is no problems when I test the Login page of our Web
>>>> >> Application.
>>>> >> >> But when I place the Path of an internal "Home Page" or any other
>>>> >> >> internal
>>>> >> >> page I get the following error in the Jmeter.log file //
>>>> >> >>
>>>> >> >> ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse:
>>>> >> >> java.io.IOException: Server returned HTTP response code: 500 for
>>>> URL:
>>>> >> >> http://IP:Port/Home Page Url //
>>>> >> >>
>>>> >> >> Can anybody providee me with the solution so that I can test the
>>>> >> >> Application
>>>> >> >> //
>>>> >> >>
>>>> >> >>
>>>> >> >> With thanks
>>>> >> >> Neeraj Chowdhry
>>>> >> >> --
>>>> >> >> View this message in context:
>>>> >> >>
>>>> >>
>>>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10851892
>>>> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>> >> >>
>>>> >> >>
>>>> >> >>
>>>> ---------------------------------------------------------------------
>>>> >> >> To unsubscribe, e-mail:
>>>> jmeter-user-unsubscribe@jakarta.apache.org
>>>> >> >> For additional commands, e-mail:
>>>> jmeter-user-help@jakarta.apache.org
>>>> >> >>
>>>> >> >>
>>>> >> >
>>>> >> >
>>>> ---------------------------------------------------------------------
>>>> >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>> >> > For additional commands, e-mail:
>>>> jmeter-user-help@jakarta.apache.org
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >>
>>>> >> --
>>>> >> View this message in context:
>>>> >>
>>>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10867421
>>>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>> >>
>>>> >>
>>>> >>
>>>> ---------------------------------------------------------------------
>>>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>> >>
>>>> >>
>>>> >
>>>> > ---------------------------------------------------------------------
>>>> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>> >
>>>> >
>>>> >
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10873105
>>>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>>
>>>>
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>> 
>>> 
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10907752
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Server returned HTTP response code: 500 for URL //

Posted by Neeraj C <ne...@hcl.in>.
[Hye Sebb]

We have a Login Page //
User needs to enter his Credentials and after successful Login "Home" Page
is displayed //
How can we Login the User Credentials and see the Home Page //

I have used "Save Responses to file" and it clearly showed that while I am
requesting the Home Page it is still on the Login Page //

Please advice //

With thanks
Neeraj Chowdhury



Neeraj C wrote:
> 
> [Hye Sebb]
> 
> The 500 Error is gone after I placed the "Http Cookie Manger" under the
> "Test Plan Thread Group".
> But the Response data  under the "View Results Tree" is same for all the
> three Requests I tried till now, the Requests are mentioned as follows : 
> 
> 1>>> GET http://IP:Port/WMS/login.do [For Login Page]
> 
> 
> 2>>> GET
> http://IP:Port/WMS/homepage.do?displayMsg=home&selectedWCSMenuItem=home
> [For Home Page]
> 
> 
> 3>>> GET
> http://IP:Port/WMS/document.do?displayMsg=document&selectedWCSMenuItem=document
> [For Documents Page]
> 
> and I got the following response data for all the above three Requests:
> 
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html lang="en">
> <head>
> <title>Login Page</title>
> <base href="http://IP:Port/WMS/jsp/common/login.jsp">
> <link rel="stylesheet" type="text/css" href="../../res/css/sc_styles.css">
> <script src="../../res/js/conference.js"></script>
> 
> <script>
> 	var qs = new Query_String();
> 	
> 	function actionModifier(form)
> 	{
> 
> 		if(mandatoryChk())
> 		{
> 			if(qs.getFieldValue("confURL")!=undefined &&
> qs.getFieldValue("confURL")!="undefined" &&
> qs.getFieldValue("confURL")!=null)
> 			{
> 				form.action += "?confURL=" + qs.getFieldValue("confURL") + "&confId="
> + qs.getFieldValue("confId");
> 			}
> 			
> 			return true;
> 		}
> 		return false;
> 	}
> 	
> 	function trim(stringToTrim) {
> 		return stringToTrim.replace(/^\s+|\s+$/g,"");
> 	}
> 	
> 	function mandatoryChk()
> 	{
> 		if(trim(document.getElementById('username').value)== "" ||
> trim(document.getElementById('password').value)== "")
> 		{
> 			alert("User name and Password are mandatory");
> 			return false;
> 		}
> 		else
> 			return true;
> 	}
> </script>
> </head>
>  
> <body>
> 
> <form name="loginForm" method="post" action="/WMS/logon.do"
> onsubmit="if(actionModifier(this)) return true; else return false;">
> 
> 
> 		<input type="hidden" name="red5ip"   value="IP">
> 		<input type="hidden" name="protocol"   value="rtmp
> ">
> 		
> 
> 
>   <table border="0" width="100%" height="100%" class="grpTable">
>   	<tbody>
> 		<tr>
> 			<td width="50%">
> 				<table align="center"  border="0">		
> 					<tr>
> 						<td height="30">
> 							For existing users
> 						</td>
> 					</tr>
> 					<tr>
> 						<td>
> 							<table>
> 								<tr>
> 									<td class="body">
> 										Username
> 									</td>
> 									<td>
> 										<input type="text" name="username" id="username">
> 									</td>
> 								</tr>
> 								<tr>
> 									<td class="body">
> 										Password 
> 									</td>
> 									<td>
> 										<input type="password" name="password" id="password">
> 									</td>
> 								</tr>
> 							</table>
> 						</td>
> 					</tr>
> 
> 					<tr>
> 						<td align="right">
> 							<table>
> 								<tr>
> 									<td>
> 									</td>
> 									<td>
> 										<input type="submit" name="login" value=" Login "
> class="buttonEdit" >
> 									</td>
> 								</tr>
> 							</table>
> 						</td>
> 					</tr>
> 					<tr>
> 						<td>
> 							
> 						</td>
> 					</tr>					
> 				</table>
> 			</td>
> 			<td width="5%">
> 				<table>		
> 					<tr>
> 						<td>
> 							 ../../res/img/verticalbar.gif 
> 						</td>
> 					</tr>
> 				</table>
> 			</td>			
> 			<td width="45%">
> 				<table>		
> 					<tr>
> 						<td>
> 							<table border="0">
> 								<tr height="30">
> 									<td>
> 										For new users
> 									</td>
> 								</tr>
> 								<tr>
> 									<td>
> 											&nbsp;&nbsp;&nbsp;Create your ID today.
> 									</td>
> 								</tr>
> 								<tr>
> 									<td class="helpTextSmall">
> 										&nbsp;&nbsp;&nbsp;By creating ID you will have access 
> 									</td>
> 								</tr>
> 								<tr>
> 									<td class="helpTextSmall">
> 										&nbsp;&nbsp;&nbsp;to many products and services provided by 									
> 									</td>
> 								</tr>
> 								<tr>
> 									<td class="helpTextSmall">
> 										&nbsp;&nbsp;&nbsp; Its free.
> 									</td>
> 								</tr>
> 								<tr align="right">
> 									<td>
> 										<input type="button" name="proceed" value=" Proceed "
> class="buttonEdit"
> onClick="window.open('/WMS/jsp/common/underConstruction.jsp','_parent')">
> 									</td>
> 								</tr>
> 							</table>
> 						</td>
> 					</tr>
> 				</table>
> 			</td>								
> 		</tr>
>   	</tbody>
>   </table>
> </form>
> </body>
> </html>
> 
> 
> How is this possible //
> Am I doing anything Wrong //
> Is there any specic way to find out which page is getting hit on sending a
> Request //
> 
>    With thanks
> Neeraj Chowdhury
> 
> 
> 
> 
> sebb-2 wrote:
>> 
>> On 30/05/07, Neeraj C <ne...@hcl.in> wrote:
>>>
>>> [Hye Sebb]
>>>
>>> There is no problem in the application when we access it directly
>>> through
>>> navigation //
>> 
>> IMO, the server should not return a 500, regardless of what the client
>> is.
>> But a lot of applications make assumptions that are not always valid.
>> 
>>> Under View Results Tree it is showing the following
>>>
>>> [Sample Result]
>>> Thread Name: Thread Group 1-2
>>> Sample Start: Wed May 30 17:15:19 IST 2007
>>> Load time: 15
>>> HTTP response code: 500
>>> HTTP response message: Internal Server Error
>>>
>>> HTTP response headers:
>>> HTTP/1.1 500 Internal Server Error
>>> Server: Apache-Coyote/1.1
>>> Content-Type: text/html;charset=utf-8
>>> Content-Length: 1521
>>> Date: Wed, 30 May 2007 11:41:48 GMT
>>> Connection: close
>>>
>>>
>>> What could be the Problem //
>> 
>> What does the Response Data say?
>> 
>>> With thanks
>>> Neeraj Chowdhury
>>>
>>> sebb-2 wrote:
>>> >
>>> > On 30/05/07, Neeraj C <ne...@hcl.in> wrote:
>>> >>
>>> >> [Hye Sebb]
>>> >>
>>> >> Thanks for the Reply //
>>> >> The Application works fine with IE and Mozilla Firefox, so as the
>>> login
>>> >> Page
>>> >> //
>>> >> There are no issues there //
>>> >
>>> > The fact that the server responds with a 500 error means that it is
>>> > faulty. This should not happen in well-written applications - except
>>> > perhaps under heavy load.
>>> >
>>> >> I didn't understand about Splitting the URL into different fields //
>>> >
>>> > The URL needs to be split into:
>>> >
>>> > Server Name
>>> > Port (if not default)
>>> > Protocol (if not http)
>>> > Path
>>> > Parameters
>>> >
>>> > The parameters can be left as part of the Path if you want.
>>> >
>>> > However, this is probably not the cause here - one would expect a
>>> > different error.
>>> >
>>> >> I mentioned the following Path to Test the Home Page for Performance:
>>> >>
>>> >> /WMS/homepage.do?displayMsg=home&selectedWCSMenuItem=home
>>> >>
>>> >> Is this the wrong way //
>>> >
>>> > It's a valid part of a URL, but whether it is valid for your
>>> > application is another matter.
>>> >
>>> >> Please advice //
>>> >
>>> > Do any URLs work in JMeter?
>>> > Or is it only the application that fails?
>>> >
>>> > What does the response say? (Add a Tree View Listener)
>>> >
>>> >> With thanks
>>> >> Neeraj Chowdhury
>>> >>
>>> >>
>>> >> sebb-2 wrote:
>>> >> >
>>> >> > Make sure that the URL has been correctly split into the different
>>> >> fields.
>>> >> >
>>> >> > Does the login page require a particular browser, or does it work
>>> with
>>> >> > all browsers?
>>> >> >
>>> >> > S.
>>> >> > On 29/05/07, Neeraj C <ne...@hcl.in> wrote:
>>> >> >>
>>> >> >> Hye Friends
>>> >> >>
>>> >> >> There is no problems when I test the Login page of our Web
>>> >> Application.
>>> >> >> But when I place the Path of an internal "Home Page" or any other
>>> >> >> internal
>>> >> >> page I get the following error in the Jmeter.log file //
>>> >> >>
>>> >> >> ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse:
>>> >> >> java.io.IOException: Server returned HTTP response code: 500 for
>>> URL:
>>> >> >> http://IP:Port/Home Page Url //
>>> >> >>
>>> >> >> Can anybody providee me with the solution so that I can test the
>>> >> >> Application
>>> >> >> //
>>> >> >>
>>> >> >>
>>> >> >> With thanks
>>> >> >> Neeraj Chowdhry
>>> >> >> --
>>> >> >> View this message in context:
>>> >> >>
>>> >>
>>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10851892
>>> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>>> >> >>
>>> >> >>
>>> >> >>
>>> ---------------------------------------------------------------------
>>> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> >> >> For additional commands, e-mail:
>>> jmeter-user-help@jakarta.apache.org
>>> >> >>
>>> >> >>
>>> >> >
>>> >> >
>>> ---------------------------------------------------------------------
>>> >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> >> > For additional commands, e-mail:
>>> jmeter-user-help@jakarta.apache.org
>>> >> >
>>> >> >
>>> >> >
>>> >>
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10867421
>>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>>> >>
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>> >>
>>> >>
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>> >
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10873105
>>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10892155
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Server returned HTTP response code: 500 for URL //

Posted by Neeraj C <ne...@hcl.in>.
[Hye Sebb]

The 500 Error is gone after I placed the "Http Cookie Manger" under the
"Test Plan Thread Group".
But the Response data  under the "View Results Tree" is same for all the
three Requests I tried till now, the Requests are mentioned as follows : 

1>>> GET http://10.112.75.119:8080/WMS/login.do [For Login Page]


2>>> GET
http://10.112.75.119:8080/WMS/homepage.do?displayMsg=home&selectedWCSMenuItem=home
[For Home Page]


3>>> GET
http://10.112.75.119:8080/WMS/document.do?displayMsg=document&selectedWCSMenuItem=document
[For Documents Page]

and I got the following response data for all the above three Requests:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head>
<title>Login Page</title>
<base href="http://10.112.75.119:8080/WMS/jsp/common/login.jsp">
<link rel="stylesheet" type="text/css" href="../../res/css/sc_styles.css">
<script src="../../res/js/conference.js"></script>

<script>
	var qs = new Query_String();
	
	function actionModifier(form)
	{

		if(mandatoryChk())
		{
			if(qs.getFieldValue("confURL")!=undefined &&
qs.getFieldValue("confURL")!="undefined" &&
qs.getFieldValue("confURL")!=null)
			{
				form.action += "?confURL=" + qs.getFieldValue("confURL") + "&confId=" +
qs.getFieldValue("confId");
			}
			
			return true;
		}
		return false;
	}
	
	function trim(stringToTrim) {
		return stringToTrim.replace(/^\s+|\s+$/g,"");
	}
	
	function mandatoryChk()
	{
		if(trim(document.getElementById('username').value)== "" ||
trim(document.getElementById('password').value)== "")
		{
			alert("User name and Password are mandatory");
			return false;
		}
		else
			return true;
	}
</script>
</head>
 
<body>

<form name="loginForm" method="post" action="/WMS/logon.do"
onsubmit="if(actionModifier(this)) return true; else return false;">


		<input type="hidden" name="red5ip"   value="10.112.78.130
">
		<input type="hidden" name="protocol"   value="rtmp
">
		


  <table border="0" width="100%" height="100%" class="grpTable">
  	<tbody>
		<tr>
			<td width="50%">
				<table align="center"  border="0">		
					<tr>
						<td height="30">
							For existing users
						</td>
					</tr>
					<tr>
						<td>
							<table>
								<tr>
									<td class="body">
										Username
									</td>
									<td>
										<input type="text" name="username" id="username">
									</td>
								</tr>
								<tr>
									<td class="body">
										Password 
									</td>
									<td>
										<input type="password" name="password" id="password">
									</td>
								</tr>
							</table>
						</td>
					</tr>

					<tr>
						<td align="right">
							<table>
								<tr>
									<td>
									</td>
									<td>
										<input type="submit" name="login" value=" Login "
class="buttonEdit" >
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td>
							
						</td>
					</tr>					
				</table>
			</td>
			<td width="5%">
				<table>		
					<tr>
						<td>
							 ../../res/img/verticalbar.gif 
						</td>
					</tr>
				</table>
			</td>			
			<td width="45%">
				<table>		
					<tr>
						<td>
							<table border="0">
								<tr height="30">
									<td>
										For new users
									</td>
								</tr>
								<tr>
									<td>
											&nbsp;&nbsp;&nbsp;Create your Dimensions ID today.
									</td>
								</tr>
								<tr>
									<td class="helpTextSmall">
										&nbsp;&nbsp;&nbsp;By creating Dimensions ID you will have access 
									</td>
								</tr>
								<tr>
									<td class="helpTextSmall">
										&nbsp;&nbsp;&nbsp;to many products and services provided by 									
									</td>
								</tr>
								<tr>
									<td class="helpTextSmall">
										&nbsp;&nbsp;&nbsp;Dimensions. Its free.
									</td>
								</tr>
								<tr align="right">
									<td>
										<input type="button" name="proceed" value=" Proceed "
class="buttonEdit"
onClick="window.open('/WMS/jsp/common/underConstruction.jsp','_parent')">
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>								
		</tr>
  	</tbody>
  </table>
</form>
</body>
</html>


How is this possible //
Am I doing anything Wrong //
Is there any specic way to find out which page is getting hit on sending a
Request //


   With thanks
Neeraj Chowdhury




sebb-2 wrote:
> 
> On 30/05/07, Neeraj C <ne...@hcl.in> wrote:
>>
>> [Hye Sebb]
>>
>> There is no problem in the application when we access it directly through
>> navigation //
> 
> IMO, the server should not return a 500, regardless of what the client is.
> But a lot of applications make assumptions that are not always valid.
> 
>> Under View Results Tree it is showing the following
>>
>> [Sample Result]
>> Thread Name: Thread Group 1-2
>> Sample Start: Wed May 30 17:15:19 IST 2007
>> Load time: 15
>> HTTP response code: 500
>> HTTP response message: Internal Server Error
>>
>> HTTP response headers:
>> HTTP/1.1 500 Internal Server Error
>> Server: Apache-Coyote/1.1
>> Content-Type: text/html;charset=utf-8
>> Content-Length: 1521
>> Date: Wed, 30 May 2007 11:41:48 GMT
>> Connection: close
>>
>>
>> What could be the Problem //
> 
> What does the Response Data say?
> 
>> With thanks
>> Neeraj Chowdhury
>>
>> sebb-2 wrote:
>> >
>> > On 30/05/07, Neeraj C <ne...@hcl.in> wrote:
>> >>
>> >> [Hye Sebb]
>> >>
>> >> Thanks for the Reply //
>> >> The Application works fine with IE and Mozilla Firefox, so as the
>> login
>> >> Page
>> >> //
>> >> There are no issues there //
>> >
>> > The fact that the server responds with a 500 error means that it is
>> > faulty. This should not happen in well-written applications - except
>> > perhaps under heavy load.
>> >
>> >> I didn't understand about Splitting the URL into different fields //
>> >
>> > The URL needs to be split into:
>> >
>> > Server Name
>> > Port (if not default)
>> > Protocol (if not http)
>> > Path
>> > Parameters
>> >
>> > The parameters can be left as part of the Path if you want.
>> >
>> > However, this is probably not the cause here - one would expect a
>> > different error.
>> >
>> >> I mentioned the following Path to Test the Home Page for Performance:
>> >>
>> >> /WMS/homepage.do?displayMsg=home&selectedWCSMenuItem=home
>> >>
>> >> Is this the wrong way //
>> >
>> > It's a valid part of a URL, but whether it is valid for your
>> > application is another matter.
>> >
>> >> Please advice //
>> >
>> > Do any URLs work in JMeter?
>> > Or is it only the application that fails?
>> >
>> > What does the response say? (Add a Tree View Listener)
>> >
>> >> With thanks
>> >> Neeraj Chowdhury
>> >>
>> >>
>> >> sebb-2 wrote:
>> >> >
>> >> > Make sure that the URL has been correctly split into the different
>> >> fields.
>> >> >
>> >> > Does the login page require a particular browser, or does it work
>> with
>> >> > all browsers?
>> >> >
>> >> > S.
>> >> > On 29/05/07, Neeraj C <ne...@hcl.in> wrote:
>> >> >>
>> >> >> Hye Friends
>> >> >>
>> >> >> There is no problems when I test the Login page of our Web
>> >> Application.
>> >> >> But when I place the Path of an internal "Home Page" or any other
>> >> >> internal
>> >> >> page I get the following error in the Jmeter.log file //
>> >> >>
>> >> >> ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse:
>> >> >> java.io.IOException: Server returned HTTP response code: 500 for
>> URL:
>> >> >> http://IP:Port/Home Page Url //
>> >> >>
>> >> >> Can anybody providee me with the solution so that I can test the
>> >> >> Application
>> >> >> //
>> >> >>
>> >> >>
>> >> >> With thanks
>> >> >> Neeraj Chowdhry
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10851892
>> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> >> For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>> >> >>
>> >> >>
>> >> >
>> >> >
>> ---------------------------------------------------------------------
>> >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10867421
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10873105
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10890093
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Server returned HTTP response code: 500 for URL //

Posted by sebb <se...@gmail.com>.
On 30/05/07, Neeraj C <ne...@hcl.in> wrote:
>
> [Hye Sebb]
>
> There is no problem in the application when we access it directly through
> navigation //

IMO, the server should not return a 500, regardless of what the client is.
But a lot of applications make assumptions that are not always valid.

> Under View Results Tree it is showing the following
>
> [Sample Result]
> Thread Name: Thread Group 1-2
> Sample Start: Wed May 30 17:15:19 IST 2007
> Load time: 15
> HTTP response code: 500
> HTTP response message: Internal Server Error
>
> HTTP response headers:
> HTTP/1.1 500 Internal Server Error
> Server: Apache-Coyote/1.1
> Content-Type: text/html;charset=utf-8
> Content-Length: 1521
> Date: Wed, 30 May 2007 11:41:48 GMT
> Connection: close
>
>
> What could be the Problem //

What does the Response Data say?

> With thanks
> Neeraj Chowdhury
>
> sebb-2 wrote:
> >
> > On 30/05/07, Neeraj C <ne...@hcl.in> wrote:
> >>
> >> [Hye Sebb]
> >>
> >> Thanks for the Reply //
> >> The Application works fine with IE and Mozilla Firefox, so as the login
> >> Page
> >> //
> >> There are no issues there //
> >
> > The fact that the server responds with a 500 error means that it is
> > faulty. This should not happen in well-written applications - except
> > perhaps under heavy load.
> >
> >> I didn't understand about Splitting the URL into different fields //
> >
> > The URL needs to be split into:
> >
> > Server Name
> > Port (if not default)
> > Protocol (if not http)
> > Path
> > Parameters
> >
> > The parameters can be left as part of the Path if you want.
> >
> > However, this is probably not the cause here - one would expect a
> > different error.
> >
> >> I mentioned the following Path to Test the Home Page for Performance:
> >>
> >> /WMS/homepage.do?displayMsg=home&selectedWCSMenuItem=home
> >>
> >> Is this the wrong way //
> >
> > It's a valid part of a URL, but whether it is valid for your
> > application is another matter.
> >
> >> Please advice //
> >
> > Do any URLs work in JMeter?
> > Or is it only the application that fails?
> >
> > What does the response say? (Add a Tree View Listener)
> >
> >> With thanks
> >> Neeraj Chowdhury
> >>
> >>
> >> sebb-2 wrote:
> >> >
> >> > Make sure that the URL has been correctly split into the different
> >> fields.
> >> >
> >> > Does the login page require a particular browser, or does it work with
> >> > all browsers?
> >> >
> >> > S.
> >> > On 29/05/07, Neeraj C <ne...@hcl.in> wrote:
> >> >>
> >> >> Hye Friends
> >> >>
> >> >> There is no problems when I test the Login page of our Web
> >> Application.
> >> >> But when I place the Path of an internal "Home Page" or any other
> >> >> internal
> >> >> page I get the following error in the Jmeter.log file //
> >> >>
> >> >> ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse:
> >> >> java.io.IOException: Server returned HTTP response code: 500 for URL:
> >> >> http://IP:Port/Home Page Url //
> >> >>
> >> >> Can anybody providee me with the solution so that I can test the
> >> >> Application
> >> >> //
> >> >>
> >> >>
> >> >> With thanks
> >> >> Neeraj Chowdhry
> >> >> --
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10851892
> >> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >>
> >> >>
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10867421
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10873105
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Server returned HTTP response code: 500 for URL //

Posted by Neeraj C <ne...@hcl.in>.
[Hye Sebb]

There is no problem in the application when we access it directly through
navigation //

Under View Results Tree it is showing the following

[Sample Result]
Thread Name: Thread Group 1-2
Sample Start: Wed May 30 17:15:19 IST 2007
Load time: 15
HTTP response code: 500
HTTP response message: Internal Server Error

HTTP response headers:
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Length: 1521
Date: Wed, 30 May 2007 11:41:48 GMT
Connection: close


What could be the Problem //

With thanks
Neeraj Chowdhury

sebb-2 wrote:
> 
> On 30/05/07, Neeraj C <ne...@hcl.in> wrote:
>>
>> [Hye Sebb]
>>
>> Thanks for the Reply //
>> The Application works fine with IE and Mozilla Firefox, so as the login
>> Page
>> //
>> There are no issues there //
> 
> The fact that the server responds with a 500 error means that it is
> faulty. This should not happen in well-written applications - except
> perhaps under heavy load.
> 
>> I didn't understand about Splitting the URL into different fields //
> 
> The URL needs to be split into:
> 
> Server Name
> Port (if not default)
> Protocol (if not http)
> Path
> Parameters
> 
> The parameters can be left as part of the Path if you want.
> 
> However, this is probably not the cause here - one would expect a
> different error.
> 
>> I mentioned the following Path to Test the Home Page for Performance:
>>
>> /WMS/homepage.do?displayMsg=home&selectedWCSMenuItem=home
>>
>> Is this the wrong way //
> 
> It's a valid part of a URL, but whether it is valid for your
> application is another matter.
> 
>> Please advice //
> 
> Do any URLs work in JMeter?
> Or is it only the application that fails?
> 
> What does the response say? (Add a Tree View Listener)
> 
>> With thanks
>> Neeraj Chowdhury
>>
>>
>> sebb-2 wrote:
>> >
>> > Make sure that the URL has been correctly split into the different
>> fields.
>> >
>> > Does the login page require a particular browser, or does it work with
>> > all browsers?
>> >
>> > S.
>> > On 29/05/07, Neeraj C <ne...@hcl.in> wrote:
>> >>
>> >> Hye Friends
>> >>
>> >> There is no problems when I test the Login page of our Web
>> Application.
>> >> But when I place the Path of an internal "Home Page" or any other
>> >> internal
>> >> page I get the following error in the Jmeter.log file //
>> >>
>> >> ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse:
>> >> java.io.IOException: Server returned HTTP response code: 500 for URL:
>> >> http://IP:Port/Home Page Url //
>> >>
>> >> Can anybody providee me with the solution so that I can test the
>> >> Application
>> >> //
>> >>
>> >>
>> >> With thanks
>> >> Neeraj Chowdhry
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10851892
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10867421
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10873105
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Server returned HTTP response code: 500 for URL //

Posted by sebb <se...@gmail.com>.
On 30/05/07, Neeraj C <ne...@hcl.in> wrote:
>
> [Hye Sebb]
>
> Thanks for the Reply //
> The Application works fine with IE and Mozilla Firefox, so as the login Page
> //
> There are no issues there //

The fact that the server responds with a 500 error means that it is
faulty. This should not happen in well-written applications - except
perhaps under heavy load.

> I didn't understand about Splitting the URL into different fields //

The URL needs to be split into:

Server Name
Port (if not default)
Protocol (if not http)
Path
Parameters

The parameters can be left as part of the Path if you want.

However, this is probably not the cause here - one would expect a
different error.

> I mentioned the following Path to Test the Home Page for Performance:
>
> /WMS/homepage.do?displayMsg=home&selectedWCSMenuItem=home
>
> Is this the wrong way //

It's a valid part of a URL, but whether it is valid for your
application is another matter.

> Please advice //

Do any URLs work in JMeter?
Or is it only the application that fails?

What does the response say? (Add a Tree View Listener)

> With thanks
> Neeraj Chowdhury
>
>
> sebb-2 wrote:
> >
> > Make sure that the URL has been correctly split into the different fields.
> >
> > Does the login page require a particular browser, or does it work with
> > all browsers?
> >
> > S.
> > On 29/05/07, Neeraj C <ne...@hcl.in> wrote:
> >>
> >> Hye Friends
> >>
> >> There is no problems when I test the Login page of our Web Application.
> >> But when I place the Path of an internal "Home Page" or any other
> >> internal
> >> page I get the following error in the Jmeter.log file //
> >>
> >> ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse:
> >> java.io.IOException: Server returned HTTP response code: 500 for URL:
> >> http://IP:Port/Home Page Url //
> >>
> >> Can anybody providee me with the solution so that I can test the
> >> Application
> >> //
> >>
> >>
> >> With thanks
> >> Neeraj Chowdhry
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10851892
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10867421
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Server returned HTTP response code: 500 for URL //

Posted by Neeraj C <ne...@hcl.in>.
[Hye Sebb]

Thanks for the Reply //
The Application works fine with IE and Mozilla Firefox, so as the login Page
//
There are no issues there //

I didn't understand about Splitting the URL into different fields //
I mentioned the following Path to Test the Home Page for Performance:

/WMS/homepage.do?displayMsg=home&selectedWCSMenuItem=home

Is this the wrong way //
Please advice //


With thanks
Neeraj Chowdhury


sebb-2 wrote:
> 
> Make sure that the URL has been correctly split into the different fields.
> 
> Does the login page require a particular browser, or does it work with
> all browsers?
> 
> S.
> On 29/05/07, Neeraj C <ne...@hcl.in> wrote:
>>
>> Hye Friends
>>
>> There is no problems when I test the Login page of our Web Application.
>> But when I place the Path of an internal "Home Page" or any other
>> internal
>> page I get the following error in the Jmeter.log file //
>>
>> ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse:
>> java.io.IOException: Server returned HTTP response code: 500 for URL:
>> http://IP:Port/Home Page Url //
>>
>> Can anybody providee me with the solution so that I can test the
>> Application
>> //
>>
>>
>> With thanks
>> Neeraj Chowdhry
>> --
>> View this message in context:
>> http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10851892
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10867421
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Server returned HTTP response code: 500 for URL //

Posted by sebb <se...@gmail.com>.
Make sure that the URL has been correctly split into the different fields.

Does the login page require a particular browser, or does it work with
all browsers?

S.
On 29/05/07, Neeraj C <ne...@hcl.in> wrote:
>
> Hye Friends
>
> There is no problems when I test the Login page of our Web Application.
> But when I place the Path of an internal "Home Page" or any other internal
> page I get the following error in the Jmeter.log file //
>
> ERROR - jmeter.protocol.http.sampler.HTTPSampler: readResponse:
> java.io.IOException: Server returned HTTP response code: 500 for URL:
> http://IP:Port/Home Page Url //
>
> Can anybody providee me with the solution so that I can test the Application
> //
>
>
> With thanks
> Neeraj Chowdhry
> --
> View this message in context: http://www.nabble.com/Server-returned-HTTP-response-code%3A-500-for-URL----tf3833153.html#a10851892
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org