No difference to the server is what I meant .
regards
deepak

On Mon, Aug 17, 2009 at 4:08 AM, sebb <seb...@gmail.com> wrote:

> On 16/08/2009, Deepak Shetty <shet...@gmail.com> wrote:
> > Hi
> >
> > >unfortunately for me, in the exact case I chose for the example, the
> >  >redirect is vital and can't be done otherwise.
> >
> > Im not sure what you mean , there is no difference between choosing
> follow
> >  redirects and unchecking follow redirects and making the request
> yourself as
> >  the next sample
>
> Not quite.
>
> The same number of samples will be returned, but in the case of
> "follow redirects" the redirects will be shown as child samples of the
> original sample rather than as two independent samples.
>
> This affects how Assertions/Post-Processors behave.
>
> >  regards
> >  deepak
> >
> >  On Sun, Aug 16, 2009 at 5:44 AM, Adrian Speteanu <asp.ad...@gmail.com
> >wrote:
> >
> >
> >  > thanks guys, much appreciated.
> >  >
> >  > it's nice and easy.
> >  >
> >  > unfortunately for me, in the exact case I chose for the example, the
> >  > redirect is vital and can't be done otherwise.
> >  >
> >  > but this still applies to a lot of other situations.
> >  >
> >  > On Thu, Aug 13, 2009 at 8:14 PM, sebb<seb...@gmail.com> wrote:
> >  > > On 13/08/2009, Deepak Shetty <shet...@gmail.com> wrote:
> >  > >> hi
> >  > >>  The only workaround I had was to uncheck redirect automatically
> and
> >  > follow
> >  > >>  redirects and use the regex extractor to extract the Location
> headers
> >  > to
> >  > >>  redirect to and add another sample to visit the extracted
> location.
> >  > >
> >  > > Yes.
> >  > >
> >  > >>  As far as I know if redirect automatically or follow redirects is
> >  > checked
> >  > >>  then the assertion applies to the last sample.
> >  > >
> >  > > With redirect automatically there will be only one sample - JMeter
> >  > > won't see any redirects.
> >  > >
> >  > > Otherwise, the Assertion is applied to the parent and/or all child
> >  > > samples, depending on what you select. There's no way to select a
> >  > > particular child sample.
> >  > >
> >  > >>  regars
> >  > >>  deepak
> >  > >>
> >  > >>  On Thu, Aug 13, 2009 at 1:02 AM, Adrian Speteanu <
> asp.ad...@gmail.com
> >  > >wrote:
> >  > >>
> >  > >>
> >  > >>  > Hi,
> >  > >>  >
> >  > >>  > For this request:
> >  > >>  > loginRequest?username=x&userpass=y&ticket=z&_event=submit
> >  > >>  > In the result tree I get:
> >  > >>  > -home page
> >  > >>  >   |- loginRequest? all parameters as above
> >  > >>  >    -> set-cookies headers
> >  > >>  >   |- redirect1
> >  > >>  >    -> the cookies above were intrepreted and a new unique value
> is
> >  > >>  > generated to validate the login (this is done automatically)
> >  > >>  >    -> in the Header of the response Set-Cookie: JSESSIONID=.+;
> >  > >>  > path=/blabla/ is received
> >  > >>  >   |- redirect2
> >  > >>  >
> >  > >>  > I want to add to the sample request the following
> >  > >>  > |-> Response Assertion (options main sample only, main sample
> and
> >  > >>  > sub-samples or sub-samples only)
> >  > >>  >     - checkbox in Response Headers
> >  > >>  >     - look for: Set-Cookie: JSESSIONID=.+;
> >  > >>  >
> >  > >>  > I want to use the response assertion to check that JSESSIONID is
> >  > >>  > re-set after a successful login, for this example, or other
> things
> >  > >>  > specific to only one sub-sample, in general. So far, I wasn't
> >  > >>  > successful.
> >  > >>  > Is it possible to specify that if it is found in only one
> sub-sample
> >  > ,
> >  > >>  > the assertion is PASSED? (I think in v2.3.2 if such an assertion
>  was
> >  > >>  > added it passed if it was found anywhere - not sure about this.)
> >  > >>  > Any ideas for a workaround to this if it is yet not possible?
> >  > >>  >
> >  > >>  >
> ---------------------------------------------------------------------
> >  > >>  > To unsubscribe, e-mail:
> jmeter-user-unsubscr...@jakarta.apache.org
> >  > >>  > For additional commands, e-mail:
> jmeter-user-h...@jakarta.apache.org
> >  > >>  >
> >  > >>  >
> >  > >>
> >  > >
> >  > >
> ---------------------------------------------------------------------
> >  > > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> >  > > For additional commands, e-mail:
> jmeter-user-h...@jakarta.apache.org
> >  > >
> >  > >
> >  >
> >  > ---------------------------------------------------------------------
> >  > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> >  > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
> >  >
> >  >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

Reply via email to