title: Jmeter cannot handle cookies for https
body: <p>Being a beginner in <code>Jmeter</code>, met with necessity to run a simple flow:</p>
  
  <ul>
  <li>To log in web-app using <code>webdriver</code> sampler</li>
  <li>To get &amp; store cookies</li>
  <li>To make <code>GET/POST</code> requests within the web-app (e.g. navigate to any inner page)</li>
  </ul>
  
  <p>Test runs succeed for <strong>http://</strong>, but failed on HTTP-request step with 404 for <strong>https://</strong> (two different sites)</p>
  
  <p>What has been done to resolve:</p>
  
  <p><strong>1. Cookie Manager</strong> was added to Thread Group, placed prior Samplers</p>
  
  <p><strong>2. jmeter.properties changed to:</strong>  </p>
  
  <pre><code>CookieManager.allow_variable_cookies=true
  CookieManager.save.cookies=true
  CookieManager.check.cookies=false
  </code></pre>
  
  <p>Thus, after changing save cookies to <strong>true</strong>, I expected to see all cookies saved in <code>Debug Sampler &gt; JmeterVariables</code>, but I don't (either for <strong>http://</strong> or for <strong>https://</strong>)</p>
  
  <p><strong>3. Regexp extractor</strong> (placed above HTTP sampler) <strong>used as:</strong>  </p>
  
  <pre><code>Reference Name: COOKIE_EXT  
  Regular expression: SSESSee2ec8d6b6eedd096cb782a386b4e5c3=(.*)
  Template: $1$  
  Match No.: 1  
  Use empty default value
  </code></pre>
  
  <p>Put in GET request as:</p>
  
  <pre><code>name: cookie_ext  
  value: ${COOKIE_EXT} 
  </code></pre>
  
  <p>As a result:  </p>
  
  <pre><code>Response in Debug Sampler: COOKIE_EXT=  
  Request data: GET ?cookie_ext=  
  [no cookies]
  </code></pre>
  
  <p><strong>4. Tried to find any additional Jmeter settings</strong> for https (e.g. TSL/SSL protocols). Seems there are no any required except specifying 'https' in HTTP sampler template. Played with Implementaion &amp; Cookie Policy in HTTP Cookie Manager, but without effect.</p>
  
  <p>What could be the reason?</p>
  
  <p>(Jmeter 3.0, Google Chrome 51.0, Drupal 7.43)</p>