2 Replies Latest reply on Apr 5, 2011 6:12 PM by Tobias Mehre

    tomcat-embedded and spring http invocation

    Tobias Mehre Newbie

      Hey Guys,


      currently i'm testing arquillian for several use cases! I would like to test spring http service invocation using tomcat-embedded environment. Unfortunately during testing my spring service beans aren't initialized as expected. I can package the project as a war file and deploy it manually to a "real" tomcat location and everything works fine.


      I read the article about the spring integration but for now i don't need autowiring in my tests. I just want to get the spring environment to be properly initialized in order to be able to test the http service invocation.


      Could you please give me some hints if this use case can be realized or not. If it is possible which pitfalls should be considered?