You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2019/09/05 13:50:32 UTC

[Bug 63728] New: Cookie not set in replay in response header

https://bz.apache.org/bugzilla/show_bug.cgi?id=63728

            Bug ID: 63728
           Summary: Cookie not set in replay in response header
           Product: JMeter
           Version: 5.1.1
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: mmedasani@ipcoop.com
  Target Milestone: JMETER_5.2

Created attachment 36759
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36759&action=edit
Response headers during recording and replay

I am recording a test where

1. I access the site

2. Enter login credentials and click on login button

3. once logged in do a quick search and end the test.

The results from the recording on step 2, a post with the login credentials as
the parameters, the response code: 302 and there is a .ASPXAUTH cookie being
set in the response headers, which is used by the later requests.

But when I replay, the login step does not contain the response header where it
sets the .ASPXAUTH cookie, and the login response code is 200. The login seems
to be failing and it is getting redirected to the logout page.

I am attaching the response body/header, request from the recording as well as
replay to see the difference. I have tried to replay by unchecking the follow
redirects checkbox, but get the same result. Please help me out, as the login
is a needed part to create any script and if that does not work, we will not be
able to use JMeter for our performance testing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 63728] Cookie not set in replay in response header

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63728

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|JMETER_5.2                  |---
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Severity|blocker                     |normal

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 63728] Cookie not set in replay in response header

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63728

mmedasani@ipcoop.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from mmedasani@ipcoop.com ---
Figured it out. Bug can be closed, as its not a jmeter issue, its a hidden
value I had to capture and send with the request.

-- 
You are receiving this mail because:
You are the assignee for the bug.