<test-history test='Test 33'>
<OUTPUT test='Test 33'>
<stream:stream xmlns='jabber:component:accept' xmlns:stream='http://etherx.jabber.org/streams' to='test.test.test-d'> 
</OUTPUT>
<INPUT test='Test 33'>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="test.test.test-d" id="c10a27ad-d2a3-4f53-843a-c0df5c5b1825" xmlns="jabber:component:accept"/>
</INPUT>
<OUTPUT test='Test 33'>
<handshake>29035507f3682844aff24212a0f7a66ba5d45f93</handshake>
</OUTPUT>
<INPUT test='Test 33'>
<handshake/>
</INPUT>
<OUTPUT test='Test 33'>
<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='Test 33'>
<iq to="admin@test.test-d" id="111" from="test-d" type="result"/>
</INPUT>
<OUTPUT test='Test 33'>
<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='Test 33'>
<iq to="admin@test.test-d" id="333" from="test-d" type="result"/>
</INPUT>
<OUTPUT test='Test 33'>
<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='Test 33'>
<iq to="admin@test.test-d" id="444" from="test-d" type="error"><command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS">
<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>