I had spent a couple of days to try Spring 3.2 new mvc test feature for testing async request by asyncDispatch and some situation disturb me.(execute attachment by "mvn test" and look at the testing log).
My problems are
- Only a few method success, but most of them failed
- Sometimes async request method was invoked twice
Finally,I wrote another test method "testMultipleAsyncEcho2" to complete the test.
Is there a official,robust way to test async request ?