General Problems About Web Service Testing

0
182
Spread the love

Web Service Testing
image credit:www.west.gr
Problems of Traditional Web Service Testing:

  • Most of time the developers reuse third party web service for better support and reduce the development time. It is very difficult to test for test engineers.
  • SOAP based web services can ues a lot of WS* secifications, so the underlaying test engineers need to know a lot of security features to test effectively.
  • Web Services can be exposed over multiple transport protocol like-JMS,VFS. So testing should be conducted over all protocol.As a result test engineer need to pass a higher learning curve.

Exception Handling Mechanism of Web service Testing

Those test engineers who are from any tools background will call this as Exception handling but it is popularly known as fault handling mechanism.Even though Web service follows SOAP protocol to send message,there might be scenario where it might encounter faults. In Traditional way web service sends the fault message as a part of response to service consumer.

The elements could be:
1. fault code: The code is very similar like web faults(404,500 etc).So seeing the code one can understand what kind of fault has occurred.
Popular fault codes could be..
a. VersionMismatch
b. MustUnderstand

2.faultString: More details about the fault which is understandable by human.

3. faultactor: This provides an information who is primarily caused the fault

4. details: More details view of the fault.

The above written notation is applicable for SOAP V1.1 but in SOAP V1.2 the naming convention is changed without its explanation. Click here to know more

READ  An Introduction To SoapUI
Web Service Testing

like

  • faultcode is Code
  • faultSring is Reson
also it might have optional elements like–
  • Node
  • Role
  • Details

 


Spread the love
I am the founder and owner of the blog - TechTravelHub.com, always love to share knowledge on test automation,tools,techniques and tips.I am a passionate coder of Java and VBScript.I also publish articles on Travel ideas and great honeymoon destinations.Apart from these, I am a gear-head,love to drive across India. I have shared lots of articles here on How to travel several parts of India.Customization of cars aka car modification is my another hobby.Get in touch with me on ani01104@gamil.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here