<test-history test='Basic 21 (bosh-keep-alive)'>
<OUTPUT test='Basic 21 (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 21 (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 21 (bosh-keep-alive)'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsbC14bXBwLXRlc3QAYWxsLXhtcHAtdGVzdC1wYXNzd29yZA==</auth>
</OUTPUT>
<INPUT test='Basic 21 (bosh-keep-alive)'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='Basic 21 (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 21 (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 21 (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 21 (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 21 (bosh-keep-alive)'>
<iq type="get" id="ticket431_1">
<query xmlns="jabber:iq:roster"/>
</iq>
</OUTPUT>
<INPUT test='Basic 21 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="ticket431_1"><query xmlns="jabber:iq:roster"/></iq>
</INPUT>
<INPUT test='Basic 21 (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 21 (bosh-keep-alive)'>
<iq type="result" id="tig3"/>
</OUTPUT>
<OUTPUT test='Basic 21 (bosh-keep-alive)'>
<iq type="set" id="ticket431_2">
<query xmlns="jabber:iq:roster">
<item name="&quot;claus&quot;" jid="Santa.Claus@north.pole"/>
</query>
</iq>
</OUTPUT>
<INPUT test='Basic 21 (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="&quot;claus&quot;" subscription="none" jid="Santa.Claus@north.pole"/></query></iq>
</INPUT>
<INPUT test='Basic 21 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="ticket431_2"/>
</INPUT>
<OUTPUT test='Basic 21 (bosh-keep-alive)'>
<iq type="get" id="ticket431_3">
<query xmlns="jabber:iq:roster"/>
</iq>
</OUTPUT>
<INPUT test='Basic 21 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="ticket431_3"><query xmlns="jabber:iq:roster"><item name="&quot;claus&quot;" subscription="none" jid="Santa.Claus@north.pole"/></query></iq>
</INPUT>
<INPUT test='Basic 21 (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 21 (bosh-keep-alive)'>
<iq type="set" id="ticket431_6">
<query xmlns="jabber:iq:roster">
<item name="&quot;claus&quot;" subscription="remove" jid="santa.claus@north.pole"/>
</query>
</iq>
</OUTPUT>
<INPUT test='Basic 21 (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="4fd7a526995175b41fcb0093d927a4f7"><item subscription="remove" jid="santa.claus@north.pole"/></query></iq>
</INPUT>
<INPUT test='Basic 21 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="ticket431_6"/>
</INPUT>
<OUTPUT test='Basic 21 (bosh-keep-alive)'>
<iq type="get" id="ticket431_7">
<query xmlns="jabber:iq:roster"/>
</iq>
</OUTPUT>
<INPUT test='Basic 21 (bosh-keep-alive)'>
<iq to="all-xmpp-test@test-d/def-user-resource" xmlns="jabber:client" type="result" id="ticket431_7"><query xmlns="jabber:iq:roster"/></iq>
</INPUT>
<INPUT test='Basic 21 (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>

</test-history>