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