Difference between revisions of "Client Test Cases"

Jump to navigation Jump to search
850 bytes added ,  13:59, 14 November 2019
Added XEP-0198
(Added XEP-0198)
Line 29: Line 29:
# MAM impersonation: a <message> from a remote JID containing a <result> with a wrapped <message>
# MAM impersonation: a <message> from a remote JID containing a <result> with a wrapped <message>
# Impersonation via XEP-0297 Stanza Forwarding: Similar to the MAM impersonation but with a top-level <forward> element. Clients are supposed to clearly indicate that a message has been forwarded. Misbehaving clients might instead show the forwarded message as if it came from that person. There's also zero guarantee that a forwarded message is not in fact a forgery.
# Impersonation via XEP-0297 Stanza Forwarding: Similar to the MAM impersonation but with a top-level <forward> element. Clients are supposed to clearly indicate that a message has been forwarded. Misbehaving clients might instead show the forwarded message as if it came from that person. There's also zero guarantee that a forwarded message is not in fact a forgery.
= Session Management =
# A client performs all session initation operations the correct order
# A client properly accepts a different resource than requested during binding, and responds to IQs sent to it
# Stream Management ([https://xmpp.org/extensions/xep-0198.html XEP-0198])
## A client resumes a session with the same session-id if disconnected without closing the XML stream
## A client submits the correct number of stanzas on resume, after it was fed with some messages, IQs, and other (non-stanza) stream elements
## A client aborts the resume if the server requests stanzas that already were ACKed before the connection loss (<resumed h> with a value smaller than in the last <a/> element)
## A client aborts the resume if the server less stanzas than the client (<resumed h> with a value significantly larger than what the client sent)


= Multi User Chats =
= Multi User Chats =

Navigation menu