<test-history test='Basic 15 (c2s)'>
<OUTPUT test='Basic 15 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='Basic 15 (c2s)'>
<stream:stream id="6aea8054-a94e-4aae-b48a-aa01c50137f0" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" xmlns="jabber:client" xml:lang="en"/>
</INPUT>
<INPUT test='Basic 15 (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='Basic 15 (c2s)'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsbC14bXBwLXRlc3QAYWxsLXhtcHAtdGVzdC1wYXNzd29yZA==</auth>
</OUTPUT>
<INPUT test='Basic 15 (c2s)'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='Basic 15 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='Basic 15 (c2s)'>
<stream:stream id="6aea8054-a94e-4aae-b48a-aa01c50137f0" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="test-d" xmlns="jabber:client" xml:lang="en"/>
</INPUT>
<INPUT test='Basic 15 (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='Basic 15 (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='Basic 15 (c2s)'>
<iq to="all-xmpp-test@test-d/def-user-resource" id="bind1" type="result" xmlns="jabber:client"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>all-xmpp-test@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='Basic 15 (c2s)'>
<iq id="1" type="get">
<not-yet-supported xmlns="test:unsupported:feature"/>
</iq>
</OUTPUT>
<INPUT test='Basic 15 (c2s)'>
<iq to="all-xmpp-test@test-d/def-user-resource" id="1" type="error" xmlns="jabber:client"><not-yet-supported xmlns="test:unsupported:feature"/><error code="501" type="cancel"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Feature not supported yet.</text></error></iq>
</INPUT>
<OUTPUT test='Basic 15 (c2s)'>
<iq to="test-d" id="agsXMPP_3" type="get" xmlns="jabber:client">
<query xmlns="jabber:iq:agents"/>
</iq>
</OUTPUT>
<INPUT test='Basic 15 (c2s)'>
<iq to="all-xmpp-test@test-d/def-user-resource" id="agsXMPP_3" type="error" from="test-d" xmlns="jabber:client"><query xmlns="jabber:iq:agents"/><error code="501" type="cancel"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Feature not supported yet.</text></error></iq>
</INPUT>

</test-history>