Oct 6th, 2012, 12:41 PM
Spring Services UI Testing
In a Maven project, We have consumed a number of third party web services using Spring Framework. The flow would be something like below and controlled by the respective applicationContext.xml:
Service Class -> Request Validator -> Request Mapper -> Manager -> Response Mapper -> Service Class.
In another Maven project, (where the above project is added as a dependency in the pom.xml), There is a Util Class for every service and this Util Maven project is exposed as a shared library to all the UI applications.
Is there any framework provided by Spring to test these Util Classes in a standalone web page (not in the application), this is to ensure that all the services work properly when deployed on a server.
Say, if a method in a util class has three arguments (two are primitive and other is user defined) , framework should automatically list out the required text boxes. When the user enters the values, they should bind to the respective arguments and the util call has to be made.
Could you please suggest if spring provides any such framework or any other ideas?
Tags for this Thread