<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="946d0c0f-117e-46a4-8675-8e6dcce57624" from="test.test-d" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:component:accept"/>
</INPUT>
<OUTPUT test='User Status 2 (c2s)'>
<handshake>8133c0061022e6e5a0e42ad5622c5df8792a1a18</handshake>
</OUTPUT>
<INPUT test='User Status 2 (c2s)'>
<handshake/>
</INPUT>
<OUTPUT test='User Status 2 (c2s)'>
<iq id="555" from="all-xmpp-test@test.test-d" to="test-d" type="set">
<command node="USER_STATUS" xmlns="http://jabber.org/protocol/commands">
<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 id="555" from="test-d" to="all-xmpp-test@test.test-d" type="error"><command node="USER_STATUS" xmlns="http://jabber.org/protocol/commands">
<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 xml:lang="en" xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Only trusted entity can do it.</text></error></iq>
</INPUT>

</test-history>