jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Strachan, Paul" <Paul.Strac...@det.nsw.edu.au>
Subject recording http problem [SOLVED]
Date Wed, 03 Oct 2007 03:23:46 GMT
I changed the patterns to include from ".*\.do" to ".*" and now it also
captures the initial "post" request. 

Both the "post" and "get" are struts .do actions but for some reason it
only captures the 2nd request with specific *.do regex.

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Wednesday, 3 October 2007 1:25 AM
To: JMeter Users List
Subject: Re: recording http problem

This is supposed to work, but perhaps there is some interaction with
the "Redirect Automatically" checkbox - try disabling it.

Also check in the jmeter log file in case any relevant errors have
been reported.

Do you know of a public server we can use to test against?

S///
On 02/10/2007, Strachan, Paul <Paul.Strachan@det.nsw.edu.au> wrote:
> Hi,
>
> Jmeter 2.3
>
> I'm new to jmeter and have setup the HTTP Proxy Server to record a
> regression test but its not working as I would expect.
>
> One of my tests uses a "redirect-after-post" sequence, for example:
>
> POST /xxx/app/InputAction.do --> 302 (redirect)
> GET /xxx/app/Apply.do --> 200
>
> What I see in JMeter:
>
> o- Test Plan
>  o- Thread Group
>    o- HTTP Request Defaults
>    o- /xxx/app/Start.do "GET"
>    o- /xxx/app/Apply.do "GET"
>    o- /xxx/app/Apply.do "GET"
>    o- /xxx/app/Apply.do "GET"
>
> etc
>
> So, it appears JMeter is only recording the "get" request following
the
> redirect.
>
> My HTTP Proxy Server config has:
>
> 1. url pattern ".*\.do"
> 2. Redirect Automatically = On
> 3. Follow Redirects = Off
>
> So how can I get jmeter to record the original "post" to
InputAction.do
> with supplied request parameters?
>
> To replay the test I need to add the cookie manager and reg.exp.
> extractor but I assume this not required for the recorder.
>
> Thanks,
> Paul
>
>
> **********************************************************************
> This message is intended for the addressee named and may contain
> privileged information or confidential information or both. If you
> are not the intended recipient please delete it and notify the sender.
> **********************************************************************
>
> ---------------------------------------------------------------------
> 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

**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************

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


Mime
View raw message