"No one is harder on a talented person than the person themselves" - Linda Wilkinson ; "Trust your guts and don't follow the herd" ; "Validate direction not destination" ;
Showing posts with label Web Service Testing. Show all posts
Showing posts with label Web Service Testing. Show all posts

July 06, 2014

Weekend Reads - API Testing (Web Service Testing, Inspect Http request, Rest API Testing) - Free tools

Very good presentation on compiled list of free tools for API Testing. More Details - Free API debugging and testing tools you should know about

Tools List from the presentation and SO reads
While reading through the list again went back to check on SOAP, Rest Basics. API testing / Web Service testing we will be looking into only aspects Rest, SOAP based web services. Summary based on StackOverflow readings, posts. References - StackOverflow reference answers link. More details Pls check reference link. (Consolidated Answer and Detailed short summary listed below)

Rest
SOAP
REST is over HTTP. REST has no WSDL interface definition
SOAP can be over any transportprotocols such HTTP, FTP, STMP, JMS etc.
REST stands for Representational State Transfer. REST approach uses the standard GET, PUT, POST, and DELETE verbs
Simple Object Access Protocol (SOAP) 
SOAP builds an XML protocol on top of HTTP  / TCP/IP.
REST is good for getting a blob of data that you don't have to work with
SOAP describes functions, and types of data. If you want to get an object, SOAP is way quicker and easier to implement
Typically uses normal HTTP methods instead of a big XML format describing everything
Has several protocols and technologies relating to it: WSDL, XSDs, SOAP, WS-Addressing
REST plays well with AJAX'y web pages. If you keep your requests simple, you can make service calls directly from your JavaScript, and that comes in very handy.
SOAP is useful from a tooling perspective because the WSDL is so easily consumed by tools. So, you can get Web Service clients generated for you in your favourite language.

More Reads
From AWS Blog - 80% REST / 20% SOAP usage pattern

Happy Learning!!!

December 04, 2010

Web Service Testing

Yes, Learning basics once again. Basics of Web Services, How it Works. Testing has been fairly easy using Web Service Studio Tool.
Web Service - What is it
  • Web Services is all about XML
  • Enables this communication by using open protocols and standards XML, SOAP and WSDL
  • Structure of the messages is described using XML Schema (XSD)
Why Web Services
  • Platform-independent - The use of open protocols enables Web services to be platform independent
  • Secure - Enable SSL, Certificates
Technology
  • WSDL (Web Services Description Language) - WSDL is a document that describes a Web service and also tells you how to access and use its methods.
  • UDDI - Universal Description, Discovery and Integration - Organizations register their Web services in a global directory so clients can find them
  • SOAP - Simple Object Access Protocol. Messaging protocol. SOAP is a simple XML-based protocol to let applications exchange information over HTTP.
How it works
A very good walkthrough is provided in link. Client sends Serialized SOAP Request. This is Deserialized by the Server. The response is again Serialized and passed to the client in SOAP Response in serialized format. Deserialization happens at Client again.

Performance 
Typically there would be multiple consumers who can consume this service, scalability and performance is very important for web service

Web Services Testing
Fairly Simple. Provide the wsdl URL in Web Service Studio Tool. Methods would be listed. Easy Walkthrough and tool download in link
Web service Studio 2.0 by Sowmy Srinivasan - Link
More Tools Read
More Reads

Happy Learning!!!