=== Test case: graphql_mnesia_SUITE:get_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_info_test.34947.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.040 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1574.html

*** User 2024-03-06 09:25:06.044 ***🔗
REST request:
Code: 200
Req: {<0.24193.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"286bfba61ba91fe6">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"keys\":[\"fallback_error_function\",\"transaction_failures\",\"protocol_version\",\"checkpoints\",\"max_wait_for_decision\",\"no_table_loaders\",\"master_node_tables\",\"schema_location\",\"ignore_fallback_at_startup\",\"dump_log_load_regulation\",\"dc_dump_limit\",\"send_compressed\",\"transactions\",\"transaction_restarts\",\"transaction_commits\",\"event_module\",\"version\",\"dump_log_time_threshold\",\"fallback_activated\",\"held_locks\",\"backup_module\",\"dump_log_update_in_place\",\"auto_repair\",\"max_transfer_size\",\"is_running\",\"running_db_nodes\",\"db_nodes\",\"tables\",\"access_module\",\"subscribers\",\"directory\",\"schema_version\",\"extra_db_nodes\",\"log_version\",\"use_dir\",\"dump_log_write_threshold\",\"lock_queue\",\"local_tables\",\"transaction_log_writes\",\"backend_types\",\"core_dir\",\"debug\",\"AAA\"]},\"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">>,<<"3498">>}],
         <<"{\"errors\":[{\"path\":[\"mnesia\",\"systemInfo\",42],\"message\":\"Key \\\"AAA\\\" does not exist\",\"extensions\":{\"key\":\"AAA\",\"code\":\"bad_key_error\"}}],\"data\":{\"mnesia\":{\"systemInfo\":[{\"result\":\"{mnesia,lkill}\",\"key\":\"fallback_error_function\"},{\"result\":261,\"key\":\"transaction_failures\"},{\"result\":\"{8,6}\",\"key\":\"protocol_version\"},{\"result\":[],\"key\":\"checkpoints\"},{\"result\":\"infinity\",\"key\":\"max_wait_for_decision\"},{\"result\":2,\"key\":\"no_table_loaders\"},{\"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\":\"opt_disc\",\"key\":\"schema_location\"},{\"result\":\"false\",\"key\":\"ignore_fallback_at_startup\"},{\"result\":\"false\",\"key\":\"dump_log_load_regulation\"},{\"result\":4,\"key\":\"dc_dump_limit\"},{\"result\":0,\"key\":\"send_compressed\"},{\"result\":[],\"key\":\"transactions\"},{\"result\":50,\"key\":\"transaction_restarts\"},{\"result\":4704,\"key\":\"transaction_commits\"},{\"result\":\"mnesia_event\",\"key\":\"event_module\"},{\"result\":\"4.22.1\",\"key\":\"version\"},{\"result\":180000,\"key\":\"dump_log_time_threshold\"},{\"result\":\"false\",\"key\":\"fallback_activated\"},{\"result\":[],\"key\":\"held_locks\"},{\"result\":\"mnesia_backup\",\"key\":\"backup_module\"},{\"result\":\"true\",\"key\":\"dump_log_update_in_place\"},{\"result\":\"true\",\"key\":\"auto_repair\"},{\"result\":64000,\"key\":\"max_transfer_size\"},{\"result\":\"yes\",\"key\":\"is_running\"},{\"result\":[\"mongooseim@localhost\"],\"key\":\"running_db_nodes\"},{\"result\":[\"mongooseim@localhost\"],\"key\":\"db_nodes\"},{\"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\":\"mnesia\",\"key\":\"access_module\"},{\"result\":[\"<0.33367.0>\"],\"key\":\"subscribers\"},{\"result\":\"/home/circleci/project/_build/mim1/rel/mongooseim/Mnesia.mongooseim@localhost\",\"key\":\"directory\"},{\"result\":\"{27,1}\",\"key\":\"schema_version\"},{\"result\":[],\"key\":\"extra_db_nodes\"},{\"result\":\"4.3\",\"key\":\"log_version\"},{\"result\":\"true\",\"key\":\"use_dir\"},{\"result\":1000,\"key\":\"dump_log_write_threshold\"},{\"result\":[],\"key\":\"lock_queue\"},{\"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\":4481,\"key\":\"transaction_log_writes\"},{\"result\":[\"ram_copies\",\"disc_copies\",\"disc_only_copies\"],\"key\":\"backend_types\"},{\"result\":\"false\",\"key\":\"core_dir\"},{\"result\":\"none\",\"key\":\"debug\"},null]}}}">>,
         3638,1457}
Params: #{port => 5551,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          role => {graphql,admin},
          method => <<"POST">>,
          body =>
              <<"{\"variables\":{\"keys\":[\"fallback_error_function\",\"transaction_failures\",\"protocol_version\",\"checkpoints\",\"max_wait_for_decision\",\"no_table_loaders\",\"master_node_tables\",\"schema_location\",\"ignore_fallback_at_startup\",\"dump_log_load_regulation\",\"dc_dump_limit\",\"send_compressed\",\"transactions\",\"transaction_restarts\",\"transaction_commits\",\"event_module\",\"version\",\"dump_log_time_threshold\",\"fallback_activated\",\"held_locks\",\"backup_module\",\"dump_log_update_in_place\",\"auto_repair\",\"max_transfer_size\",\"is_running\",\"running_db_nodes\",\"db_nodes\",\"tables\",\"access_module\",\"subscribers\",\"directory\",\"schema_version\",\"extra_db_nodes\",\"log_version\",\"use_dir\",\"dump_log_write_threshold\",\"lock_queue\",\"local_tables\",\"transaction_log_writes\",\"backend_types\",\"core_dir\",\"debug\",\"AAA\"]},\"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.046 *** 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