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

=== Config value:

    [{watchdog,<0.13752.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mod_http_upload_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mod_http_upload_SUITE.logs/run.2022-02-02_15.12.05/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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.mod_http_upload_SUITE.logs/run.2022-02-02_15.12.05/log_private/"},
     {escalus_users,[{bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:12:06


*** CT 2022-02-02 15:12:06.169 *** View log from node mongooseim@localhost when started mongooseim@localhost_1822.html
*** CT 2022-02-02 15:12:06.169 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_591.html

*** User 2022-02-02 15:12:06.171 ***
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-02 15:12:06.171 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e17cb365c4c72264' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:06.172 ***
bOb@domain.example.com/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-02-02 15:12:06.172 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-02-02 15:12:06.173 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:12:06.173 ***
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-02 15:12:06.173 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f79dc2f2b2caecb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:12:06.173 ***
bOb@domain.example.com/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-02-02 15:12:06.173 ***
bOb@domain.example.com/res1 out
<iq type='set' id='bcd7732051f05289ae2e65f10df0ede8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:12:06.174 ***
bOb@domain.example.com/res1 in
<iq id='bcd7732051f05289ae2e65f10df0ede8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:12:06.174 ***
bOb@domain.example.com/res1 out
<iq type='set' id='89bb21faa168ba8965e6c4187492b07b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:06.174 ***
bOb@domain.example.com/res1 in
<iq type='result' id='89bb21faa168ba8965e6c4187492b07b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:12:06.174 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:12:06.175 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:12:06.175 ***
bOb@domain.example.com/res1 out
<iq type='set' id='e6e29449ef5f2d87572f8a805177fa92' to='upload.domain.example.com'>
	<query xmlns='urn:xmpp:http:upload:0'/>
</iq>



*** User 2022-02-02 15:12:06.176 ***
bOb@domain.example.com/res1 in
<iq from='upload.domain.example.com' to='bOb@domain.example.com/res1' id='e6e29449ef5f2d87572f8a805177fa92' 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-02-02 15:12:06.176 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:12:06.177 ***
bOb@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:12:06.178 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_591.html
*** CT 2022-02-02 15:12:06.179 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1822.html



=== Ended at 2022-02-02 15:12:06
=== successfully completed test case
=== === Returned value: ok


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