Wednesday, December 2, 2015

how to apply servlet chain i.e. filter etc when I invoke a servlet from GWTTestCase ?

Hi everybody,

I have a GWTTestCase that needs to fetch some JSON produced on the server and use in a test. 

Though I have unit tests to validate everything else I am trying to write an end to end test as a GWTTestCase since it will also allow me to debug my client side code. 

When I invoke a servlet after adding the servlet to my test module xml it reaches the servlet but bypasses all the filters etc. 

How can I make sure that that the entire filter / listener chain is invoked on the server side when I invoke the servlet ?

thanks a ton :)

Gautam

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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