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

=== Config value:

    [{with_acl,false},
     {watchdog,<0.6514.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.36611.html"},
     {tc_group_properties,[{name,upload_without_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:42


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

*** User 2022-06-22 08:53:42.948 ***🔗
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/7c404053113825328024c1a86a77ba793405be7632e829271ff0f1fb4fe59088/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=ebe9726ca52c768f88a170e9665904dd29540f572b601762bb15b8bc5326fc72&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost\nGetURL: http://localhost:9000/mybucket/7c404053113825328024c1a86a77ba793405be7632e829271ff0f1fb4fe59088/tmp.txt\n\n"
ExitStatus 0

*** User 2022-06-22 08:53:42.948 ***🔗
check_bucket_url_and_filename type=put url="http://localhost:9000/mybucket/7c404053113825328024c1a86a77ba793405be7632e829271ff0f1fb4fe59088/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=ebe9726ca52c768f88a170e9665904dd29540f572b601762bb15b8bc5326fc72&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost" regex="^http://localhost:9000/mybucket/.+/tmp.txt?.*"

*** User 2022-06-22 08:53:42.948 ***🔗
check_bucket_url_and_filename type=get url="http://localhost:9000/mybucket/7c404053113825328024c1a86a77ba793405be7632e829271ff0f1fb4fe59088/tmp.txt" regex="^http://localhost:9000/mybucket/.+/tmp.txt$"
*** CT 2022-06-22 08:53:42.951 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_1960.html
*** CT 2022-06-22 08:53:42.951 *** 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