I have created a testplan in JMeter 3.3 that is performing a series of GET and POST requests to log into our application and logout again. In order to capture and use apply cookies to the POST requests, the testplan is using the JMeter Cookie Manager with cookie policy 'standard-strict', which is working perfectly fine on my local Windows pc. The plan is to run the test on an Ubuntu AWS instance in non-GUI mode with (currently) JMeter 3.0 using command
jmeter -n -t ./Login_nogui.jmx -Ljmeter.protocol.http.control.DNSCacheManager=DEBUG -l ./JMeter_LoginResults.csv -Djmeter.save.saveservice.output_format=csv
Unfortunately, all requests keep failing there with following error:
Non HTTP response code: java.lang.NullPointerException,Non HTTP response message: null
I believe I have narrowed the source of the problem down to the JMeter Cookie Manager and tried other cookie policies, but they either lead to the same result, or the requests are successful, but the login fails, e.g. using cookie policy 'default'. Did I miss anything or is there a way to make the cookie manager work on Ubuntu same way as on Windows?