title: Cookie Manager of Apache JMeter doesn't add the cookie to POST request
body: <p>I build up very simple test plan.</p>
  
  <ol>
  <li>Login: POST, a session cookie is returned.</li>
  <li>Get the state: GET, a user state is returned.</li>
  <li>Create a resource: POST, JSON body is supplied for the resource.</li>
  </ol>
  
  <p>So my 'Test Plan' looks like:<br/></p>
  
  <ul>
  <li>Test Plan
  <ul>
  <li>Thread Group
  <ul>
  <li>HTTP Request Defaults</li>
  <li>HTTP Cookie Manager</li>
  <li>Login (HTTP Request Sampler: POST)</li>
  <li>Get State (HTTP Request Sampler: GET)</li>
  <li>Create Resource (HTTP Request Sampler: POST)</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>The cookie generated by 'Login' is added to 'Get State' correctly.<br/>
  But 'Create Resource' has NO cookie. I changed their order but it doesn't help.
  I used the default options firstly and changed some options but it also doesn't help.</p>
  
  <p>Is it a bug of JMeter? or just POST http request is not able to have cookie? <br/>
  Please give me any advice.</p>
  
  <p><strong>[SOLVED]</strong><br/>
  I noticed that it is related to the path, not the method.<br/>
  You'd like to look at the domain of the cookie as well as the path.
  I mean, the path and the domain of a cookie could be defined in the server side through Set-Cookie header.</p>