I\'m very new to JMeter and need your help on how to modify a cookie.
Here is the scenario: I\'m testing an assessment/test taking website that offers multiple answe
Use a Beanshell pre-processor or better a Jsr223 Pre-Processor with groovy and use code mentionned here:
Code:
import org.apache.jmeter.protocol.http.control.CookieManager;
import org.apache.jmeter.protocol.http.control.Cookie;
CookieManager manager = sampler.getCookieManager();
Cookie cookie = new Cookie("","","","/",false,0);
manager.add(cookie);