<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"><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>SCRAM-SHA-1</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></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"><register xmlns="http://jabber.org/features/iq-register"/><csi xmlns="urn:xmpp:csi:0"/><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></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 to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" 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='Basic 12 (bosh-keep-alive)'>
<iq type="get" id="roster_1">
<query xmlns="jabber:iq:roster"/>
</iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="roster_1"><query xmlns="jabber:iq:roster"/></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set" id="tig3"><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 type="result" id="tig3"/>
</OUTPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq type="set" id="roster_2">
<query xmlns="jabber:iq:roster">
<item name="claus" jid="Santa.Claus@north.pole"/>
</query>
</iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set" id="rsttig4"><query xmlns="jabber:iq:roster" ver="df58fd0385eb4088a4bb46dff2599862"><item name="claus" subscription="none" jid="Santa.Claus@north.pole"/></query></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="roster_2"/>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq type="get" id="roster_3">
<query xmlns="jabber:iq:roster"/>
</iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="roster_3"><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 to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set" id="tig5"><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 type="set" id="roster_4">
<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 to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set" id="rsttig6"><query xmlns="jabber:iq:roster" ver="d41d8aa90b6cbe60e221cf80ecc0a4fd"><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 to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="roster_4"/>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq type="get" id="roster_5">
<query xmlns="jabber:iq:roster"/>
</iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="roster_5"><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 to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set" id="tig7"><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 type="set" id="roster_6">
<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 to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set" id="rsttig8"><query xmlns="jabber:iq:roster" ver="2d2c572c8382f473618c331fa9ae9de6"><item subscription="remove" jid="santa.claus@north.pole"/></query></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="roster_6"/>
</INPUT>
<OUTPUT test='Basic 12 (bosh-keep-alive)'>
<iq type="get" id="roster_7">
<query xmlns="jabber:iq:roster"/>
</iq>
</OUTPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="roster_7"><query xmlns="jabber:iq:roster"/></iq>
</INPUT>
<INPUT test='Basic 12 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="set" id="tig9"><query xmlns="jabber:iq:roster"><item name="dynrost" subscription="both" jid="dynrost@test-d"><group>test group</group></item></query></iq>
</INPUT>

</test-history>