Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
JHttpScenarioGlobalContext com.griddynamics.jagger.invoker.scenario.JHttpScenarioGlobalContext.withGlobalCookies ( Map< String, String >  cookies)

Sets cookies for all steps.

Parameters
cookiesglobal cookies to set

Definition at line 85 of file JHttpScenarioGlobalContext.java.

85  {
86  initHeadersIfNull();
87  cookies.entrySet().forEach(entry -> this.globalHeaders.add("Cookie", entry.getKey() + "=" + entry.getValue()));
88  return this;
89  }