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

=== Config value:

    [{watchdog,<0.20815.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.mod_http_upload_SUITE.logs/run.2022-05-18_10.04.59/mod_http_upload_suite.get_url_ends_with_filename.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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.mod_http_upload_SUITE.logs/run.2022-05-18_10.04.59/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@a4fd8d8e9aae.2022-05-18_09.59.33"

=== Started at 2022-05-18 10:04:59


*** CT 2022-05-18 10:04:59.933 *** View log from node mongooseim@localhost when started mongooseim@localhost_1846.html
*** CT 2022-05-18 10:04:59.934 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_494.html

*** User 2022-05-18 10:04:59.935 ***
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-05-18 10:04:59.936 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab874649eb08f053' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:04:59.936 ***
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-05-18 10:04:59.936 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-05-18 10:04:59.937 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:04:59.937 ***
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-05-18 10:04:59.937 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='61bf80d2f3eab469' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:04:59.938 ***
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-05-18 10:04:59.938 ***
bOb@domain.example.com/res1 out
<iq type='set' id='a0d2927aa58556f5f9b1ddb9e1034acf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:04:59.938 ***
bOb@domain.example.com/res1 in
<iq id='a0d2927aa58556f5f9b1ddb9e1034acf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:04:59.938 ***
bob@domain.example.com/res1 out
<iq type='set' id='918041665740e69ad22b8ce5800a7b20'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:04:59.938 ***
bob@domain.example.com/res1 in
<iq type='result' id='918041665740e69ad22b8ce5800a7b20'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:04:59.938 ***
bob@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:04:59.940 ***
bob@domain.example.com/res1 in
<presence from='bob@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:04:59.940 ***
bob@domain.example.com/res1 out
<iq type='get' to='upload.domain.example.com'>
	<request xmlns='urn:xmpp:http:upload:0' filename='filename.jpg' size='123'/>
</iq>



*** User 2022-05-18 10:04:59.941 ***
bob@domain.example.com/res1 in
<iq from='upload.domain.example.com' to='bob@domain.example.com/res1' id='' type='result'>
	<slot xmlns='urn:xmpp:http:upload:0'>
		<put url='http://bucket.s3-eu-east-25.example.com/21c3aebc77c9d2a7917056ef94cbbe1e136275a3fc37d70a73933f74677964a3/filename.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=AKIAIAOAONIULXQGMOUA%2F20220518%2Feu-east-25%2Fs3%2Faws4_request&amp;X-Amz-Date=20220518T100459Z&amp;X-Amz-Expires=60&amp;X-Amz-Signature=f859d69eece9f3b5bd6ff13c3e4bd773aa8878ff26d1ea6c68f86b35a70095ab&amp;X-Amz-SignedHeaders=content-length%3Bhost%3Bx-amz-acl'/>
		<get url='http://bucket.s3-eu-east-25.example.com/21c3aebc77c9d2a7917056ef94cbbe1e136275a3fc37d70a73933f74677964a3/filename.jpg'/>
	</slot>
</iq>



*** User 2022-05-18 10:04:59.941 ***
bob@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:04:59.941 ***
bob@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-18 10:04:59.943 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_494.html
*** CT 2022-05-18 10:04:59.944 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1846.html



=== Ended at 2022-05-18 10:04:59
=== successfully completed test case
=== === Returned value: ok


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