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

As of Provar version, 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.

Web Service APIs

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 they 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. Please get in touch if you need any advice about maintaining your older test cases as we advance.

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