2013-04-29 19:43:18 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
IMAP
|
2014-03-30 18:40:50 +08:00
|
|
|
Clear Text
|
2013-04-29 19:43:18 +08:00
|
|
|
STATUS
|
|
|
|
CUSTOMREQUEST
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2021-03-13 00:38:26 +08:00
|
|
|
* STATUS %TESTNUMBER (MESSAGES 231 UIDNEXT 44292)
|
2013-04-29 19:43:18 +08:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
imap
|
|
|
|
</server>
|
|
|
|
<name>
|
2013-09-14 17:36:12 +08:00
|
|
|
IMAP mailbox STATUS (CUSTOMREQUEST)
|
2013-04-29 19:43:18 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-13 00:38:26 +08:00
|
|
|
imap://%HOSTIP:%IMAPPORT -u user:secret -X 'STATUS %TESTNUMBER (UIDNEXT MESSAGES)'
|
2013-04-29 19:43:18 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
A001 CAPABILITY
|
|
|
|
A002 LOGIN user secret
|
2021-03-13 00:38:26 +08:00
|
|
|
A003 STATUS %TESTNUMBER (UIDNEXT MESSAGES)
|
2013-04-29 19:43:18 +08:00
|
|
|
A004 LOGOUT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|