<test-history test='Basic 12 (bosh-keep-alive)'>
<OUTPUT test='Basic 12 (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 12 (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 12 (bosh-keep-alive)'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsbC14bXBwLXRlc3QAYWxsLXhtcHAtdGVzdC1wYXNzd29yZA==</auth>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<stream:features xmlns="jabber:client"><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/><register xmlns="http://jabber.org/features/iq-register"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="bind1" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" 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='Basic 12 (bosh-keep-alive)'>
<iq id="roster_1" type="get">
<query xmlns="jabber:iq:roster"/></iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_1" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="tig3" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set"><query xmlns="jabber:iq:roster"><item name="dynrost" subscription="both" jid="dynrost@test-d"><group>test group</group></item></query></iq>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="tig3" type="result"/>
</OUTPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_2" type="set">
<query xmlns="jabber:iq:roster">
<item name="claus" jid="Santa.Claus@north.pole"/></query></iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="rsttig4" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set"><query ver="63c4b413ac6427886eb086952ab95e2a" xmlns="jabber:iq:roster"><item name="claus" subscription="none" jid="Santa.Claus@north.pole"/></query></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_2" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result"/>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_3" type="get">
<query xmlns="jabber:iq:roster"/></iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_3" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"><item name="claus" subscription="none" jid="Santa.Claus@north.pole"/></query></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="tig5" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set"><query xmlns="jabber:iq:roster"><item name="dynrost" subscription="both" jid="dynrost@test-d"><group>test group</group></item></query></iq>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_4" type="set">
<query xmlns="jabber:iq:roster">
<item name="claus" jid="Santa.Claus@north.pole">
<group>guests</group></item></query></iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="rsttig6" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set"><query ver="9c3be7261db7e723993adc4d20472663" xmlns="jabber:iq:roster"><item name="claus" subscription="none" jid="Santa.Claus@north.pole"><group>guests</group></item></query></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_4" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result"/>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_5" type="get">
<query xmlns="jabber:iq:roster"/></iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_5" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"><item name="claus" subscription="none" jid="Santa.Claus@north.pole"><group>guests</group></item></query></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="tig7" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set"><query xmlns="jabber:iq:roster"><item name="dynrost" subscription="both" jid="dynrost@test-d"><group>test group</group></item></query></iq>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_6" type="set">
<query xmlns="jabber:iq:roster">
<item name="claus" subscription="remove" jid="santa.claus@north.pole"/></query></iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="rsttig8" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set"><query ver="97e5a577fe7db87dfd2faed200c51444" xmlns="jabber:iq:roster"><item subscription="remove" jid="santa.claus@north.pole"/></query></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_6" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result"/>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_7" type="get">
<query xmlns="jabber:iq:roster"/></iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="roster_7" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result"><query xmlns="jabber:iq:roster"/></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq id="tig9" to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set"><query xmlns="jabber:iq:roster"><item name="dynrost" subscription="both" jid="dynrost@test-d"><group>test group</group></item></query></iq>
</INPUT>

</test-history>