简体   繁体   中英

Getting error with JMeter 3.2 CookieHandler: Unable to add the cookie error

I have currently Jmeter 3.2 installed on my Mac (macOS Sierra). Now I want to install 3.1 because of the jmeter ERROR oajphcHC4 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

CookieManager.check.cookies=false

JMeter restart will be required to pick the property up. Also you can try playing with different Cookie Policy values:

Cookie政策价值JMeter Cookie管理器

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:

  1. wget http://apache.claz.org//jmeter/binaries/apache-jmeter-3.1.tgz
  2. tar xf apache-jmeter-3.1.tgz
  3. cd apache-jmeter-3.1/bin/
  4. ./jmeter.sh

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM