Academy · Test Automation · 200 Practitioner
API and Service Test Automation for OData, SOAP and IDoc
Shows how to automate SAP tests below the user interface: OData and REST services, SOAP services and IDoc-based interfaces. Covers authentication, CSRF tokens for OData writes, ETags and batch requests, building SOAP tests from the WSDL, driving and checking IDocs, using APIs to create and clean test data, and asserting on business outcomes rather than technical success.
- 68 minutes
- 5 lessons + quiz
- Test Automation Engineer, Integration Specialist
What you’ll be able to do
- Automate read and write tests against SAP OData services including CSRF token handling
- Automate SOAP service tests with schema and business assertions
- Trigger and verify IDoc processing in automated tests
- Use APIs to create and clean test data for UI tests
- Explain where API tests replace UI tests in SAP regression
Sources and further reading
- Cross-Site Request Forgery Protection (SAP Gateway Foundation Security Guide) · SAP Help Portal
- SAP Gateway Client · SAP Help Portal
- ETag Handling (SAP Gateway) · SAP Help Portal
- OData Query Options (SAP Gateway) · SAP Help Portal
- Test Tool (IDoc Interface/ALE) · SAP Help Portal
- Testing Inbound Processing (IDoc Interface) · SAP Help Portal
- Status Monitor for ALE Messages · SAP Help Portal
- SOAP Version 1.2 Part 1: Messaging Framework · W3C