=== Test case: mod_http_upload_SUITE:rejects_set_iq/1 (click for source code)

=== Config value:

    [{watchdog,<0.2876.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mod_http_upload_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.mod_http_upload_SUITE.logs/run.2022-05-25_10.46.32/mod_http_upload_suite.rejects_set_iq.html"},
     {tc_group_properties,[{name,mod_http_upload_s3}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mod_http_upload_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.mod_http_upload_SUITE.logs/run.2022-05-25_10.46.32/log_private/"},
     {escalus_users,[{bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:46:32


*** CT 2022-05-25 10:46:32.595 *** View log from node mongooseim@localhost when started mongooseim@localhost_4478.html
*** CT 2022-05-25 10:46:32.596 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1968.html

*** User 2022-05-25 10:46:32.598 ***
bOb@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:46:32.599 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7c9aa81a99d68df1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:46:32.599 ***
bOb@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:46:32.599 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-25 10:46:32.601 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:46:32.601 ***
bOb@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-05-25 10:46:32.601 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7586b024d6af335c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:46:32.602 ***
bOb@localhost/res1 in
<stream:features>
	<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'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-05-25 10:46:32.602 ***
bOb@localhost/res1 out
<iq type='set' id='defbebb7afd4bfb7e9780b3d5b57264a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:46:32.602 ***
bOb@localhost/res1 in
<iq id='defbebb7afd4bfb7e9780b3d5b57264a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:46:32.602 ***
bob@localhost/res1 out
<iq type='set' id='2c481fafe9d5e60b91c861f5cba7de27'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:46:32.602 ***
bob@localhost/res1 in
<iq type='result' id='2c481fafe9d5e60b91c861f5cba7de27'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:46:32.602 ***
bob@localhost/res1 out
<presence/>



*** User 2022-05-25 10:46:32.604 ***
bob@localhost/res1 in
<presence from='bob@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:46:32.604 ***
bob@localhost/res1 out
<iq type='set' id='4e771e039c0639163c777bb63e90df1f' to='upload.localhost'>
	<query xmlns='urn:xmpp:http:upload:0'/>
</iq>



*** User 2022-05-25 10:46:32.605 ***
bob@localhost/res1 in
<iq from='upload.localhost' to='bob@localhost/res1' id='4e771e039c0639163c777bb63e90df1f' type='error'>
	<query xmlns='urn:xmpp:http:upload:0'/>
	<error code='405' type='cancel'>
		<not-allowed xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>IQ set is not allowed for HTTP upload</text>
	</error>
</iq>



*** User 2022-05-25 10:46:32.605 ***
bob@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:46:32.605 ***
bob@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:46:32.607 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1968.html
*** CT 2022-05-25 10:46:32.607 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4478.html



=== Ended at 2022-05-25 10:46:32
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result