<test-history test='User Status 2 (c2s)'>
<OUTPUT test='User Status 2 (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 2 (c2s)'>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:component:accept" from="ext-cmp-test.test-d" id="bb662dbd-e53c-4c5a-a7e7-b81702929a50"/>
</INPUT>
<OUTPUT test='User Status 2 (c2s)'>
<handshake>624176c831dd47d5d7e00bb7b5f9a9bf67eb9211</handshake>
</OUTPUT>
<INPUT test='User Status 2 (c2s)'>
<handshake/>
</INPUT>
<OUTPUT test='User Status 2 (c2s)'>
<iq to="test-d" from="all-xmpp-test@ext-cmp-test.test-d" id="555" type="set">
<command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS">
<x xmlns="jabber:x:data" type="submit">
<field var="jid">
<value>admin@test-d/def-user-resource</value>
</field>
<field var="available">
<value>true</value>
</field>
</x>
</command>
</iq>
</OUTPUT>
<INPUT test='User Status 2 (c2s)'>
<iq to="all-xmpp-test@ext-cmp-test.test-d" id="555" 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>admin@test-d/def-user-resource</value></field><field var="available">
<value>true</value></field></x></command><error code="403" type="auth"><forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Only trusted entity can do it.</text></error></iq>
</INPUT>

</test-history>