=== Test case: commands_backend_SUITE:post_wrong_arg_number/1 (click for source code)

=== Config value:

    [{watchdog,<0.1513.2>},
     {tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2022-05-25_09.04.00/lib.mongooseim.logs/run.2022-05-25_09.04.00/commands_backend_suite.post_wrong_arg_number.html"},
     {tc_group_properties,[{name,post_advanced_backend},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/_build/test/lib/mongooseim/test/commands_backend_SUITE_data/"},
     {priv_dir,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2022-05-25_09.04.00/lib.mongooseim.logs/run.2022-05-25_09.04.00/log_private/"}]

=== Current directory is "/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2022-05-25_09.04.00"

=== Started at 2022-05-25 09:04:42


*** User 2022-05-25 09:04:42.418 ***
<<"/api/weather">>, "POST", [{arg1,10},{arg2,2},{arg3,100}]

*** System report during commands_backend_SUITE:post_wrong_arg_number/1 in post_advanced_backend 2022-05-25 09:04:43.570 ***
=ERROR REPORT==== 25-May-2022::09:04:43.570251 ===
    error_type: not_found
    reason: <<"Bad parameters length.">>
    req: #{bindings => #{},body_length => 31,cert => undefined,
           charset => undefined,has_body => true,
           headers =>
               #{<<"accept">> => <<"application/json">>,
                 <<"content-length">> => <<"31">>,
                 <<"content-type">> => <<"application/json">>,
                 <<"host">> => <<"localhost:5288">>},
           host => <<"localhost">>,host_info => undefined,
           media_type => {<<"application">>,<<"json">>,[]},
           method => <<"POST">>,path => <<"/api/weather">>,
           path_info => undefined,
           peer => {{127,0,0,1},33023},
           pid => <0.1664.2>,port => 5288,qs => <<>>,
           ref => 'ejabberd_cowboy_127.0.0.1_5288',
           resp_headers =>
               #{<<"content-type">> =>
                     [<<"application">>,<<"/">>,<<"json">>,<<>>]},
           scheme => <<"http">>,
           sock => {{127,0,0,1},5288},
           streamid => 1,version => 'HTTP/1.1'}
    what: rest_common_error




=== Ended at 2022-05-25 09:04:44
=== successfully completed test case
=== === Returned value: ok


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