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

SoliteraTA

API Operations Step-def

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

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

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

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
				
					
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
  1. The “String Value” that is used through test data file should be in angular brackets.
  2. We can use any variable name
Restriction
  1. 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
  2. Call sequencing- It is also a challenge as every call must appear in a specific order to ensure the system works correctly.

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