Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cookie support #3

Open
hstaudacher opened this issue Nov 12, 2011 · 2 comments
Open

Add cookie support #3

hstaudacher opened this issue Nov 12, 2011 · 2 comments
Milestone

Comments

@hstaudacher
Copy link

Currently their is no easy way to set cookies for a request. Maybe we should extend the @httptest Annotation to take some cookies.

@drejc
Copy link

drejc commented Aug 22, 2012

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.

@andreasmihm
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants