SRANDMEMBER - 随机获取成员

Request/Response
随机返回集合中的一个或多个成员(不移除)。

Basic Info

Mode
Request/Response
Endianness
big-endian
Charset
utf8
Newline
default

Communicator

Connection Name
默认服务器

Request Parameter

Format
raw
Escape
No
Newline Style
CRLF
Charset
utf8
Text Template raw
*3
$11
SRANDMEMBER
${{skey.length}}
{{skey}}
${{length.length}}
{{length}}

Template Variables

skey
集合键名 skey001
length
正数:返回指定数量的不重复成员;负数:返回指定数量的成员(可能有重复) 1

Response Parser

Format
raw
Line Wrapping
No
Append Newline
No
Show Timestamp
No
Clear on Execute
No
Scroll to Bottom
No