I’ve build simple JSF+Primefaces website. Test case looks like this:
Load web site (GET)
Press button which stores value in JSF’s flash (POST)
Displays value from JSF’s flash. (GET)
Works fine in browser, not so fine with Gatling. Value from flash disappears. After headers check I found that POST request creates cookie which is not passed in last GET header (step 3).
At the same time cookie created by GET in step 1 works fine through all the test steps.
Why session cookie (JSESSIONID) is stored OK, but flash cookie (csfcfc) is not? Is it bug, or am I doing something wrong?