=== Test case: mongooseimctl_SUITE:upload_returns_correct_urls_with_content_type/1 (click for source code)

=== Config value:

    [{with_acl,true},
     {watchdog,<0.6462.1>},
     {ctl_auth_mods,[ejabberd_auth_riak,ejabberd_auth_anonymous,
                     ejabberd_auth_riak]},
     {roster_template,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE_data/roster.template"},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mongooseimctl_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-06-22_08.53.15/mongooseimctl_suite.upload_returns_correct_urls_with_content_type.html"},
     {tc_group_properties,[{name,upload_with_acl}]},
     {tc_group_path,[[{name,upload}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mongooseimctl_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.mongooseimctl_SUITE.logs/run.2022-06-22_08.53.15/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {mike,[{username,<<"mike">>},
                            {server,<<"localhost">>},
                            {password,<<"nicniema">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 08:53:41


*** CT 2022-06-22 08:53:41.783 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3908.html
*** CT 2022-06-22 08:53:41.784 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_1960.html

*** User 2022-06-22 08:53:42.093 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  http_upload localhost tmp.txt 5 text/plain 666
Result "PutURL: http://localhost:9000/mybucket/f39ffefac02f6028d3b744d0e19feb358a3abd6a0e06e37c72ec34ef0b331633/tmp.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIAOAONIULXQGMOUA%2F20220622%2Feu-east-25%2Fs3%2Faws4_request&X-Amz-Date=20220622T085342Z&X-Amz-Expires=666&X-Amz-Signature=375a55047c816b98defeda17cbd2080e35daefb3f442b8bbb7496b2f6e9b6323&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bx-amz-acl\nGetURL: http://localhost:9000/mybucket/f39ffefac02f6028d3b744d0e19feb358a3abd6a0e06e37c72ec34ef0b331633/tmp.txt\n\n"
ExitStatus 0

*** User 2022-06-22 08:53:42.093 ***🔗
check_bucket_url_and_filename type=put url="http://localhost:9000/mybucket/f39ffefac02f6028d3b744d0e19feb358a3abd6a0e06e37c72ec34ef0b331633/tmp.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIAOAONIULXQGMOUA%2F20220622%2Feu-east-25%2Fs3%2Faws4_request&X-Amz-Date=20220622T085342Z&X-Amz-Expires=666&X-Amz-Signature=375a55047c816b98defeda17cbd2080e35daefb3f442b8bbb7496b2f6e9b6323&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bx-amz-acl" regex="^http://localhost:9000/mybucket/.+/tmp.txt?.*"

*** User 2022-06-22 08:53:42.093 ***🔗
check_bucket_url_and_filename type=get url="http://localhost:9000/mybucket/f39ffefac02f6028d3b744d0e19feb358a3abd6a0e06e37c72ec34ef0b331633/tmp.txt" regex="^http://localhost:9000/mybucket/.+/tmp.txt$"
*** CT 2022-06-22 08:53:42.096 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_1960.html
*** CT 2022-06-22 08:53:42.097 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3908.html



=== Ended at 2022-06-22 08:53:42
=== successfully completed test case
=== === Returned value: ok


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