Int4 Suite Documentation

SOAP Web Services

SOAP Web Service name: /INT4/IFTT_RUN_TESTS

Authorization and role: 

For running this Web Service, your user must either have SAP_BC_WEBSERVICE_CONSUMER or some more restrictive role for one Web Service only. 

Initial Web Service configuration needs to be performed in transaction SOAMANAGER. In the same transaction, a WSDL document can be downloaded.

Step1:

image2019-8-22_10-4-28.png?version=1&modificationDate=1566461069461&cacheVersion=1&api=v2&width=388&height=250

Step 2:

Search pattern: /INT4/IFTT_RUN_TESTS

image2019-8-22_10-16-52.png?version=1&modificationDate=1566461814135&cacheVersion=1&api=v2&width=740&height=250


Step 3.

You would like to download WSDL and obtain endpoint: On the above screen, press Show Details. A popup message will appear:

image2019-8-16_12-44-52.png?version=1&modificationDate=1565952292755&cacheVersion=1&api=v2&width=776&height=400

WSDL files might be downloaded from WSDL URLs, and the endpoint is displayed as Access URL.

Web Service has the same input and output parameters as function module/INT4/IFTT_F_RUN_TESTS.

Request template

XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
   <soapenv:Header/>
   <soapenv:Body>
      <urn:RunTests>
         <!--Optional:-->
         <ItScenariosList>
            <!--Zero or more repetitions:-->
            <item>?</item>
         </ItScenariosList>
         <!--Optional:-->
         <ItTestCasesList>
            <!--Zero or more repetitions:-->
            <item>?</item>
         </ItTestCasesList>
         <!--Optional:-->
         <ItTestContainer>
            <!--Zero or more repetitions:-->
            <item>
               <Caseid>?</Caseid>
               <VarName>?</VarName>
               <VarValue>?</VarValue>
            </item>
         </ItTestContainer>
         <!--Optional:-->
         <IvDbCommit>?</IvDbCommit>
         <!--Optional:-->
         <IvExecutionLandscape>?</IvExecutionLandscape>
         <!--Optional:-->
         <IvTestRunDate>?</IvTestRunDate>
         <!--Optional:-->
         <IvTestRunName>?</IvTestRunName>
         <!--Optional:-->
         <IvTestRunTime>?</IvTestRunTime>
         <!--Optional:-->
         <IvRunAsync>?</IvRunAsync>
      </urn:RunTests>
   </soapenv:Body>
</soapenv:Envelope>


In the case of asynchronous test runs ( IvRunAsync = 'X' ) /INT4/IFTT_GET_RESULT Web Service can be used to check the status and read results.