"EXECUTE_REST" Command

Description: This command is used to make a call to a REST end point to perform a request without the need to verify the response.

Usage Scenario: Suppose we want to update a profile through a REST API which includes updating a birthday, city, country, or any other data.

Procedure: Define Set_Var steps that contain the information you want to update in variables. For example, a Set_Var step with variable name “city” has a value of "New York City". Additionally, you can define a Set_Var step that contains the User ID you are trying to update and enter the variable name preceded by @ in your REST connection.

REST Connection URL example where @id uses a variable defined in a Set_Var step

image-20240605-151955.png

Your steps will look like this:

image-20240605-152115.png

See the Test Library path: subject7_samples/subject7_intermediate_suite/subject7_update_profile_using_rest