Documentation

Looking for something in particular?

Web Services

What is a Web Service?


A web service can be defined in the following ways:

  • A client-server application or application component for communication
  • A method of communication between two devices over a network.
  • A software system for interoperable machine-to-machine communication
  • A collection of standards or protocols for exchanging information between two devices or application

Types of Web Services


There are mainly two types of network services:

  1. SOAP (Simple Object Access Protocol): SOAP stands for Simple Object Access Protocol. It is an XML-based protocol for accessing web services. SOAP is a W3C recommendation for communication between two applications.
  2. RESTful (Representational State Transfer): REST stands for Representational State Transfer. REST is an architectural style, not a protocol.

Web Services Testing with Provar


Provar’s web testing steps allow you to call any web service from within your Provar test cases using REST or SOAP requests. The response received is captured and parsed by Provar and available to assert and report upon.

But you must complete the following steps to enable web testing from Provar:

  1. Create a REST or SOAP connection in Provar to store the network service details
  2. Invoke the REST or SOAP connection in your test case using a Web Connect test step
  3. Perform a REST Request or SOAP Request in your test case using a Web Request (HTTP/REST) or Web Service Request (SOAP) test step

Click the links above for detailed instructions on completing each step, or read on for more details.

Web Service APIs


Provar supports web testing through the following APIs in the Test Palette:

  • Web Connect: this API invokes a SOAP or REST connection at the beginning of a Web Test Case. It is the equivalent of a Salesforce Connect Test Step for Web testing.
  • Web Request (HTTP/REST) is an API for making a REST Request. It has options for Resource URL, Request Header, and HTTP Methods. This will support both Internal (Salesforce) and external REST requests.
  • Web Service Request (SOAP) is an API for making a SOAP Request. It will take the WSDL file from the SOAP connection unless a separate one is provided in the Test Step. This will support both Internal (Salesforce) and external SOAP requests.

We have improved API testing possibilities for our users. With the latest upgrade, Provar users can test all API response codes, including negative cases such as 422 Unprocessable Entity and 500 Internal Server Error for both REST and SOAP API calls

Review Provar on G2
Documentation library

Trying to raise a case with our support team?

We use cookies to better understand how our website is used so we can tailor content for you. For more information about the different cookies we use please take a look at our Privacy Policy.

Scroll to Top