Nexial Automation

Test Automation Platform for everyone!

X

redis » assertKeyExists(profile,key)

Description

This command is used to assert if the given key exists in the database.

Parameters

  • profile - is the profile name with which redis database connection details are defined. (Refer here to know how to define profile)
  • key - is the key that is to be asserted if it exists in the given database.

Example

Script:

Output:

See Also