<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 xmlns="jabber:component:accept" id="32acc708-2ea0-4634-bdeb-874e91134e5b" from="test.test-d" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<OUTPUT test='User Status 2 (c2s)'>
<handshake>cb15c73d9529bb18d7fa5a07f1b59d889e11ce16</handshake>
</OUTPUT>
<INPUT test='User Status 2 (c2s)'>
<handshake/>
</INPUT>
<OUTPUT test='User Status 2 (c2s)'>
<iq type="set" id="555" from="all-xmpp-test@test.test-d" to="test-d">
<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 type="error" id="555" to="all-xmpp-test@test.test-d" from="test-d"><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 type="auth" code="403"><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>