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”
execute api contains current data
execute api contains current data
execute api contains current data
Keyword
Given, When, And, Then
Description
Will call REST API and send the request to it.
Declaration
- Code
- Element
- Application
- Test Data
Then execute api contains current data
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