Solitera may collect certain information by automated means, such as cookies and web beacons, when a user visits our website. A “cookie” is a small piece of data that a website can send to your browser, which may then be stored on your system. learn more
API Operations Step-def
- Input Events API
- the base URL ābase_urlā
- add the following headers:
- the API endpoint is āendpoint_urlā with request type ārequest_typeā
- add new key value pair in request body with key āstringā and value as āstringā
- the SOAP request body with the following XML:
- the request body contains data ārequest_bodyā
- the format of sending data is ābody_formatā with the raw data format being ādata_formatā
- the SOAP request body with the following XML details is ārequest_bodyā
- save api details having ārequest-bodyā
- Establish Connection API
- Authentication API
- Request and Verification
- verify response body contains āresponse_bodyā
- verify soap response body contains:
- verify response status code is āstatus_codeā
- verify response body equals to āresponse_bodyā
- verify response body is starting key with āstart_keyā
- verify response body is ending key with āend_keyā
- retrieve the value of key ākey_dataā from response and save as āvalue_dataā
- remove key value pair from request body with key name as āstringā
- verify response body having starting key is ā
ā contains value ā ā - verify response body having ending key is ā
ā contains value ā ā - verify soap response body contains:
- save response of executed api having āresponse_bodyā
- verify response body having data āverifying_actual_dataā equals āresponse_bodyā
save response of executed api having “response_body”
save response of executed api having “response_body”
save response of executed api having “response_body”
Keyword
Given, When, And, Then
Description
Will save details of payload
Declaration
- Code
- Element
- Application
- Test Data
Then save response of executed api having "response_body"
NILL
NILL
NILL
Remarks
- The āString Valueā that is used through test data file should be in angular brackets.
- We can use any variable name
Restriction
- Parameter selection- It is mandatory to meet all parameter data with validation criteria, such as the use of appropriate string or numerical data, an assigned value range, and conformance with length restrictions
- Call sequencing- It is also a challenge as every call must appear in a specific order to ensure the system works correctly.
- Last updated on: May 23, 2024
Table of contents