Postman -SOAP vs REST


During our weekly workshop, Boryana shared with the team her insights about Postman and the differences between SOAP and REST. We revised what is an API - a mechanism that allows two applications or two components of computer hardware to communicate with one another, what is web Service - an API in the context of the web, Rest Architecture - a simple way to organize interactions between independent systems, and the different HTTP methods and data types used for requests and responses - the verbs are create, read, update, and delete and their corresponding methods GET, POST, PUT, DELETE etc.. API is the business logic of the application and API testing is a white-box testing technique and should verify the flow of inputs and outputs through the application.


Postman is a tool for performing integration testing with your API. It allows for repeatable, reliable tests that can be automated. Postman is a clean, easy-to-use REST client, but it also works well for sending SOAP messages via HTTP.


SOAP is a Simple Object Access Protocol. You can transfer Soap objects in terms of XML format over HTTP protocol. SOAP has lots of building blocks so you can see an envelope, headers, body ect. SOAP has a specific type of format where you need a namespace and different attributes, while in REST you don't have them.

Screen Shot 2020-02-27 at 3.21.23 PM.png

SOAP is an xml based protocol, while REST is an architectural style protocol. Soap has WSDL (Web Service Definition Language ) format for communication between the consumer and the provider and REST simply uses XML or JSON to send and receive data. SOAP uses RPC or Remote Procedure Call, which is a protocol that one program can use to request a service from a program located in another computer on a network without having to understand the network's details. Another difference is that the results with REST are human readable, whereas in SOAP the results are not human readable.

An easy way to differentiate SOAP and REST is to imagine soap as an envelope and REST as a postcard. So in SOAP all the information is closed and protected in the envelope and in REST all the information is visible and readable right away.