=== Test case: graphql_gdpr_SUITE:admin_retrieve_user_data/1 (click for source code)

=== Config value:

    [{protocol,http},
     {schema_endpoint,admin},
     {listener_opts,#{module => mongoose_graphql_handler,
                      path => "/api/graphql",host => "localhost",
                      username => <<"admin">>,password => <<"secret">>,
                      sse_idle_timeout => 3600000,schema_endpoint => admin}},
     {watchdog,<0.29754.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_gdpr_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@0836f1441392.2024-03-11_11.28.32/big_tests.tests.graphql_gdpr_SUITE.logs/run.2024-03-11_11.33.55/graphql_gdpr_suite.admin_retrieve_user_data.html"},
     {tc_group_properties,[{name,admin_gdpr_http}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_gdpr_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@0836f1441392.2024-03-11_11.28.32/big_tests.tests.graphql_gdpr_SUITE.logs/run.2024-03-11_11.33.55/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@0836f1441392.2024-03-11_11.28.32"

=== Started at 2024-03-11 11:33:55


*** CT 2024-03-11 11:33:55.780 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1738.html

*** User 2024-03-11 11:33:55.808 ***🔗
REST request:
Code: 200
Req: {<0.29764.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"0c33128ac5c30b49">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      <<"{\"variables\":{\"username\":\"alicE_admin_retrieve_user_data_1312\",\"resultFilepath\":\"admin_retrieve_user_data.1710156835786564020.zip\",\"domain\":\"localhost\"},\"query\":\"query ($domain: DomainName!, $resultFilepath: String!, $username: UserName!) { gdpr { retrievePersonalData(domain: $domain, resultFilepath: $resultFilepath, username: $username) } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:33:55 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"59">>}],
         <<"{\"data\":{\"gdpr\":{\"retrievePersonalData\":\"Data retrieved\"}}}">>,
         197,20392}
Params: #{port => 5551,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          creds => {<<"admin">>,<<"secret">>},
          role => {graphql,admin},
          body =>
              <<"{\"variables\":{\"username\":\"alicE_admin_retrieve_user_data_1312\",\"resultFilepath\":\"admin_retrieve_user_data.1710156835786564020.zip\",\"domain\":\"localhost\"},\"query\":\"query ($domain: DomainName!, $resultFilepath: String!, $username: UserName!) { gdpr { retrievePersonalData(domain: $domain, resultFilepath: $resultFilepath, username: $username) } }\"}">>,
          return_maps => true,return_headers => true}


*** User 2024-03-11 11:33:55.809 ***🔗
extracting logs admin_retrieve_user_data.1710156835786564020.zip.alicE_admin_retrieve_user_data_1312.unzipped
*** CT 2024-03-11 11:33:55.815 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1738.html



=== Ended at 2024-03-11 11:33:55
=== successfully completed test case
=== === Returned value: ok


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