Closed andrea-dintino closed 2 years ago
C
The statement:
Given I read from redis the data under the key 'temp' and save the output into 'redisResult'
looks for a key named "temp", if key doesn't exist, it returns an error.
The problem with this is, with the current scripts I use, I need to manually create the key in redis, before I can run the scripts.
Possible solution: instead of returning an error, it should return something like:
{ "redisResult": {""} }
C
The statement:
Given I read from redis the data under the key 'temp' and save the output into 'redisResult'
looks for a key named "temp", if key doesn't exist, it returns an error.
The problem with this is, with the current scripts I use, I need to manually create the key in redis, before I can run the scripts.
Possible solution: instead of returning an error, it should return something like: