You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally there should be an option to dynamically set cookies / request headers
As currently headers can be only set via the @Header annotation which accepts only constant expressions.
Sometimes cookies / headers need to be set at test runtime (for instance a session cookie which is retrieved before the test is stared) in the @before method call.
the cookies are transported in a header named Cookie, so I use restfuse and transport cookies by just adding a Header with the name "Cookie" and the value "MyCookieName=MyCookieValue"
Currently their is no easy way to set cookies for a request. Maybe we should extend the @httptest Annotation to take some cookies.
The text was updated successfully, but these errors were encountered: