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

</test-history>