<test-history test='Basic 2 (bosh-keep-alive)'>
<OUTPUT test='Basic 2 (bosh-keep-alive)'>
<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 2 (bosh-keep-alive)'>
<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 2 (bosh-keep-alive)'>
<iq type='get' id='reg1'><query xmlns='jabber:iq:register'/></iq>
</OUTPUT>
<INPUT test='Basic 2 (bosh-keep-alive)'>
<iq xmlns="jabber:client" type="result" id="reg1"><query xmlns="jabber:iq:register"><instructions>Choose a user name and password for use with this service.Please provide also your e-mail address.</instructions><username/><password/><email/></query></iq>
</INPUT>
<OUTPUT test='Basic 2 (bosh-keep-alive)'>
<iq type='set' id='reg2'><query xmlns='jabber:iq:register'><username>user-register-name</username><password>user-register-pass</password><email>test_user@localhost</email></query></iq>
</OUTPUT>
<INPUT test='Basic 2 (bosh-keep-alive)'>
<iq xmlns="jabber:client" type="result" id="reg2"/>
</INPUT>

</test-history>