Wednesday, December 17, 2014

Re: GWTTestCases now failing with 2.7.0; session related?

Hmm maybe the sessionId cookie gets lost somehow during the test? Can you verify that the first request creates a session on the server and the response contains a Set-Cookie header with the sessionId? Finally the second request should send that sessionId cookie to the server otherwise a new session will be created again.

Does it work when you launch your GWT tests using the JVM parameter:

-Dgwt.args="-prod -runStyle Manual:1"

and then visit the provided URL in a browser? That basically compiles your GWT test module to JavaScript and lets you execute the tests in a browser.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment