<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='ext-cmp-test.test-d'> 
</OUTPUT>
<INPUT test='User Status 1 (c2s)'>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:component:accept" from="ext-cmp-test.test-d" id="b9ad89bd-356b-4770-ad5f-1bccb6ad63d9"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<handshake>f8724e8671648858a2d8e73a7595884a2e3ed646</handshake>
</OUTPUT>
<INPUT test='User Status 1 (c2s)'>
<handshake/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq to="test-d" from="admin@ext-cmp-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@ext-cmp-test.test-d" id="111" from="test-d" type="result"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq to="test-d" from="admin@ext-cmp-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@ext-cmp-test.test-d" id="333" from="test-d" type="result"/>
</INPUT>
<OUTPUT test='User Status 1 (c2s)'>
<iq to="test-d" from="admin@ext-cmp-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@ext-cmp-test.test-d" id="444" from="test-d" 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 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>