=== Test case: graphql_mnesia_SUITE:get_all_info_test/1 (click for source code)

=== Config value:

    [{protocol,http},
     {schema_endpoint,admin},
     {listener_opts,#{module => mongoose_graphql_handler,
                      path => "/api/graphql",host => "localhost",
                      password => <<"secret">>,username => <<"admin">>,
                      sse_idle_timeout => 3600000,schema_endpoint => admin}},
     {watchdog,<0.23957.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"internal_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_mnesia_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@baea9fdafaad.2024-03-06_09.19.52/big_tests.tests.graphql_mnesia_SUITE.logs/run.2024-03-06_09.24.50/graphql_mnesia_suite.get_all_info_test.35075.html"},
     {tc_group_properties,[{name,admin_mnesia_http},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_mnesia_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@baea9fdafaad.2024-03-06_09.19.52/big_tests.tests.graphql_mnesia_SUITE.logs/run.2024-03-06_09.24.50/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@baea9fdafaad.2024-03-06_09.19.52"

=== Started at 2024-03-06 09:25:06


*** CT 2024-03-06 09:25:06.070 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1574.html

*** User 2024-03-06 09:25:06.073 ***🔗
REST request:
Code: 200
Req: {<0.24203.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"9a6edbc76a4bd06f">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{},\"query\":\"query ($keys: [String!]) { mnesia { systemInfo(keys: $keys) { ... on MnesiaIntResponse { key result } ... on MnesiaListResponse { key result } ... on MnesiaStringResponse { key result } } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Wed, 06 Mar 2024 09:25:05 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"3357">>}],
         <<"{\"data\":{\"mnesia\":{\"systemInfo\":[{\"result\":\"mnesia\",\"key\":\"access_module\"},{\"result\":\"true\",\"key\":\"auto_repair\"},{\"result\":[\"ram_copies\",\"disc_copies\",\"disc_only_copies\"],\"key\":\"backend_types\"},{\"result\":\"mnesia_backup\",\"key\":\"backup_module\"},{\"result\":[],\"key\":\"checkpoints\"},{\"result\":[\"mongooseim@localhost\"],\"key\":\"db_nodes\"},{\"result\":\"none\",\"key\":\"debug\"},{\"result\":\"/home/circleci/project/_build/mim1/rel/mongooseim/Mnesia.mongooseim@localhost\",\"key\":\"directory\"},{\"result\":\"false\",\"key\":\"dump_log_load_regulation\"},{\"result\":180000,\"key\":\"dump_log_time_threshold\"},{\"result\":\"true\",\"key\":\"dump_log_update_in_place\"},{\"result\":1000,\"key\":\"dump_log_write_threshold\"},{\"result\":\"mnesia_event\",\"key\":\"event_module\"},{\"result\":[],\"key\":\"extra_db_nodes\"},{\"result\":\"false\",\"key\":\"fallback_activated\"},{\"result\":[],\"key\":\"held_locks\"},{\"result\":\"false\",\"key\":\"ignore_fallback_at_startup\"},{\"result\":\"{mnesia,lkill}\",\"key\":\"fallback_error_function\"},{\"result\":\"yes\",\"key\":\"is_running\"},{\"result\":[\"vcard\",\"muc_light_blocking\",\"muc_light_user_room\",\"muc_light_room\",\"last_activity\",\"private_storage\",\"pubsub_index\",\"pubsub_subnode\",\"pubsub_subscription\",\"pubsub_node\",\"pubsub_item\",\"pubsub_state\",\"offline_msg\",\"muc_registered\",\"muc_room\",\"muc_online_room\",\"caps_features\",\"reg_users_counter\",\"node_num\",\"passwd\",\"roster\",\"roster_version\",\"s2s\",\"anonymous\",\"external_component\",\"sm_session\",\"bosh_session\",\"vcard_search\",\"session\",\"s2s_shared\",\"mongoose_cluster_id\",\"schema\"],\"key\":\"local_tables\"},{\"result\":[],\"key\":\"lock_queue\"},{\"result\":\"4.3\",\"key\":\"log_version\"},{\"result\":[\"muc_light_blocking\",\"reg_users_counter\",\"pubsub_subscription\",\"node_num\",\"passwd\",\"muc_light_room\",\"roster\",\"last_activity\",\"pubsub_subnode\",\"roster_version\",\"offline_msg\",\"anonymous\",\"s2s\",\"vcard\",\"external_component\",\"pubsub_index\",\"caps_features\",\"muc_light_user_room\",\"sm_session\",\"bosh_session\",\"vcard_search\",\"schema\",\"session\",\"private_storage\",\"mongoose_cluster_id\",\"s2s_shared\",\"pubsub_item\",\"muc_room\",\"pubsub_state\",\"muc_registered\",\"muc_online_room\",\"pubsub_node\"],\"key\":\"master_node_tables\"},{\"result\":\"infinity\",\"key\":\"max_wait_for_decision\"},{\"result\":\"{8,6}\",\"key\":\"protocol_version\"},{\"result\":[\"mongooseim@localhost\"],\"key\":\"running_db_nodes\"},{\"result\":\"opt_disc\",\"key\":\"schema_location\"},{\"result\":\"{27,1}\",\"key\":\"schema_version\"},{\"result\":[\"<0.33367.0>\"],\"key\":\"subscribers\"},{\"result\":[\"vcard\",\"muc_light_blocking\",\"muc_light_user_room\",\"muc_light_room\",\"last_activity\",\"private_storage\",\"pubsub_index\",\"pubsub_subnode\",\"pubsub_subscription\",\"pubsub_node\",\"pubsub_item\",\"pubsub_state\",\"offline_msg\",\"muc_registered\",\"muc_room\",\"muc_online_room\",\"caps_features\",\"reg_users_counter\",\"node_num\",\"passwd\",\"roster\",\"roster_version\",\"s2s\",\"anonymous\",\"external_component\",\"sm_session\",\"bosh_session\",\"vcard_search\",\"session\",\"s2s_shared\",\"mongoose_cluster_id\",\"schema\"],\"key\":\"tables\"},{\"result\":4704,\"key\":\"transaction_commits\"},{\"result\":261,\"key\":\"transaction_failures\"},{\"result\":4481,\"key\":\"transaction_log_writes\"},{\"result\":50,\"key\":\"transaction_restarts\"},{\"result\":[],\"key\":\"transactions\"},{\"result\":\"true\",\"key\":\"use_dir\"},{\"result\":\"false\",\"key\":\"core_dir\"},{\"result\":2,\"key\":\"no_table_loaders\"},{\"result\":4,\"key\":\"dc_dump_limit\"},{\"result\":0,\"key\":\"send_compressed\"},{\"result\":64000,\"key\":\"max_transfer_size\"},{\"result\":\"4.22.1\",\"key\":\"version\"}]}}}">>,
         3497,1154}
Params: #{port => 5551,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          role => {graphql,admin},
          method => <<"POST">>,
          body =>
              <<"{\"variables\":{},\"query\":\"query ($keys: [String!]) { mnesia { systemInfo(keys: $keys) { ... on MnesiaIntResponse { key result } ... on MnesiaListResponse { key result } ... on MnesiaStringResponse { key result } } } }\"}">>,
          creds => {<<"admin">>,<<"secret">>},
          return_maps => true,return_headers => true}

*** CT 2024-03-06 09:25:06.075 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1574.html



=== Ended at 2024-03-06 09:25:06
=== successfully completed test case
=== === Returned value: ok


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