<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="ffce4cce-7cc6-4a67-9f12-a01d2fdcd50f" xmlns:stream="http://etherx.jabber.org/streams" from="test.test-d" xmlns="jabber:component:accept"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<handshake>53569c0ce32f1a58e4fb9a1bb24b77e82d42202a</handshake>
</OUTPUT>
<INPUT test='User Status 1 (c2s)'>
<handshake/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq type="set" id="111" to="test-d" 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 type="result" id="111" to="admin@test.test-d" from="test-d"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq type="set" id="333" to="test-d" 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 type="result" id="333" to="admin@test.test-d" from="test-d"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq type="set" id="444" to="test-d" 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 type="error" id="444" to="admin@test.test-d" 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 type="cancel" code="404"><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>