Is SOA testing is same as Web Service testing?

Service Oriented Architecture(SOA) is the approach of designing a distributed and heterogeneous application consists of components (not just services) which interact with each other and can be integrated with interfaces of any platform. As now a days everyone wants their application in multiple platforms(web, mobile, tablet etc), its popularity is growing. The components or services in SOA are loosely coupled and perform specific business functionality. To effectively test an SOA application, we should know its different components. Often SOA testing is confused with web service testing. Web service is one of the ways to implement SOA, its not just synonymous to SOA. 

A simple SOA application will look like this: 



 It consists of: 
  • The provider can be a legacy or packaged application, it describes the service with WSDL
  • The service directory(also called service registry) contains the service definitions published by the provider
  • The consumer is the one consumes the service provided by the provider either for the end user or providing service to another consumer.So a consumer can be a provider or vice-versa as per the requirement of the application or business processes.
                  The flow of events will be something like:

                  1.     The provider publishes the service definition to the service directory
                  2.     The consumer queries the directory to locate the service and the method to communicate
                  3.     The part of service description from provider present in directory is passed to the consumer
                  4.     Then the consumer sends the request with the help of information from directory to the  provider.
                  5.     The provider provides the expected response to the consumer
           
                 So to completely test the SOA application we need to test all the components of the SOA layer:
                 1.     Service Provider
                 2.     Service Directory or Registry
                 3.     Service Consumer
                 4.     The infrastructure used to communicate between the different components
                 5.     The methodology and process used for communication
 

 Hence a tool capable of just testing web services is not good enough to test the complete SOA application, so while evaluating a SOA tool next time keep all these things in mind.


Comments

  1. Hi Prasanna,

    I believe SOATesting is high level testing and web service is a detail level testing.

    SOA (Service oriented Architecture ) their basic functional components are Web services.

    I agree methodology and process used for communication in SOA Platform play an important role in deciding the Tools. There are many open source tools in the market which supports few protocols.

    Cheers,
    MG

    ReplyDelete
  2. If you are developing a website, there are web service testing tools that can aid you in checking the efficiency of your site.STC Technologies

    ReplyDelete

Post a Comment

Popular posts from this blog

Fake Experience in IT and specifically Testing

Tips for Toastmaster Humorous Speech Contest