You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Neil B. Cohen" <nb...@cisco.com> on 2003/09/05 19:17:19 UTC

Newbie question

Hi,

I'm trying to work with JMeter for the first time. A couple of simple
questions...

Background - I am trying to test a web application built with Struts and
Tomcat 4.x. A user visits a web site (www.xxx.com) on port 80. This is
redirected to a secure page. This page asks for a user id and password.

I have set up a JMeter test plan to send a request to the initial page,
followed by a login request and then a request for the logout page.

It all seems to work - however my login Action is never triggered.

I used https as the protocol for all requests after the initial one, and
told jmeter to follow redirects. I added parameters to what I think is
the login request. My web application logs the incoming requests but as
I said, the action routines don't trigger.

Can someone give me a hint as to what needs to be done? I'll be happy to
show you the jmeter code I've written and some log files, but I don't
want to bother everyone with that level of detail...

thanks in advance,

nbc
-- 
NAME:   Neil B. Cohen (Cisco Systems Inc.)
PHONE:  703-484-3205
DOMAIN: nbc@cisco.com
*************************************************************
* Murphy's Philosophy: Smile - tomorrow will be worse...    *
*                                                           *
* O'Tooles Commentary: Murphy was an optimist!              *
*************************************************************


Re: Newbie question

Posted by ms...@apache.org.
My suggestions:

Record your actions in a browser, keep "follow-redirect" off, and 
turn on https testing later once you get regular http working.

-Mike

On 5 Sep 2003 at 13:17, Neil B. Cohen wrote:

> Hi,
> 
> I'm trying to work with JMeter for the first time. A couple of simple
> questions...
> 
> Background - I am trying to test a web application built with Struts 
and
> Tomcat 4.x. A user visits a web site (www.xxx.com) on port 80. 
This is
> redirected to a secure page. This page asks for a user id and 
password.
> 
> I have set up a JMeter test plan to send a request to the initial 
page,
> followed by a login request and then a request for the logout 
page.
> 
> It all seems to work - however my login Action is never triggered.
> 
> I used https as the protocol for all requests after the initial one, 
and
> told jmeter to follow redirects. I added parameters to what I think 
is
> the login request. My web application logs the incoming requests 
but as
> I said, the action routines don't trigger.
> 
> Can someone give me a hint as to what needs to be done? I'll be 
happy to
> show you the jmeter code I've written and some log files, but I 
don't
> want to bother everyone with that level of detail...
> 
> thanks in advance,
> 
> nbc
> -- 
> NAME:   Neil B. Cohen (Cisco Systems Inc.)
> PHONE:  703-484-3205
> DOMAIN: nbc@cisco.com
> *************************************************************
> * Murphy's Philosophy: Smile - tomorrow will be worse...    *
> *                                                           *
> * O'Tooles Commentary: Murphy was an optimist!              *
> *************************************************************
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-
unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-
help@jakarta.apache.org
> 




--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777