API Operations – SoliteraTA

SoliteraTA

API Operations

verify response body having data “verifying_actual_data” equals “response_body”

API Operations Step-def verify response body having data “verifying_actual_data” equals “response_body” Keyword Given, When, And, Then Description Will verify actual data with variable name. Note:{save response of executed api having “response_body”} step def must be used before using this step def. It will compare the actual and save value. Declaration Code Element Application Test Data Then verify response body having data “verifying_actual_data” equals “response_body” NILL NILL A B verifying_actual_data { “name”: “morpheus”, “job”: “zionresident”, “updatedAt”: “2024-05-22T09:55:51.598Z” } 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. Table of contents Keyword Description Declaration Remarks Restriction

verify response body having data “verifying_actual_data” equals “response_body” Read More »

save response of executed api having “response_body”

API Operations Step-def 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. Table of contents Keyword Description Declaration Remarks Restriction

save response of executed api having “response_body” Read More »

save api details having “request-body”

API Operations Step-def save api details having “request-body” Keyword Given, When, And, Then Description Will save details of payload Declaration Code Element Application Test Data Then save api details having “request-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. Table of contents Keyword Description Declaration Remarks Restriction

save api details having “request-body” Read More »

execute api with required details “request_body”

API Operations Step-def execute api with required details “request_body” Keyword Given, When, And, Then Description Will call REST API and send the request for given payload Note:{save api details having “request-body”} step def must be used before using this step def It will get value from that stef def and used in this step def Declaration Code Element Application Test Data Then execute api with required details “request_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. Table of contents Keyword Description Declaration Remarks Restriction

execute api with required details “request_body” Read More »

the SOAP request body with the following XML details is “request_body”

API Operations Step-def the SOAP request body with the following XML details is “request_body” Keyword Given, When, And, Then Description Will parse soap body in string format in test data parser. Declaration Code Element Application Test Data Then the SOAP request body with the following XML details is ” NILL NILL A B Request_body_text { “scripts”:100,”status”:”passed”} 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. Table of contents Keyword Description Declaration Remarks Restriction

the SOAP request body with the following XML details is “request_body” Read More »

verify soap response body contains data is “response_body”

API Operations Step-def verify soap response body contains data is “response_body” Keyword Given, When, And, Then Description Will verify soap response with test data parser. Declaration Code Element Application Test Data Then verify soap response body contains data is “” NILL NILL A B Response_body_text “{ “”base64Screenshot””: null “”durationInSeconds””: 6.0031315 “”failureReason””: null “”name””: “”Then click on element “”acceptCookiesBtn”””” “”screenshotPath””: “”/executionData/switch_to_default_frame_SoliteraTA_Playground_542024102748/screenshot/executionwise/1712293114641_Line_1.png”” “”status””: “”Passed”” }” 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. Table of contents Keyword Description Declaration Remarks Restriction

verify soap response body contains data is “response_body” Read More »

verify response body having ending key is “<testdata_name>” contains value “<testdata_name>”

API Operations Step-def verify response body having starting key is “<testdata_name>” contains value “<testdata_name>” Keyword Given, When, And, Then Description Will verify response value of starting key. Declaration Code Element Application Test Data Then verify response body having starying value is “” contains value “” NILL NILL A B End_value_text passed 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. Table of contents Keyword Description Declaration Remarks Restriction

verify response body having ending key is “<testdata_name>” contains value “<testdata_name>” Read More »

verify response body having starting key is “<testdata_name>” contains value”<<testdata_name>>“

API Operations Step-def verify response body having starting value is “value_data” Keyword Given, When, And, Then Description will verify response value of starting key. Declaration Code Element Application Test Data Then verify response body having starying value is “” NILL NILL A B Start_value_text null 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. Table of contents Keyword Description Declaration Remarks Restriction

verify response body having starting key is “<testdata_name>” contains value”“ Read More »

remove key value pair from request body with key name as “string”

API Operations Step-def remove key value pair from request body with key name as “string” Keyword Given, When, And, Then Description Will remove value of the given keyword Declaration Code Element Application Test Data Then remove key value pair from request body with key name as “” NILL NILL A B Key_data_text base64Screenshot 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. Table of contents Keyword Description Declaration Remarks Restriction

remove key value pair from request body with key name as “string” Read More »

retrieve the value of key “key_data” from response and save as “value_data”

API Operations Step-def retrieve the value of key “key_data” from response and save as “value_data” Keyword Given, When, And, Then Description Will verify response body of starting keyword. Declaration Code Element Application Test Data Then retrieve the value of key “” from response and save as “” NILL NILL A B Key_data_text status Value_data_text passed 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. Table of contents Keyword Description Declaration Remarks Restriction

retrieve the value of key “key_data” from response and save as “value_data” Read More »

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

Choose your Operating System