Index Page

Tuesday, 31 March 2020

About SOAPUI tool, Web Services and RealTime Examples

What is the SoapUI tool?

a. SoapUI is a testing tool to test Web Services and REST API's.
b. SoapUI tool is available as an open-source and paid tool both.
c. Most of the SoapUI features we can cover from an open-source tool.

d. By the SoapUI tool, we can do API functional testing, load testing, and security testing as well.
e. By the SoapUI tool, we can create API mock services for testing.


Lets Learn About SoapUI Tool Together.
Lets Learn About SoapUI Tool Together.

What is Web Service?

a. It is a method of communication between two applications or electronic devices over the World wide web (www).
b. Web services are XML-based information exchange systems that use the Internet for direct application-to-application interaction.
c. These systems can include programs, objects, messages, or documents. 
d. Web Service is a collection of standards or protocols for exchanging information 


Type of Web Service:

There are two types of web services:

a. RESTful web services.

b. SOAP web services.





a. About RESTful web services:

a. REST API stands for "Representational State Transfer".
b. REST API is an architecture. It is lightweight. Nowadays most of the companies are using RESTful API.
c. In REST service we will use standard HTTP methods which we normally called CRUD [C for Create, R for Read, U for Update and D for delete] to access the resources which are GET, POST, DELETE, PUT.

d. REST API is Stateless, the requests sent from a client to a server will contain all the required information to make the server understand the requests sent from the client. This can be either a part of URL,  query-string parameters, body, or even headers.
e. e. REST API uses JSON as the underlying language.







b. About SOAP web services:

a. SOAP stands for Simple Object Access Protocol. The underlying language used by soap is XML.
b. SOAP use for sending and receiving messages between applications without confronting interoperability issues.  This means it could be a different operating system, different language, etc.
c. SOAP is a protocol that follows W3C standards.


Real-Time examples of API:


a. Communication between mobile apps and your website.

b. When we go to the company websites > contacts page section we see the company location on the google map. Here the company uses google API to show their current location on Map.

c. Payment gateway integration between Hotels.com and PayPal.

d. Payment gateway integration between Amazon and PayPal.


Note –

a. In the web services testing, we will test API’s are giving an expected response or not.
b. Do not confuse between SOAP UI tool and SOAP.
c. SOAP UI tool is used to test web services i.e. SOAP and REST. But SOAP is a protocol used for sending and receiving messages between web services.
d. SOAP UI tool is different and SOAP protocol is different.



Interview Question from this Page:


a. What is the SOAPUI Tool?

b. Is the SOAPUI Tool and SOAP Web Services are same?

c. Types of WebServices?

d. What is the difference between RESTful Web Services and SOAP web services? [We will see this on the next page.]

e. Do you know the Real-Time examples of API?



2 comments: