<test-history test='Basic 5 (bosh)'>
<OUTPUT test='Basic 5 (bosh)'>
<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='Basic 5 (bosh)'>
<stream:features xmlns="jabber:client"><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>ANONYMOUS</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
</INPUT>
<OUTPUT test='Basic 5 (bosh)'>
<iq type='get' id='all-xmpp-test_1' to='test-d'><query xmlns='jabber:iq:auth'><username>all-xmpp-test</username></query></iq>
</OUTPUT>
<INPUT test='Basic 5 (bosh)'>
<iq xmlns="jabber:client" type="result" id="all-xmpp-test_1" from="test-d"><query xmlns="jabber:iq:auth"><username/><password/><resource/></query></iq>
</INPUT>
<OUTPUT test='Basic 5 (bosh)'>
<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>def-user-resource</resource></query></iq>
</OUTPUT>
<INPUT test='Basic 5 (bosh)'>
<iq xmlns="jabber:client" type="result" id="all-xmpp-test_2">Authentication successful.</iq>
</INPUT>

</test-history>