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 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 a 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 services steps allow you to call any web service from within your Provar test cases using either REST or SOAP requests. The response received from is captured and parsed by Provar and available to assert and report upon.

Simply put, you must complete the following steps to enable web services 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 how to complete each of these steps, or read on for more details.

Web Service APIs (1.8.11 onwards)

As of Provar version, Provar supports web services testing through the following APIs in the API Palette:

Web service with Provar version

  • Web Connect: this API invokes a SOAP or REST connection at the beginning of a Web Services Test Case. It is the equivalent of a Salesforce Connect Test Step for Web testing.
  • Web Request (HTTP/REST) is an API used for making a REST Request. It has options for Resource URL, Request Header and HTTP Methods. This will support both Internal (Salesforce) as well external REST request.
  • Web Service Request (SOAP) is an API used 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) as well external SOAP request.

Web Service APIs (pre-

Please note that, if you are using an earlier version of Provar (pre-, you will see slightly different options in the Test Palette:

  • Create Web Session [DEPRECATED]
  • Web Request [DEPRECATED]
  • REST Request: This API has been renamed to Web Request HTTP/REST for clarity
  • Web Service Request: This API has been renamed to Web Service Request SOAP for clarity

If your test cases contain these deprecated APIs, they will continue to run, but the deprecated APIs will no longer be available via the API Palette. We recommend using the new APIs in future Test Cases once you upgrade to the new version. If you need any advice about how to maintain your older test cases going forward, please get in touch.

Review Provar on G2
Documentation library

Other available resources

Looking for something different?

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