<test-history test='VHost 7'>
<OUTPUT test='VHost 7'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='VHost 7'>
<stream:stream xmlns="jabber:client" id="b519ec7d-161d-4223-8d56-1d48eb3790e1" xml:lang="en" from="test-d" version="1.0" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<INPUT test='VHost 7'>
<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>DIGEST-MD5</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
</INPUT>
<OUTPUT test='VHost 7'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
</OUTPUT>
<INPUT test='VHost 7'>
<challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9IjFtc0hNT0NKRFpnSXovL05vK1RZUEFodWtvRHMvSHdtdFBmVzlTSVkiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
</INPUT>
<OUTPUT test='VHost 7'>
<response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0iYWRtaW4iLHJlYWxtPSJ0ZXN0LWQiLG5vbmNlPSIxbXNITU9DSkRaZ0l6Ly9ObytUWVBBaHVrb0RzL0h3bXRQZlc5U0lZIixuYz0wMDAwMDAwMSxjbm9uY2U9IjhSTDZ1Z2psTGpUWkZTbW9Gb2JLS1lUMHZKN3l4MzNWd0ROZUxVN3YiLGRpZ2VzdC11cmk9InhtcHAvdGVzdC1kIixtYXhidWY9NjU1MzYscmVzcG9uc2U9YzJiZmM3Mjg0Yzg4MDA5Y2YxMWM1ODdkNThiMmIxYjkscW9wPWF1dGgsYXV0aHppZD0iYWRtaW4i</response>
</OUTPUT>
<INPUT test='VHost 7'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1jY2FmMzcyZmY0Mzc5MGJhNzEyMmUyZWUxZGVkMWM2Yg==</success>
</INPUT>
<OUTPUT test='VHost 7'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='VHost 7'>
<stream:stream xmlns="jabber:client" id="b519ec7d-161d-4223-8d56-1d48eb3790e1" xml:lang="en" from="test-d" version="1.0" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<INPUT test='VHost 7'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><register xmlns="http://jabber.org/features/iq-register"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='VHost 7'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='VHost 7'>
<iq type="result" to="admin@test-d/def-user-resource" id="bind1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>admin@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='VHost 7'>
<iq type="set" to="vhost-man@test-d" id="aacaa">
<command xmlns="http://jabber.org/protocol/commands" node="VHOSTS_UPDATE"/></iq>
</OUTPUT>
<INPUT test='VHost 7'>
<iq type="result" to="admin@test-d/def-user-resource" id="aacaa" from="vhost-man@test-d"><command status="executing" xmlns="http://jabber.org/protocol/commands" node="VHOSTS_UPDATE"><x type="form" xmlns="jabber:x:data"><field var="VHost"><value/></field><field type="list-single" label="Enabled" var="Enabled"><value>true</value><option label="true"><value>true</value></option><option label="false"><value>false</value></option></field></x><actions execute="complete"><complete/></actions></command></iq>
</INPUT>
<OUTPUT test='VHost 7'>
<iq type="set" to="vhost-man@test-d" id="aacba">
<command xmlns="http://jabber.org/protocol/commands" node="VHOSTS_UPDATE">
<x type="submit" xmlns="jabber:x:data">
<field type="text-single" var="VHost"><value>vhost-1</value></field>
<field type="list-single" var="Enabled"><value>true</value></field>
</x>
</command>
</iq>
</OUTPUT>
<INPUT test='VHost 7'>
<iq type="result" to="admin@test-d/def-user-resource" id="aacba" from="vhost-man@test-d"><command status="completed" xmlns="http://jabber.org/protocol/commands" node="VHOSTS_UPDATE"><x type="result" xmlns="jabber:x:data"><field type="fixed" var="Note"><value>Current number of VHosts: 3</value></field></x></command></iq>
</INPUT>

</test-history>