OUTPUT: <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
INPUT: <stream:stream version="1.0" xml:lang="en" from="test-d" id="5c056eab-ebf3-4ce2-a921-ca7fbaec1b90" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams"/>
INPUT: <stream:features><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
OUTPUT: <iq type='get' id='all-xmpp-test_1' to='test-d'><query xmlns='jabber:iq:auth'><username>all-xmpp-test</username></query></iq>
INPUT: <iq type="result" from="test-d" id="all-xmpp-test_1"><query xmlns="jabber:iq:auth"><username/><password/><digest/><resource/></query></iq>
OUTPUT: <iq type='set' id='all-xmpp-test_2'><query xmlns='jabber:iq:auth'><username>all-xmpp-test</username><password>all-xmpp-test-password</password><resource>xmpp-test</resource></query></iq>
INPUT: <iq type="result" id="all-xmpp-test_2">Authentication successful.</iq>
OUTPUT: <iq to="test-d" id="ping123" type="get"><ping xmlns="urn:xmpp:ping"/></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" from="test-d" id="ping123"/>
OUTPUT: <iq to="test-domain" id="ping1234" type="get"><ping xmlns="urn:xmpp:ping"/></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" from="test-domain" id="ping1234"/>
