<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" id="5510d017-c478-4197-826a-752b869d1037" from="test.test-d" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<handshake>4a74298b30b18326ef905d6c5802960e40de8864</handshake>
</OUTPUT>
<INPUT test='User Status 1 (c2s)'>
<handshake/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq type="set" id="111" from="admin@test.test-d" to="test-d">
<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 type="result" id="111" to="admin@test.test-d" from="test-d"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq type="set" id="333" from="admin@test.test-d" to="test-d">
<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 type="result" id="333" to="admin@test.test-d" from="test-d"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq type="set" id="444" from="admin@test.test-d" to="test-d">
<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 type="error" id="444" to="admin@test.test-d" from="test-d"><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 type="cancel" code="404"><item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">The user resource you want to remove does not exist.</text></error></iq>
</INPUT>

</test-history>