<test-history test='AdminAdHoc sess-man_3_1 (c2s)'>
<OUTPUT test='AdminAdHoc sess-man_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 sess-man_3_1 (c2s)'>
<stream:stream xmlns="jabber:client" id="7a124c93-57c9-4603-a7e1-4569bd81ac79" version="1.0" xml:lang="en" from="test-d" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<INPUT test='AdminAdHoc sess-man_3_1 (c2s)'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
</INPUT>
<OUTPUT test='AdminAdHoc sess-man_3_1 (c2s)'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFkbWluAHN0YXRz</auth>
</OUTPUT>
<INPUT test='AdminAdHoc sess-man_3_1 (c2s)'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='AdminAdHoc sess-man_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 sess-man_3_1 (c2s)'>
<stream:stream xmlns="jabber:client" id="7a124c93-57c9-4603-a7e1-4569bd81ac79" version="1.0" xml:lang="en" from="test-d" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<INPUT test='AdminAdHoc sess-man_3_1 (c2s)'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/><register xmlns="http://jabber.org/features/iq-register"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='AdminAdHoc sess-man_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 sess-man_3_1 (c2s)'>
<iq xmlns="jabber:client" type="result" id="bind1" to="admin@test-d/def-user-resource"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>admin@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='AdminAdHoc sess-man_3_1 (c2s)'>
<iq type="set" id="user-roster-management" from="admin@test-d/def-user-resource" to="sess-man@test-d">
<command xmlns="http://jabber.org/protocol/commands" node="user-roster-management"/>
</iq>
</OUTPUT>
<INPUT test='AdminAdHoc sess-man_3_1 (c2s)'>
<iq type="result" id="user-roster-management" to="admin@test-d/def-user-resource" from="sess-man@test-d"><command xmlns="http://jabber.org/protocol/commands" status="executing" node="user-roster-management"><x xmlns="jabber:x:data" type="form"><field type="jid-single" var="rosterOwnerJID" label="Roster owner JID"><value/></field><field type="jid-single" var="jidToManipulate" label="JID to manipulate"><value/></field><field type="text-single" var="groups" label="Comma separated groups"><value/></field><field type="list-single" var="operationType" label="Operation type"><value>addJid</value><option label="Add"><value>addJid</value></option><option label="Remove"><value>removeJid</value></option></field><field type="list-single" var="subscriptionType" label="Subscription type"><value>both</value><option label="None"><value>none</value></option><option label="From"><value>from</value></option><option label="To"><value>to</value></option><option label="Both"><value>both</value></option></field></x><actions execute="complete"><complete/></actions></command></iq>
</INPUT>
<OUTPUT test='AdminAdHoc sess-man_3_1 (c2s)'>
<iq type="set" id="user-roster-management" from="admin@test-d/def-user-resource" to="sess-man@test-d">
<command xmlns="http://jabber.org/protocol/commands" node="user-roster-management">
<x xmlns="jabber:x:data" type="submit">
<field type="jid-single" var="rosterOwnerJID">
<value>admin@test-d/def-user-resource</value>
</field>
<field type="jid-single" var="jidToManipulate">
<value>all-xmpp-test@test-d</value>
</field>
<field type="text-single" var="groups">
<value>group1</value>
</field>
<field type="list-single" var="operationType">
<value>addJid</value>
</field>
<field type="list-single" var="subscriptionType">
<value>both</value>
</field>
</x>
</command>
</iq>
</OUTPUT>
<INPUT test='AdminAdHoc sess-man_3_1 (c2s)'>
<iq xmlns="jabber:client" type="set" id="rsttig3" to="admin@test-d/def-user-resource"><query xmlns="jabber:iq:roster" ver="09502b6e925442e10f8e1dcd37d0e52c"><item jid="all-xmpp-test@test-d" subscription="both" name="all-xmpp-test@test-d"><group>group1</group></item></query></iq>
</INPUT>
<INPUT test='AdminAdHoc sess-man_3_1 (c2s)'>
<iq type="result" id="user-roster-management" to="admin@test-d/def-user-resource" from="sess-man@test-d"><command xmlns="http://jabber.org/protocol/commands" status="completed" node="user-roster-management"><x xmlns="jabber:x:data" type="result"><field type="fixed" var="Note"><value>Operation successful</value></field></x></command></iq>
</INPUT>

</test-history>