You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Michael Stover <ms...@apache.org> on 2004/09/28 20:49:57 UTC

RE: Request data tab in 'View in Tree' listener is empty for redirect http requests

What I would do is:
1) record your test plan via a browser and JMeter's proxy recording
server
2) you'll note that all recorded requests have "follow re-directs"
unchecked and that every redirected request is entered as a separate
request.  This is good.  Keep it that way
3) now you can see the exact response text for every request and parse
it as needed.

-Mike

On Tue, 2004-09-28 at 14:32, Senthil Subbiah wrote:
> To add more.....
> The server class runs a db query and returns a vector to the
> controller...which the controller sets in the request object.
> Now the JSP takes the vector from request and iterates to display the
> output.
> Out of the values available in the vector I need to take one....
> The whole communication between the controller and JSP happens through
> mapping.properties...
> 
> Please suggest me....
> 
> Thanks
> senthil
> 
> 
> -----Original Message-----
> From: Senthil Subbiah 
> Sent: Tuesday, September 28, 2004 11:27 AM
> To: JMeter Users List; sebb
> Subject: RE: Request data tab in 'View in Tree' listener is empty for
> redirect http requests
> 
> 
> Thanks for the response...But I m not clear on how to go about....
> 
> The application that I am working on is build on MVC architecture. So
> every request is routed through a mapping.properties to a controller,
> server class and then the result goes to a JSP. So from the controller
> the output is either set as session values or as request.setAttribute
> And the JSP accesses the result from session or request.
> 
> For these HTTP request...what should I do?
> 
> Can you...explain in this regard...
> 
> Thanks
> senthil
> 
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com] 
> Sent: Tuesday, September 28, 2004 5:27 AM
> To: JMeter Users List
> Subject: Re: Request data tab in 'View in Tree' listener is empty for
> redirect http requests
> 
> 
> On Mon, 27 Sep 2004 15:51:40 -0700, Senthil Subbiah
> <ss...@ketera.com> wrote:
> > Hi all,
> > 
> > The response corresponding to a redirect request is empty.
> > Is this correct?
> 
> Probably - I think redirects are normally handled via headers, not the
> body.
> 
> > If not....why is this coming out to be empty?
> > What can I do for this?
> > 
> > From the response of this redirect I need to match one expression and
> > should be given as request for the next. Can you please tell me...how 
> > to go about?
> 
> Try matching on the headers, rather than the body.
> 
> ---------------------------------------------------------------------
> 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
-- 
Michael Stover <ms...@apache.org>
Apache Software Foundation


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