=== Test case: commands_backend_SUITE:post_wrong_arg_name/1 (click for source code) === Config value: [{watchdog,<0.1480.2>}, {tc_logfile,"/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2022-03-18_10.50.40/lib.mongooseim.logs/run.2022-03-18_10.50.40/commands_backend_suite.post_wrong_arg_name.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-03-18_10.50.40/lib.mongooseim.logs/run.2022-03-18_10.50.40/log_private/"}] === Current directory is "/home/circleci/project/_build/test/logs/ct_run.mongooseim@localhost.2022-03-18_10.50.40" === Started at 2022-03-18 10:51:22
*** User 2022-03-18 10:51:22.514 *** <<"/api/weather">>, "POST", [{arg11,10},{arg2,2}]
*** System report during commands_backend_SUITE:post_wrong_arg_name/1 in post_advanced_backend 2022-03-18 10:51:23.406 *** =ERROR REPORT==== 18-Mar-2022::10:51:23.406198 === error_type: type_error reason: Invalid number of arguments: should be 2, got 1 req: #{bindings => #{},body_length => 21,cert => undefined, charset => undefined,has_body => true, headers => #{<<"accept">> => <<"application/json">>, <<"content-length">> => <<"21">>, <<"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},50640}, pid => <0.1682.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-03-18 10:51:23 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result