<test-history test='Test 36'>
<OUTPUT test='Test 36'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Test 36'>
<stream:stream xmlns="jabber:client" id="12a70a50-4130-42cc-944d-036466564a55" xml:lang="en" from="test-d" version="1.0" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<INPUT test='Test 36'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><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><register xmlns="http://jabber.org/features/iq-register"/><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
</INPUT>
<OUTPUT test='Test 36'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Test 36'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9InFvYWRETFpuUUtTa1YyZDBDWkpkNFc3VCt0VEsrQTU3N1VjeDZjSXgiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Test 36'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0iYWxsLXhtcHAtdGVzdCIscmVhbG09InRlc3QtZCIsbm9uY2U9InFvYWRETFpuUUtTa1YyZDBDWkpkNFc3VCt0VEsrQTU3N1VjeDZjSXgiLG5jPTAwMDAwMDAxLGNub25jZT0iNHBZbTErNG4xQVNTUXdxZWpDZy91YWljV1VPZDB5S0FrckhtN01WcSIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT1iMjdhNzczMzYyMGIwNWVlYWZiYjgyZGI4NjMwYzRkNSxxb3A9YXV0aCxhdXRoemlkPSJhbGwteG1wcC10ZXN0Ig==</response>
</OUTPUT>
<INPUT test='Test 36'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD0yMmQ5OTdiMGVlNzE2Y2FiMzU5NDZmYmE5YmNiMTg3Zg==</success>
</INPUT>
<OUTPUT test='Test 36'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Test 36'>
<stream:stream xmlns="jabber:client" id="12a70a50-4130-42cc-944d-036466564a55" xml:lang="en" from="test-d" version="1.0" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<INPUT test='Test 36'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><register xmlns="http://jabber.org/features/iq-register"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Test 36'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Test 36'>
<iq type="result" to="all-xmpp-test@test-d/def-user-resource" id="bind1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>all-xmpp-test@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Test 36'>
<message type="chat" to="tester_1@srecv.test-d" id="ab00a">
<body>//genn 10</body>
</message>
</OUTPUT>
<INPUT test='Test 36'>
<message type="normal" to="all-xmpp-test@test-d/def-user-resource" id="ab00a" from="tester_1@srecv.test-d"><body>Completed 10</body><subject>Response</subject></message>
</INPUT>

</test-history>