<test-history test='Multi-test end'>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="5036c17c-0e7a-4287-8c8b-73332fca948b" xmlns="jabber:client"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="e848a84b-14d9-41ad-9d8b-614887965d90" xmlns="jabber:client"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="1c7dd701-d0ee-40e1-bfa1-e453c5672d7d" xmlns="jabber:client"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="633e3b5a-aaab-4ccd-946b-b6d42a4ee6eb" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9InNyQStTSld0UWFad01acmk1NnNReERLejg2T3Y4c21Ldml0aGdGSmgiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzNfMCIscmVhbG09InRlc3QtZCIsbm9uY2U9InNyQStTSld0UWFad01acmk1NnNReERLejg2T3Y4c21Ldml0aGdGSmgiLG5jPTAwMDAwMDAxLGNub25jZT0iTG41SU0rMXlZalZ4cDczRVNtM240NzJ1L1U1cG42ZElwSkRZRk5pNCIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT0wMWJiNTQ2YmQ1MTc2ZWIxYmY0ODcxNTJiMTJlMmZmMCxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfM18wIg==</response>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9IlorbUJrK1NZb2U4UXRhNGNPL2gvUWxSWlh1Rk5oRjNqMm5CRGM0Q1kiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9Im40OUVTUFZoWW1GNzdqSzNFeVA4OWl1dzlCSDRLYUhRa0tvZHVIZ0EiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzRfMCIscmVhbG09InRlc3QtZCIsbm9uY2U9IlorbUJrK1NZb2U4UXRhNGNPL2gvUWxSWlh1Rk5oRjNqMm5CRGM0Q1kiLG5jPTAwMDAwMDAxLGNub25jZT0iMEtHU2E5L0hOeFMzNnkwdzRRQ2xheEh5MjlsQzdnRWhiTGtXaitEZyIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT05YWFmZWQyZGIzYTgxMmU2NGI3N2Y1ZDJjZTA0M2M5MSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfNF8wIg==</response>
</OUTPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzJfMCIscmVhbG09InRlc3QtZCIsbm9uY2U9Im40OUVTUFZoWW1GNzdqSzNFeVA4OWl1dzlCSDRLYUhRa0tvZHVIZ0EiLG5jPTAwMDAwMDAxLGNub25jZT0ibHc2Nk91S29BVk9Qd3gzeDNkWHBYbzc5aTlDYkVzQ1lDbTlSYUZnTSIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT04NzQ3ODk5MzJlNzZiYmYyZjQ5NWIzM2YyYzQzZTcxNSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfMl8wIg==</response>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9IjM4R1RxeTBQcTkrUVV0bm9iNE5MZlN3b001SDh3NTZtNm82Vnl1Si8iLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzFfMCIscmVhbG09InRlc3QtZCIsbm9uY2U9IjM4R1RxeTBQcTkrUVV0bm9iNE5MZlN3b001SDh3NTZtNm82Vnl1Si8iLG5jPTAwMDAwMDAxLGNub25jZT0iaCtVeHR0akVGazdkTHFHR3NldTlMMS90QkU1TG91YW1nRTZ5bkVWdSIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT00ZDIwYTQyNjQzMTRmYTg1NWUwYmNiYzllNjE4NmU4Yixxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfMV8wIg==</response>
</OUTPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="ce501139-6084-4904-9cc0-b865e37b6fb4" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD02NTRlNDI1ODZjZTMxYjg2ZDBkYzBjOGExMWMwNzNiOA==</success>
</INPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD02MGM3Yzc2NTZiM2I5YTVmNDA1NTRlMTMzMjdkZWE3Yg==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9ImpPZUErWUdWZWx0MkVkVzkveFk4SS92ekJMeXNIVzVXbDlvUGNUcHAiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1mMTgxODgxMzY5OTM1ZjY1ZjZkZGZiODZmYzU1YjJmNQ==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzVfMCIscmVhbG09InRlc3QtZCIsbm9uY2U9ImpPZUErWUdWZWx0MkVkVzkveFk4SS92ekJMeXNIVzVXbDlvUGNUcHAiLG5jPTAwMDAwMDAxLGNub25jZT0iS21HZFlqMFIxZWJ5RWtlNlAxcDdwaFRaMDk3SDRvbnBKOEV4ZGkyRiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT1kZjQxZTEwMTY4NjVkMTA5NTY1MjczM2UxNjNmY2UwMixxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfNV8wIg==</response>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="1c7dd701-d0ee-40e1-bfa1-e453c5672d7d" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="633e3b5a-aaab-4ccd-946b-b6d42a4ee6eb" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="e848a84b-14d9-41ad-9d8b-614887965d90" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_3_0@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_3_0@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_3_0@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_2_0@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_2_0@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_2_0@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_4_0@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_4_0@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_4_0@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_2_0@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="b27a185c-14bc-49da-bd9e-afec379bc730" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9ImlrOGhzR2E3T1pLV0NUWE1hNnIzR3JMczJ3dnE3R3BET00veTU2NnIiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzJfMSIscmVhbG09InRlc3QtZCIsbm9uY2U9ImlrOGhzR2E3T1pLV0NUWE1hNnIzR3JMczJ3dnE3R3BET00veTU2NnIiLG5jPTAwMDAwMDAxLGNub25jZT0ibFo2R00yTGtCOUliSkhpYzR0RWhNSjU4VzVhTUhDYURFWDlVc0N0NSIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT02MTJiNTk1ZThhZGNmNzA2YTBmYWIwODE4MTc1YWMwMyxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfMl8xIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_3_0@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="4558f5c7-ba10-4b99-9f6b-7a455862e847" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1mYjNiZmE0ZmRlMGUwYTdlYzNhZTRmYzE2MTUxMDA4NA==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="5036c17c-0e7a-4287-8c8b-73332fca948b" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_1_0@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_1_0@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_1_0@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9ImtXR0FhNVpuQzg2MFd5dmM0ZFN5SndsZldnb2RSSDgwVEk4YXpKVWciLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzNfMSIscmVhbG09InRlc3QtZCIsbm9uY2U9ImtXR0FhNVpuQzg2MFd5dmM0ZFN5SndsZldnb2RSSDgwVEk4YXpKVWciLG5jPTAwMDAwMDAxLGNub25jZT0iaXRMUlAyWXN6THNiNHJwVW5STER0TklWSHF0SThnbFdCaFEyZnhQYiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT0yMGEzMDBmNjgxZWVkM2ZhN2Y2N2I4MmE4MjE3YTVhMCxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfM18xIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_4_0@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD0zMDdjNGYxYTMyYmNmNDFkODQwZGFhZGM3OTcwOTMyMg==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="ce501139-6084-4904-9cc0-b865e37b6fb4" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="0ba75223-a7d4-4371-b384-edb09650bf62" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_5_0@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_5_0@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_5_0@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9Im5IenkraUNYamMwQTYwU0c3dlVwa002dU1kZlJsZnA2cG1NcTE3bWEiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzRfMSIscmVhbG09InRlc3QtZCIsbm9uY2U9Im5IenkraUNYamMwQTYwU0c3dlVwa002dU1kZlJsZnA2cG1NcTE3bWEiLG5jPTAwMDAwMDAxLGNub25jZT0iWHRWOVlTREdQWVNyS0FzbUFRYmdkTkJnd2EyUVk2UTY5UnVrSVlVaiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT0wMmIxMzc5YjhhNGZkOWM5MGIzNTg0NmUzMGEzNDI3Nyxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfNF8xIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_1_0@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="807b84a5-d17b-46f9-bcb0-3677a74c2f5b" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9Ik5qNk9GQ0tmTURFc1FnYWNPejd4dVRyampUbHV2SVkvSkVEMHZuVXgiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzFfMSIscmVhbG09InRlc3QtZCIsbm9uY2U9Ik5qNk9GQ0tmTURFc1FnYWNPejd4dVRyampUbHV2SVkvSkVEMHZuVXgiLG5jPTAwMDAwMDAxLGNub25jZT0iNGpzQXI2WFkzcnJscUlST1NLSUhkNlZ5MUpIcHRLNHNzOUdlTTB6SCIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT00YzI3ZWMzNGE0Y2Q3ZWUwZTExMTA1NDMyZjM2NjIxOCxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfMV8xIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_5_0@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD01ZWNlODFlZWU3MDMzN2U3OGY2ODZmOTRhMTMyYWM3Yw==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="b27a185c-14bc-49da-bd9e-afec379bc730" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="18bab4f6-c123-4030-8c81-cb14716cc411" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_2_1@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_2_1@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_2_1@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9IkNRZ2NZMVplS2RZNDkycTEvSmY4Q25OQzdiMGtyMTJNQ1A3dEJBaGIiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzVfMSIscmVhbG09InRlc3QtZCIsbm9uY2U9IkNRZ2NZMVplS2RZNDkycTEvSmY4Q25OQzdiMGtyMTJNQ1A3dEJBaGIiLG5jPTAwMDAwMDAxLGNub25jZT0ieWdGRmN0UlNlVWlkb2htTTNKWlM1NGlFenFxeDE1TmFHYmorVE5maiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT1iYzYxMjQ2Njc0NDQ0NTYxYTAyODM1OWUwYmRlYzU1MSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfNV8xIg==</response>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD01NTdkYjFiNmMxYWIwNzZlNTZjNWRiMWJjZDIwOGM3OA==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="0ba75223-a7d4-4371-b384-edb09650bf62" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1jMmM4NDlhNzAzNDZiNzIzZjE1YWUxMjVjY2I5MTQ5ZQ==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="807b84a5-d17b-46f9-bcb0-3677a74c2f5b" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<iq to="multi-reg_4_1@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_4_1@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_4_1@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_1_1@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_1_1@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_1_1@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_2_1@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD05MWI5NjIyMDZkNDU1YWJhYmM2MmVlMjRiY2QzMjk4NA==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="4558f5c7-ba10-4b99-9f6b-7a455862e847" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="e983bcb5-8bc1-4e08-a0f9-39554386b849" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_3_1@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_3_1@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_3_1@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9ImxVRGpzaHNROWtpbFF2VU8zbmE5VThDZ0lvWVZpR2NqNndvQVVrbzMiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzJfMiIscmVhbG09InRlc3QtZCIsbm9uY2U9ImxVRGpzaHNROWtpbFF2VU8zbmE5VThDZ0lvWVZpR2NqNndvQVVrbzMiLG5jPTAwMDAwMDAxLGNub25jZT0ibUI2dmsvRW9aSm91aHJPOWJGd1BBSUs3U0wyS3orRm0zQTJNRlRkVSIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT1kMmZlYTk2ZWNkNzFiNWEyNzY0NmU0NmY2NzlmYTkwYSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfMl8yIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_1_1@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="85b74eae-6864-4ed6-a34f-c071c581b935" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9Im55RWxwalI2TDBmcW9KdG1CWlhIUFdlU2dPMlErR1VUR0craEM0azciLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzFfMiIscmVhbG09InRlc3QtZCIsbm9uY2U9Im55RWxwalI2TDBmcW9KdG1CWlhIUFdlU2dPMlErR1VUR0craEM0azciLG5jPTAwMDAwMDAxLGNub25jZT0iZCtab21xSVk5UVpWRUcvcmRvZmZFSDMrTC80NXU0WXpjWEJSSnV2YiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT1hZmNjOTI2MzAxNWExMDljMjI3YTA3OTllOGQ3NzAzMyxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfMV8yIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_4_1@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD0yZTMxOGY1OTAzZGFmMWI4NmMyOTJkMzdiZGUyMTY0MA==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD03YjFjNjgzNDgzYWM0Mzg3MWI0ODYzMmI4ZjQ1Y2QzMg==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="18bab4f6-c123-4030-8c81-cb14716cc411" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="29c6e891-c21f-495d-b0e4-d32ebb0fdcc4" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="85b74eae-6864-4ed6-a34f-c071c581b935" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_1_2@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_1_2@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_1_2@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_5_1@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_5_1@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_5_1@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9InZSU1BBd3hRTzdHZ2pvdU5JM0UvVWhRdkIyTTFKWU5BVGFDRFRHTEQiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzRfMiIscmVhbG09InRlc3QtZCIsbm9uY2U9InZSU1BBd3hRTzdHZ2pvdU5JM0UvVWhRdkIyTTFKWU5BVGFDRFRHTEQiLG5jPTAwMDAwMDAxLGNub25jZT0iUTFaR0FEdXlRQUJOYnAwNGZZeVVVOVdJWjI4Q3VPc1RLVjFsWHo0ZiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT0yM2ZjNTFiZjMwODlhM2QwZDBjODk0M2ZjZmQ3NWNhYSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfNF8yIg==</response>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD02MTg2N2ZmY2QzN2Q1MzNlMTYwZjhjYzVkZDlhYjI3Zg==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="e983bcb5-8bc1-4e08-a0f9-39554386b849" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_2_2@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_2_2@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_2_2@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_3_1@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="83cbc3e3-a323-41bd-9923-27bb66606575" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9IkJZVWlBOVlJTHFIOFB3dmp4QU9vS0kraTVEM0hkU2d6aCtHeDYvQ0ciLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzNfMiIscmVhbG09InRlc3QtZCIsbm9uY2U9IkJZVWlBOVlJTHFIOFB3dmp4QU9vS0kraTVEM0hkU2d6aCtHeDYvQ0ciLG5jPTAwMDAwMDAxLGNub25jZT0iQ29QK1NGU1p1emdJSHUxV3ljRjRZVmpGYXVFVEthNXVCZ3hidXJEaiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT04NGY4ZWFmNGI5MjFmYmUwNTcyZTM3OGNhMGExZGI4Myxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfM18yIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_1_2@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="4b28054f-5f33-4f18-9d55-5e0f0be07690" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9IlZHdmlCaDBIRE1vbEZkUWNsQlp0dG53TGx2SENWdGdSRmhuZmdNVDYiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzFfMyIscmVhbG09InRlc3QtZCIsbm9uY2U9IlZHdmlCaDBIRE1vbEZkUWNsQlp0dG53TGx2SENWdGdSRmhuZmdNVDYiLG5jPTAwMDAwMDAxLGNub25jZT0iZVdkSWt1MXVpZkRvSzR3aFhsRXVtR1NhaFRpZHZwSDN2Y2FuclExcyIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT04MzE5YWJkNjFjMzEzOWIxOTQ5ZDFkMzJiYTMyNjA0OSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfMV8zIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_5_1@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="21217d04-15dd-4fc4-b87b-4661ba59b226" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9ImNjbUs5UEs5RlZjc20wbHF0MUZCdEpONlU5OFA2bWVBUWk2Y0V0ekIiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzVfMiIscmVhbG09InRlc3QtZCIsbm9uY2U9ImNjbUs5UEs5RlZjc20wbHF0MUZCdEpONlU5OFA2bWVBUWk2Y0V0ekIiLG5jPTAwMDAwMDAxLGNub25jZT0iRjNLdGIvNEczNGRKQ1RxMy9DcmRKWllRY2JWZVBkYStqMDgvWGZ4ZyIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT05NmJiM2U5YjBjZDQ2NGExNTIwMmJhMmY1ZDRhMTBiNixxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfNV8yIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_2_2@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="dfd84bae-d84f-4329-af1e-23649a95e76b" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD00NGQ4NmMxYmY4ZGVjYjljOTA2YTI1ZTA1YmY0M2M1OQ==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1iMTgyN2E2YzcwYzYwZDg0YzMyMWU4N2U3MjhmN2RiNA==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="83cbc3e3-a323-41bd-9923-27bb66606575" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9InZuc3Jjb0JvOERzczVGY29tcEtPUmVJY2IwNFJlVS9iKzduUG8wQjEiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzJfMyIscmVhbG09InRlc3QtZCIsbm9uY2U9InZuc3Jjb0JvOERzczVGY29tcEtPUmVJY2IwNFJlVS9iKzduUG8wQjEiLG5jPTAwMDAwMDAxLGNub25jZT0iZUZDeEdiWjVWeVNyczRheUlwVmhkNHJsaUFnZVdUV0ZmRUhqZW9pRiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT1mODRkZDMzZjE5MzliMjZlYjU2MGUwMTk1NDY5MGMxMyxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfMl8zIg==</response>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="29c6e891-c21f-495d-b0e4-d32ebb0fdcc4" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_3_2@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_3_2@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_3_2@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_4_2@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_4_2@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_4_2@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1jMzYwZDI2ODA2MTFjYTVjZGNjMTBiNGJmNWEwZGNmNg==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="4b28054f-5f33-4f18-9d55-5e0f0be07690" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_1_3@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_1_3@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_1_3@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_3_2@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="18f832f8-7481-46fa-9d4b-c4b02bd0c8e2" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD01N2Y1YjM5ODgyZjVjYWU4ZjIxMmRjNTRhZTRhMTMxNA==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="21217d04-15dd-4fc4-b87b-4661ba59b226" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9InhWMXY5UHphU3lDM2NYUlFpdytObW4rS2JtclMydnZMakMveW9sTXkiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzNfMyIscmVhbG09InRlc3QtZCIsbm9uY2U9InhWMXY5UHphU3lDM2NYUlFpdytObW4rS2JtclMydnZMakMveW9sTXkiLG5jPTAwMDAwMDAxLGNub25jZT0iV2grVDJwa1BCS01lOE9mcmRDK0pqOHUzN0p3ZHpmV1l3VlRnUjN6dCIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT1mOTU4MjlkYTI3ZGY3NTUxZjkyNjJmZmVlMzUzMmIwZixxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfM18zIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_4_2@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<INPUT test='Register'>
<iq to="multi-reg_5_2@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_5_2@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_5_2@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="5c4e66fa-4f95-4525-9e91-42a7890d4e9c" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD0xZDBjNmZlMGM4Mzk1YmRkOGJiNDkxZjcwZTQxZTJiOQ==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="dfd84bae-d84f-4329-af1e-23649a95e76b" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9ImZOTk41OG10M1VrTW1BbUlBY0tNSU41ZU5zN3NHeHl2dHN1T3Y0NWMiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzRfMyIscmVhbG09InRlc3QtZCIsbm9uY2U9ImZOTk41OG10M1VrTW1BbUlBY0tNSU41ZU5zN3NHeHl2dHN1T3Y0NWMiLG5jPTAwMDAwMDAxLGNub25jZT0iRHVuR2JyOVZPVjNQeUpRRWJUYW5BTzlReFRDQ2lycE44L0wvcEJIWiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT0wOTI4MDY0NWZiYjUwNDQ3NDBhMzEyNjA1NDNkNjVhMixxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfNF8zIg==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_2_3@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_2_3@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_2_3@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_1_3@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="1cea81d5-d01e-4be5-85bc-1efde52528c5" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9InF6TURNY29ydFRrMEV3RzRsZHNwZWVXRmFTRnBjR0tVTm5ZclR3MlIiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzFfNCIscmVhbG09InRlc3QtZCIsbm9uY2U9InF6TURNY29ydFRrMEV3RzRsZHNwZWVXRmFTRnBjR0tVTm5ZclR3MlIiLG5jPTAwMDAwMDAxLGNub25jZT0iZXVlb0tXNVowa1R3eWxMbWhGMU4xbG9VcTZhSGI0anZGRlppMUhpOSIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT03ZjI3NDIwZTcwOTQ2YzQ2ZWNlMGU0Y2Y3NjRiODcyOSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfMV80Ig==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_5_2@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="ec3df64f-d2b2-4a93-8b0e-8c9907b94187" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9InpHWllZN255NDZncFExQ1FOWmVhbEZodFh2WWFtYk5HSmJxNFFvS2QiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzVfMyIscmVhbG09InRlc3QtZCIsbm9uY2U9InpHWllZN255NDZncFExQ1FOWmVhbEZodFh2WWFtYk5HSmJxNFFvS2QiLG5jPTAwMDAwMDAxLGNub25jZT0iSTZ5WmpTQWg2VGE4R0lqVGJyK0RGUEhNVlEvejRWL2RvRGRUcUlBciIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT1kOTBhZDI1ZjIxNzc2ZGM2NzI2ZjBlNGJmMDA0MGY5ZSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfNV8zIg==</response>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD0zYTg3ZTkwODI5MmQwN2ZlNDgzMWEwNWE0OTZmZjJhMw==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="18f832f8-7481-46fa-9d4b-c4b02bd0c8e2" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_2_3@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_3_3@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_3_3@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="dce1a744-f866-4aa2-a7f8-3a6ad7c89877" xmlns="jabber:client"/>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_3_3@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9Ilp0ZldLem5kbWI3UUpFODM5VHZCdG9qQjM0dGhreTlxUjM5VWJyUk4iLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzJfNCIscmVhbG09InRlc3QtZCIsbm9uY2U9Ilp0ZldLem5kbWI3UUpFODM5VHZCdG9qQjM0dGhreTlxUjM5VWJyUk4iLG5jPTAwMDAwMDAxLGNub25jZT0idnQwbEg1KzdxS0lPVlRsNlhabTRTR3RuVFhPRHk5TmRnbDNQQXdGZiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT1lNWFjYTlmNGRhMDJlMDA5MWVkZGExNjhjYzQyMmMxNSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfMl80Ig==</response>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1jMzNhOWE3OTdiY2M5YmM1MDlmMzcxMTE3ZTdiNmIyNA==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_3_3@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="1cea81d5-d01e-4be5-85bc-1efde52528c5" xmlns="jabber:client"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="26236aab-26c5-4708-92c9-45a0abf63d14" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<iq to="multi-reg_1_4@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_1_4@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_1_4@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9IlFmRkV6OHdqREJpcERiQ2xFeHE3SkFKaFZDY0pSdG56TU9KUUJqRkciLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzNfNCIscmVhbG09InRlc3QtZCIsbm9uY2U9IlFmRkV6OHdqREJpcERiQ2xFeHE3SkFKaFZDY0pSdG56TU9KUUJqRkciLG5jPTAwMDAwMDAxLGNub25jZT0ib3N0S2tMTm81bjFGTlFmUDR0RS9hbExnMFlIV00xdEVuRE9uQW5iWiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT00NmVmODRiMzI0MTNmOTc5NjIwY2Q1ZTM0N2RlNmUxZixxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfM180Ig==</response>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1mNWM5NmM5NWI4ZThjMjE3NTEwODBkMGNmNDJjNjZiOQ==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="ec3df64f-d2b2-4a93-8b0e-8c9907b94187" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_1_4@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<INPUT test='Register'>
<iq to="multi-reg_5_3@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_5_3@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_5_3@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD0yYzIzNWIyMGY0OTJhZWU0NDE4ZWQyNjVkZWFhM2UwNg==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="dce1a744-f866-4aa2-a7f8-3a6ad7c89877" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_2_4@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_2_4@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_2_4@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_5_3@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD0zYmViZjVkMTFiMjI3ZWJjNWY4ODA2NGZhMjAzMTA0Zg==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="5c4e66fa-4f95-4525-9e91-42a7890d4e9c" xmlns="jabber:client"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="7e9d1e00-56ae-4896-b66b-6c95ef5ef787" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<iq to="multi-reg_4_3@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_4_3@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_4_3@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_2_4@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9InJWQ1F1aFczaFdGdlhKNHBSamJlVzZuNjczQWNna0luM0dKbVRseGIiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzVfNCIscmVhbG09InRlc3QtZCIsbm9uY2U9InJWQ1F1aFczaFdGdlhKNHBSamJlVzZuNjczQWNna0luM0dKbVRseGIiLG5jPTAwMDAwMDAxLGNub25jZT0iT0tEZlpSQytiZjVySlQ5MVVoRno5Z2VPRVcybFVLdmVOT0hNQm5pNiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT0yNTk4OWNjZTVmMGRmZGQxMzg3YzQwYmZkN2JhYTZmMSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfNV80Ig==</response>
</OUTPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1iN2JjMDY0Yzc0N2NjMTNiODc3YWVjOGU5Y2I5NmYzYg==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="26236aab-26c5-4708-92c9-45a0abf63d14" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_3_4@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_3_4@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_3_4@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_4_3@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="511a5100-278e-4075-bca6-1fb6c112c3a7" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<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><mechanism>ANONYMOUS</mechanism></mechanisms></stream:features>
</INPUT>
<OUTPUT test='Register'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Register'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9ImVaZGJvZmNnbWVsMDRtRUZiMEh4d0poQ09ObEFNTEZ3b2N0a3FzRXkiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Register'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0ibXVsdGktcmVnXzRfNCIscmVhbG09InRlc3QtZCIsbm9uY2U9ImVaZGJvZmNnbWVsMDRtRUZiMEh4d0poQ09ObEFNTEZ3b2N0a3FzRXkiLG5jPTAwMDAwMDAxLGNub25jZT0iTzlsUHhWYTA0aWdtNzE2Z2FYbThtcCtCUjV5bnRqeHNZVnhCOEx1WCIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT1kOWQ5NzIyYjcwM2NiNDE0OWU2NTI2YTQ3MDY2MjcxNSxxb3A9YXV0aCxhdXRoemlkPSJtdWx0aS1yZWdfNF80Ig==</response>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_3_4@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD01N2RiMjdhMjdiNWFkYmNhMTQ2ZWVhMzVjNGY0OTNmOQ==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="7e9d1e00-56ae-4896-b66b-6c95ef5ef787" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_5_4@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_5_4@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_5_4@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_5_4@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>
<INPUT test='Register'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD04YTNmYjM0MTg2ODYwZWRjYzcwMTc2OGVlMWM5ZTIyMA==</success>
</INPUT>
<OUTPUT test='Register'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Register'>
<stream:stream xml:lang="en" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" id="511a5100-278e-4075-bca6-1fb6c112c3a7" xmlns="jabber:client"/>
</INPUT>
<INPUT test='Register'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_4_4@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>multi-reg_4_4@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Register'>
<iq type='set' id='unreg1' from='multi-reg_4_4@test-d/def-user-resource'><query xmlns='jabber:iq:register'><remove/></query></iq>
</OUTPUT>
<INPUT test='Register'>
<iq to="multi-reg_4_4@test-d/def-user-resource" id="unreg1" type="result"/>
</INPUT>

</test-history>