jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Lozo <dean.l...@gmail.com>
Subject Re: Inserting Cookie Data into URL. (I have googled and looked at guides, it looks correct but fails)
Date Fri, 22 Jun 2012 08:44:27 GMT
Thanks for the help guys!

I was referencing the value in the wrong location. In the re-write I was
supposed to use the  ${COOKIE_JSESSIONID in the re-write session argument
name.


On Thu, Jun 21, 2012 at 9:02 PM, Sergio Boso <sergio@bosoconsulting.it>wrote:

> You may also try to disable the
>
> "check received cookies are valid"
>
> in jmeter.properties:
> CookieManager.check.cookies=**false
>
> I had a case when the cookies were handled properly by browsers,
> but they were discarded by Http client in Jmeter.
>
> regards
>
> Sergio
>
>
> Il 21/06/2012 18:04, Deepak Shetty ha scritto:
>
>  If your application is using cookies and you are using Cookie Manager ,
>> you
>> dont need to use HTTP URL rewriting modifier .
>> Ensure you have follow redirects , not redirect automatically on your
>> samplers
>> Also add a view results tree listener and check if you are getting the
>> Set-Cookie correctly (check that the domain / path being specified in
>> Set-Cookie matches the next request you are making)
>>
>> Its possible that your application only uses url-rewrites in which case
>> you
>> can drop the Cookie Manager and verify the modifier
>>
>> regards
>> deepak
>>
>>
>> On Thu, Jun 21, 2012 at 7:19 AM, Dean Lozo <dean.lozo@gmail.com> wrote:
>>
>>  Hey
>>>
>>> Note: This is my first time usign JMeter and I am a complete noob.
>>>
>>> I have done large amount of googling and reading through documentation.
>>> After looking at several tutorials, and trying different things they have
>>> all failed. I might have forgotten something more basic.  It has been a
>>> nightmare to use the re-cookie i receive in "Sampler Result" after
>>> logging
>>> in. I am trying to do this by using the "HTTP URL Re-writing Modifier"
>>> and
>>> "Cookie manager" feature that JMeter offers. I have enabled saving
>>> cookies
>>> to true.
>>>
>>> "JSESSIONID" keeps staying blank for some reason. Links to pictures can
>>> be
>>> found below. I am at a loss, and would really love some help! That the
>>> URL
>>> works at this point is irrelevant, I only wish to generate the correct
>>> URL.
>>> If there is no time to help, I would greatly appreciate an XML file with
>>> the functions working.
>>>
>>> http://imgur.com/a/Qp13D
>>>
>>>
>>> Cheers
>>> Dean
>>>
>>>
>
> --
>
>
> In caso di erronea ricezione da parte di persona diversa, siete pregati di
> eliminare il messaggio e i suoi allegati in modo definitivo dai vostri
> archivi e di volercelo comunicare immediatamente restituendoci il messaggio
> via e-mail al seguente indirizzosergio@**bosoconsulting.it<indirizzosergio@bosoconsulting.it><mailto:
> sergioboso@yahoo.it>
> L’interessato può, inoltre, esercitare tutti i diritti di accesso sui
> propri dati previsti dal decreto 196/2003, tra i quali i diritti di
> rettifica, aggiornamento e cancellazione, inviando un messaggio all’
> indirizzo:sergio@**bosoconsulting.it<indirizzo%3Asergio@bosoconsulting.it><mailto:
> sergioboso@yahoo.it>
>
>
>
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.**apache.org<user-unsubscribe@jmeter.apache.org>
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message