<test-history test='Test 34'>
<OUTPUT test='Test 34'>
<stream:stream xmlns='jabber:component:accept' xmlns:stream='http://etherx.jabber.org/streams' to='test.test-d'> 
</OUTPUT>
<INPUT test='Test 34'>
<stream:stream xmlns="jabber:component:accept" id="46f57ecc-8151-412e-8aaf-0c2afa33b4e3" from="test.test-d" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<OUTPUT test='Test 34'>
<handshake>b1dd90c14615bdb06ae479304534ba7bda01a99f</handshake>
</OUTPUT>
<INPUT test='Test 34'>
<handshake/>
</INPUT>
<OUTPUT test='Test 34'>
<iq type="set" to="test-d" id="555" from="all-xmpp-test@test.test-d">
<command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS">
<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='Test 34'>
<iq type="error" to="all-xmpp-test@test.test-d" id="555" from="test-d"><command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS">
<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 xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Only trusted entity can do it.</text></error></iq>
</INPUT>

</test-history>