
Title
Create new category
Edit page index title
Edit category
Edit link
Redis (Remote Dictionary Server)
Redis (Remote Dictionary Server) is an open-source, in-memory data structure store that serves as a high-performance key-value database. It is designed to provide fast access to data by keeping it in memory, enabling quick retrieval and manipulation. Redis supports various data structures such as strings, hashes, lists, sets, and sorted sets, along with powerful features like data persistence, replication, pub/sub messaging, and built-in Lua scripting. It is widely used as a caching layer, message broker, and real-time data processing engine, offering simplicity, scalability, and versatility for a wide range of applications.
Redis integration
Description
<redisIntegration> - command for integration with Redis
Required parameters:
alias - unique name of the integration (e.g., "MY_REDIS")
enabled - a boolean flag to enable/disable integration (can be “true” or “false”)
host - specifies the hostname or IP address of the Redis server (e.g., “localhost”)
port - specifies the port number on which the Redis server is running (e.g., “6379”)
Redis command
Description
<redis> – command which is responsible for sending the Redis queries in testing scenarios
Required parameters:
comment
alias - unique name of the integration
file - specify a file name containing expected data or results
query - represents a Redis query or command that is to be executed against the Redis server
Optional parameters:
condition - condition according to which this test step will or won't be executed
threshold - parameter, where the maximum execution time of the command is defined (milliseconds), if the execution time is exceeded, the step will be defined as failed
Each query consists of the following arguments:
<command> - specifies the Redis command to be executed. Each query can contain only one <command> argument
<arg> - represents an argument for the Redis command, the number of <arg> in each query is unlimited and depends on the tasks that are solved when sending the query
It is possible to send several queries in each <redis> command:
Copyright © Knubisoft