Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We will test the scenario where Sales Order is posted by the message sent in in SalesOrderERPCreateRequestConfirmation_In_V1 V1 API. End to End The end-to-end process will be tested and validated, starting on the API Management setup and Backend interface layer where Sales Order is posted.

In the The request message with Purchase Order details is send sent that posts Sales Order in the Backend. Then the response message is send sent from the backend system with confirmation.

...

Int4 IFTT will validate the SAP API Management part and at . At the same time, it will validate created test sales order with comparison , comparing it to the reference one posted with a reference message saved as a test case.

...

Int4 IFTT Automation Object was created to test the example API. More details how to create You can find more details on creating Automation Objects can be found here:: Creating the configuration object for SAP API Management

...

In the additional parameters, the following parameters are added.

...

  • ALT_RFC - alternative RFC connection created in SM59 that points where the message is sent. In the shown example RFC , RFC API_MGMT is  is used for this purpose. This RFC contains a link to to Host Alias of  of our API Proxy in the API Portal.

  • SYNC_URL (3)- direct endpoint to our tested SAP API. This parameter is the value we can copy from the API Portal from the API the API Base Path.

  • HTTPHEADER (2)(4)(5)

    • (2) - API Key used to authenticate a user in SAP API Management

    • (4) - because in our case, SOAP protocol is used - the SOAP action is defined

    • (5) - content type is defined

...

Test Cases have been created manually and automatically via Robot.

...

More You can find more details on how to create creating test cases can be found here: Manual Test Case Creation for SAP API Management Automatic test case creation for SAP API Management

...

After test cases execution, the Test Results Report shows the overall status.

...

In the execution details, we can see what was the endpoint URL and what were the reference and current values for Purchase and Sales Orders.

...

As response messages are also part of the test case, Int4 IFTT validates whether the response is exactly the same.

...

We can see that nodes: Note and ID are marked as payload validation ignore lists, . It is because it is expected that values in reference and test response values will differ.

In the last step, reference and tested sales orders are compared.

...