<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 xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" from="test.test-d" id="9b1f00ac-8440-4777-995d-446465705015"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<handshake>0bd28aa50b095ae8b17d2a98b71fa6083dfade05</handshake>
</OUTPUT>
<INPUT test='User Status 1 (c2s)'>
<handshake/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq to="test-d" from="admin@test.test-d" id="111" type="set">
<command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS">
<x xmlns="jabber:x:data" type="submit">
<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" from="test-d" id="111" type="result"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq to="test-d" from="admin@test.test-d" id="333" type="set">
<command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS">
<x xmlns="jabber:x:data" type="submit">
<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" from="test-d" id="333" type="result"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq to="test-d" from="admin@test.test-d" id="444" type="set">
<command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS">
<x xmlns="jabber:x:data" type="submit">
<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" from="test-d" id="444" type="error"><command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS">
<x xmlns="jabber:x:data" type="submit">
<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>