<test-history test='Bosh 20'>
<OUTPUT test='Bosh 20'>
<body xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' xml:lang='en' rid='1216' content='text/xml; charset=utf-8' to='test-d' ver='1.6'/>
</OUTPUT>
<INPUT test='Bosh 20'>
<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='Bosh 20'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='Bosh 20'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9IndXZW9lMzhNeW1Zbkt3VHJZNWF1Y2MxZUxYK1VJTng1dk01VUI4VSsiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='Bosh 20'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0iYWxsLXhtcHAtdGVzdCIscmVhbG09InRlc3QtZCIsbm9uY2U9IndXZW9lMzhNeW1Zbkt3VHJZNWF1Y2MxZUxYK1VJTng1dk01VUI4VSsiLG5jPTAwMDAwMDAxLGNub25jZT0iR3J5WWNhOEthV08xcmhaOWMwZEd1bGJCbHNvS0FQcDg5SzZYTGQ4RiIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT02ZDQ1MTZlMDQ5NzE2NmU2NGEzMDMzNGY5NWY2OGFlOCxxb3A9YXV0aCxhdXRoemlkPSJhbGwteG1wcC10ZXN0Ig==</response>
</OUTPUT>
<INPUT test='Bosh 20'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD04MzI0YTdkY2I4MGU1ZWY3M2I5M2EyZTM3YWZhZGIyOA==</success>
</INPUT>
<OUTPUT test='Bosh 20'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Bosh 20'>
<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='Bosh 20'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Bosh 20'>
<iq to="all-xmpp-test@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>all-xmpp-test@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Bosh 20'>
<iq to="test-d" id="disco_1" type="get">
<query xmlns="http://jabber.org/protocol/disco#info"/></iq>
</OUTPUT>
<INPUT test='Bosh 20'>
<iq id="disco_1" from="test-d" type="result"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="server" name="Tigase ver. 4.2.0-b1720" type="im"/><feature var="http://jabber.org/protocol/disco#info"/><feature var="http://jabber.org/protocol/disco#items"/><feature var="http://jabber.org/protocol/commands"/><feature var="http://jabber.org/protocol/stats"/><feature var="jabber:iq:auth"/><feature var="jabber:iq:privacy"/><feature var="jabber:iq:private"/><feature var="jabber:iq:register"/><feature var="jabber:iq:version"/><feature var="jabber:iq:roster"/><feature var="jabber:iq:roster-dynamic"/><feature var="urn:ietf:params:xml:ns:xmpp-bind"/><feature var="urn:ietf:params:xml:ns:xmpp-sasl"/><feature var="urn:ietf:params:xml:ns:xmpp-session"/><feature var="urn:xmpp:ping"/><feature var="vcard-temp"/></query></iq>
</INPUT>
<OUTPUT test='Bosh 20'>
<iq to="test-d" id="disco_2" type="get">
<query xmlns="http://jabber.org/protocol/disco#items"/></iq>
</OUTPUT>
<INPUT test='Bosh 20'>
<iq id="disco_2" from="test-d" type="result"><query xmlns="http://jabber.org/protocol/disco#items"><item jid="basic-conf@test-d" name="Server configuration" node="config"/><item jid="ext-comp@test-d" name="XEP-0114"/><item jid="muc.test-d" name="Multi User Chat"/><item jid="pubsub.test-d" name="Publish-Subscribe"/><item jid="test-d" name="Remove command script" node="http://jabber.org/protocol/admin#del-script"/><item jid="test-d" name="Short description" node="http://jabber.org/protocol/admin#new-command"/><item jid="test-d" name="New command script" node="http://jabber.org/protocol/admin#add-script"/><item jid="test-d" name="Update user roster entry, extended version." node="http://jabber.org/protocol/admin#user-roster-management-ext"/><item jid="srecv.test-d" name="Stanza Receiver"/><item jid="stats@test-d" name="Server statistics" node="stats"/><item jid="vhost-man@test-d" name="VHosts Manager"/></query></iq>
</INPUT>

</test-history>