<test-history test='User Status 1 (c2s)'>
<OUTPUT test='User Status 1 (c2s)'>
<stream:stream xmlns='jabber:component:accept' xmlns:stream='http://etherx.jabber.org/streams' to='test.test-d'> 
</OUTPUT>
<INPUT test='User Status 1 (c2s)'>
<stream:stream id="4eff51ae-7378-427c-a0d8-5a22bf75fade" xmlns:stream="http://etherx.jabber.org/streams" from="test.test-d" xmlns="jabber:component:accept"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<handshake>4b73218d26c5074c993d37b83c041e2de6b2177d</handshake>
</OUTPUT>
<INPUT test='User Status 1 (c2s)'>
<handshake/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq to="test-d" id="111" type="set" from="admin@test.test-d">
<command node="USER_STATUS" xmlns="http://jabber.org/protocol/commands">
<x type="submit" xmlns="jabber:x:data">
<field var="jid">
<value>all-xmpp-test@test-d/def-user-resource</value>
</field>
<field var="available">
<value>true</value>
</field>
</x>
</command>
</iq>
</OUTPUT>
<INPUT test='User Status 1 (c2s)'>
<iq to="admin@test.test-d" id="111" type="result" from="test-d"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq to="test-d" id="333" type="set" from="admin@test.test-d">
<command node="USER_STATUS" xmlns="http://jabber.org/protocol/commands">
<x type="submit" xmlns="jabber:x:data">
<field var="jid">
<value>all-xmpp-test@test-d/def-user-resource</value>
</field>
<field var="available">
<value>false</value>
</field>
</x>
</command>
</iq>
</OUTPUT>
<INPUT test='User Status 1 (c2s)'>
<iq to="admin@test.test-d" id="333" type="result" from="test-d"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq to="test-d" id="444" type="set" from="admin@test.test-d">
<command node="USER_STATUS" xmlns="http://jabber.org/protocol/commands">
<x type="submit" xmlns="jabber:x:data">
<field var="jid">
<value>all-xmpp-test@test-d/def-user-resource</value>
</field>
<field var="available">
<value>false</value>
</field>
</x>
</command>
</iq>
</OUTPUT>
<INPUT test='User Status 1 (c2s)'>
<iq to="admin@test.test-d" id="444" type="error" from="test-d"><command node="USER_STATUS" xmlns="http://jabber.org/protocol/commands">
<x type="submit" xmlns="jabber:x:data">
<field var="jid">
<value>all-xmpp-test@test-d/def-user-resource</value>
</field>
<field var="available">
<value>false</value>
</field>
</x>
</command><error code="404" type="cancel"><item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xml:lang="en" xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">The user resource you want to remove does not exist.</text></error></iq>
</INPUT>

</test-history>