I have currently Jmeter 3.2 installed on my Mac (macOS Sierra). Now I want to install 3.1 because of the jmeter ERROR o.a.j.p.h.c.HC4 CookieHandler: Unable to add the cookie
error.
How can I install an older version via home brew. I did brew install jmeter -3.1
but that doesn't work.
You can try working this around by adding the next line to user.properties file
JMeter restart will be required to pick the property up. Also you can try playing with different
Cookie Policy
values:See Using the HTTP Cookie Manager in JMeter for more details.
If you still want to run JMeter 3.1 (or any other version available in JMeter Archives) you don't need to "install" it, JMeter is a Java-based application so it will be quite enough to download, unpack and run it. Given you use
brew
I believe you're using MacOSX, steps in "Terminal" application would look like:wget http://apache.claz.org//jmeter/binaries/apache-jmeter-3.1.tgz
tar xf apache-jmeter-3.1.tgz
cd apache-jmeter-3.1/bin/
./jmeter.sh