<test-history test='AdminAdHoc s2s_3_1 (c2s)'>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="test-d" xml:lang="en" id="dbcdddd5-a0dd-4cff-ab62-3b8dcc22e8a7" version="1.0"/>
</INPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:features><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>SCRAM-SHA-1</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features>
</INPUT>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFkbWluAHN0YXRz</auth>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="test-d" xml:lang="en" id="dbcdddd5-a0dd-4cff-ab62-3b8dcc22e8a7" version="1.0"/>
</INPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><csi xmlns="urn:xmpp:csi:0"/><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
</INPUT>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq to="admin@test-d/def-user-resource" xmlns="jabber:client" type="result" id="bind1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>admin@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq to="s2s@test-d" from="admin@test-d/def-user-resource" id="s2s-get-cid-connection" type="set">
<command node="s2s-get-cid-connection" xmlns="http://jabber.org/protocol/commands"/>
</iq>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq to="admin@test-d/def-user-resource" xmlns="jabber:client" from="s2s@test-d" type="result" id="s2s-get-cid-connection"><command node="s2s-get-cid-connection" xmlns="http://jabber.org/protocol/commands" status="executing"><x xmlns="jabber:x:data" type="form"><title>Get S2S connection state</title><instructions>Fill out this form to get S2S connection state</instructions><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/protocol/admin</value></field><field var="cid" label="S2S connection CID" type="text-single"><value/></field></x><actions execute="complete"><complete/></actions></command></iq>
</INPUT>
<OUTPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq to="s2s@test-d" from="admin@test-d/def-user-resource" id="s2s-get-cid-connection" type="set">
<command node="s2s-get-cid-connection" xmlns="http://jabber.org/protocol/commands">
<x xmlns="jabber:x:data" type="submit">
<field var="FORM_TYPE" type="hidden">
<value>http://jabber.org/protocol/admin</value>
</field>
<field var="cid" type="text-single">
<value>test-domain@test-d</value>
</field>
</x>
</command>
</iq>
</OUTPUT>
<INPUT test='AdminAdHoc s2s_3_1 (c2s)'>
<iq to="admin@test-d/def-user-resource" xmlns="jabber:client" from="s2s@test-d" type="result" id="s2s-get-cid-connection"><command node="s2s-get-cid-connection" xmlns="http://jabber.org/protocol/commands" status="completed"><x xmlns="jabber:x:data" type="result"><field var="S2S connection" type="text-multi"><value>No such CID connection found</value></field></x></command></iq>
</INPUT>

</test-history>