=== Test case: graphql_vcard_SUITE:admin_set_vcard_no_host/1 (click for source code)

=== Config value:

    [{watchdog,<0.29308.0>},
     {protocol,http},
     {schema_endpoint,admin},
     {listener_opts,#{host => "localhost",module => mongoose_graphql_handler,
                      password => <<"secret">>,path => "/api/graphql",
                      schema_endpoint => admin,sse_idle_timeout => 3600000,
                      username => <<"admin">>}},
     {mod_vcard_opts,#{backend => rdbms,
                       host => {prefix,<<"vjud.">>},
                       iqdisc => parallel,matches => 30,search => true}},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_vcard_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@2a586b8bbe7d.2024-03-12_08.04.35/big_tests.tests.graphql_vcard_SUITE.logs/run.2024-03-12_08.09.53/graphql_vcard_suite.admin_set_vcard_no_host.html"},
     {tc_group_properties,[{name,admin_vcard_configured}]},
     {tc_group_path,[[{name,admin_http}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_vcard_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@2a586b8bbe7d.2024-03-12_08.04.35/big_tests.tests.graphql_vcard_SUITE.logs/run.2024-03-12_08.09.53/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@2a586b8bbe7d.2024-03-12_08.04.35"

=== Started at 2024-03-12 08:09:55


*** CT 2024-03-12 08:09:55.356 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1847.html

*** User 2024-03-12 08:09:55.361 ***🔗
REST request:
Code: 200
Req: {<0.29348.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"47b64ef4eb97b3ef">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      [<<"{\"variables\":{\"vcard\":{\"url\":[\"UrlTest\",\"URL2\"],\"uid\":[\"UidTest\",\"UID2\"],\"title\":[\"TitleTest\",\"SEcondTest\"],\"timeZone\":[\"TimeZoneTest\",\"TimeZOneSecond\"],\"telephone\":[{\"tags\":[\"HOME\",\"BBS\"],\"number\":\"590190190\"},{\"tags\":[\"WORK\",\"BBS\"],\"number\":\"590190191\"}],\"sound\":[{\"binValue\":\"TestBinValue\"},{\"phonetic\":\"PhoneticTest\"},{\"extValue\":\"ExtValueTest\"}],\"sortString\":[\"sortStringTest\",\"String2\"],\"role\":[\"roleTest\",\"SecondRole\"],\"rev\":[\"revTest\",\"RevTest2\"],\"prodId\":[\"ProdIdTest\",\"PRodTEST2\"],\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"org\":[{\"orgunit\":[\"test1\",\"TEST2\"],\"orgname\":\"TESTNAME\"},{\"orgunit\":[\"test1\"],\"orgname\":\"TESTNAME123\"}],\"note\":[\"NoteTest\",\"NOTE2\"],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"mailer\":[\"MailerTest\",\"MailerSecond\"],\"logo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinariesLogo\"},{\"extValue\":\"External Value Logo\"}],\"label\":[{\"tags\":[\"WORK\",\"HOME\"],\"line\":[\"LineTest\",\"AAA\"]},{\"tags\":[\"POSTAL\",\"WORK\"],\"line\":[\"LineTest2\",\"AAA\"]}],\"key\":[{\"type\":\"TYPETEST1\",\"credential\":\"TESTCREDENTIAL1\"},{\"type\":\"TYPETEST2\",\"credential\":\"TESTCREDENTIAL2\"}],\"jabberId\":[\"JabberId\",\"JabberIDSecind\"],\"geo\":[{\"lon\":\"LongtitudeTest\",\"lat\":\"LatitudeTest\"},{\"lon\":\"LongtitudeTest2\",\"lat\":\"LatitudeTest2\"}],\"formattedName\":\"TestName\",\"email\":[{\"userId\":\"userIDTEst\",\"tags\":[\"PREF\"]},{\"userId\":\"userIDTEsTETt\",\"tags\":[\"PREF\",\"HOME\"]}],\"desc\":[\"DescTest\",\"DESC2\"],\"class\":[{\"tags\":[\"CONFIDENTIAL\",\"PRIVATE\"]},{\"tags\":[\"CONFIDENTIAL\"]}],\"categories\":[{\"keyword\":[\"KeywordTest\"]},{\"keyword\":[\"KeywordTest\",\"Keyword2\"]}],\"birthday\":[\"birthdayTest\",\"SecondBirthday\"],\"agent\":[{\"vcard\":{\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"formattedName\":">>,
       <<"\"TestName\"}},{\"extValue\":\"TESTVALUE\"},{\"vcard\":{\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"formattedName\":\"TestName\"}}],\"address\":[{\"tags\":[\"HOME\",\"WORK\"],\"street\":\"TESTSTREET123\",\"region\":\"REGION777\",\"pobox\":\"poboxTest\",\"pcode\":\"PcodeTest\",\"locality\":\"LOCALITY123\",\"extadd\":\"extaddTest\",\"country\":\"COUNTRY123\"},{\"tags\":[\"HOME\",\"WORK\",\"POSTAL\"],\"street\":\"TESTSTREET123Second\",\"region\":\"REGION777TEST\",\"pobox\":\"poboxTestSecond\",\"pcode\":\"PcodeTestSECOND\",\"locality\":\"LOCALITY123Second\",\"extadd\":\"extaddTestSecond\",\"country\":\"COUNTRY123SECOND\"}]},\"user\":\"eddie@otherhost\"},\"query\":">>,
       <<"\"mutation ($user: JID!, $vcard: VcardInput!) { vcard { setVcard(user: $user, vcard: $vcard) { address { country extadd locality pcode pobox region street tags } agent { ... on External { extValue } ... on AgentVcard { vcard { address { country extadd locality pcode pobox region street tags } agent { ... on External { extValue } ... on AgentVcard { vcard { __typename } } } birthday categories { keyword } class { tags } desc email { tags userId } formattedName geo { lat lon } jabberId key { credential type } label { line tags } logo { ... on External { extValue } ... on ImageData { binValue type } } mailer nameComponents { family givenName middleName prefix suffix } nickname note org { orgname orgunit } photo { ... on External { extValue } ... on ImageData { binValue type } } prodId rev role sortString sound { ... on External { extValue } ... on BinValue { binValue } ... on Phonetic { phonetic } } telephone { number tags } timeZone title uid url } } } birthday categories { keyword } class { tags } desc email { tags userId } formattedName geo { lat lon } jabberId key { credential type } label { line tags } logo { ... on External { extValue } ... on ImageData { binValue type } } mailer nameComponents { family givenName middleName prefix suffix } nickname note org { orgname orgunit } photo { ... on External { extValue } ... on ImageData { binValue type } } prodId rev role sortString sound { ... on External { extValue } ... on BinValue { binValue } ... on Phonetic { phonetic } } telephone { number tags } timeZone title uid url } } }\"}">>]}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 12 Mar 2024 08:09:54 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"182">>}],
         <<"{\"errors\":[{\"path\":[\"vcard\",\"setVcard\"],\"message\":\"User's domain does not exist\",\"extensions\":{\"user\":\"eddie@otherhost\",\"code\":\"user_not_found\"}}],\"data\":{\"vcard\":{\"setVcard\":null}}}">>,
         321,2572}
Params: #{body =>
              [<<"{\"variables\":{\"vcard\":{\"url\":[\"UrlTest\",\"URL2\"],\"uid\":[\"UidTest\",\"UID2\"],\"title\":[\"TitleTest\",\"SEcondTest\"],\"timeZone\":[\"TimeZoneTest\",\"TimeZOneSecond\"],\"telephone\":[{\"tags\":[\"HOME\",\"BBS\"],\"number\":\"590190190\"},{\"tags\":[\"WORK\",\"BBS\"],\"number\":\"590190191\"}],\"sound\":[{\"binValue\":\"TestBinValue\"},{\"phonetic\":\"PhoneticTest\"},{\"extValue\":\"ExtValueTest\"}],\"sortString\":[\"sortStringTest\",\"String2\"],\"role\":[\"roleTest\",\"SecondRole\"],\"rev\":[\"revTest\",\"RevTest2\"],\"prodId\":[\"ProdIdTest\",\"PRodTEST2\"],\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"org\":[{\"orgunit\":[\"test1\",\"TEST2\"],\"orgname\":\"TESTNAME\"},{\"orgunit\":[\"test1\"],\"orgname\":\"TESTNAME123\"}],\"note\":[\"NoteTest\",\"NOTE2\"],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"mailer\":[\"MailerTest\",\"MailerSecond\"],\"logo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinariesLogo\"},{\"extValue\":\"External Value Logo\"}],\"label\":[{\"tags\":[\"WORK\",\"HOME\"],\"line\":[\"LineTest\",\"AAA\"]},{\"tags\":[\"POSTAL\",\"WORK\"],\"line\":[\"LineTest2\",\"AAA\"]}],\"key\":[{\"type\":\"TYPETEST1\",\"credential\":\"TESTCREDENTIAL1\"},{\"type\":\"TYPETEST2\",\"credential\":\"TESTCREDENTIAL2\"}],\"jabberId\":[\"JabberId\",\"JabberIDSecind\"],\"geo\":[{\"lon\":\"LongtitudeTest\",\"lat\":\"LatitudeTest\"},{\"lon\":\"LongtitudeTest2\",\"lat\":\"LatitudeTest2\"}],\"formattedName\":\"TestName\",\"email\":[{\"userId\":\"userIDTEst\",\"tags\":[\"PREF\"]},{\"userId\":\"userIDTEsTETt\",\"tags\":[\"PREF\",\"HOME\"]}],\"desc\":[\"DescTest\",\"DESC2\"],\"class\":[{\"tags\":[\"CONFIDENTIAL\",\"PRIVATE\"]},{\"tags\":[\"CONFIDENTIAL\"]}],\"categories\":[{\"keyword\":[\"KeywordTest\"]},{\"keyword\":[\"KeywordTest\",\"Keyword2\"]}],\"birthday\":[\"birthdayTest\",\"SecondBirthday\"],\"agent\":[{\"vcard\":{\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"formattedName\":">>,
               <<"\"TestName\"}},{\"extValue\":\"TESTVALUE\"},{\"vcard\":{\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"formattedName\":\"TestName\"}}],\"address\":[{\"tags\":[\"HOME\",\"WORK\"],\"street\":\"TESTSTREET123\",\"region\":\"REGION777\",\"pobox\":\"poboxTest\",\"pcode\":\"PcodeTest\",\"locality\":\"LOCALITY123\",\"extadd\":\"extaddTest\",\"country\":\"COUNTRY123\"},{\"tags\":[\"HOME\",\"WORK\",\"POSTAL\"],\"street\":\"TESTSTREET123Second\",\"region\":\"REGION777TEST\",\"pobox\":\"poboxTestSecond\",\"pcode\":\"PcodeTestSECOND\",\"locality\":\"LOCALITY123Second\",\"extadd\":\"extaddTestSecond\",\"country\":\"COUNTRY123SECOND\"}]},\"user\":\"eddie@otherhost\"},\"query\":">>,
               <<"\"mutation ($user: JID!, $vcard: VcardInput!) { vcard { setVcard(user: $user, vcard: $vcard) { address { country extadd locality pcode pobox region street tags } agent { ... on External { extValue } ... on AgentVcard { vcard { address { country extadd locality pcode pobox region street tags } agent { ... on External { extValue } ... on AgentVcard { vcard { __typename } } } birthday categories { keyword } class { tags } desc email { tags userId } formattedName geo { lat lon } jabberId key { credential type } label { line tags } logo { ... on External { extValue } ... on ImageData { binValue type } } mailer nameComponents { family givenName middleName prefix suffix } nickname note org { orgname orgunit } photo { ... on External { extValue } ... on ImageData { binValue type } } prodId rev role sortString sound { ... on External { extValue } ... on BinValue { binValue } ... on Phonetic { phonetic } } telephone { number tags } timeZone title uid url } } } birthday categories { keyword } class { tags } desc email { tags userId } formattedName geo { lat lon } jabberId key { credential type } label { line tags } logo { ... on External { extValue } ... on ImageData { binValue type } } mailer nameComponents { family givenName middleName prefix suffix } nickname note org { orgname orgunit } photo { ... on External { extValue } ... on ImageData { binValue type } } prodId rev role sortString sound { ... on External { extValue } ... on BinValue { binValue } ... on Phonetic { phonetic } } telephone { number tags } timeZone title uid url } } }\"}">>],
          creds => {<<"admin">>,<<"secret">>},
          method => <<"POST">>,path => <<"/api/graphql">>,port => 5551,
          return_headers => true,return_maps => true,
          role => {graphql,admin},
          server => #{node => mongooseim@localhost}}


*** User 2024-03-12 08:09:55.366 ***🔗
REST request:
Code: 200
Req: {<0.29350.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"c2b06b1572845849">>},
       {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
      [<<"{\"variables\":{\"vcard\":{\"url\":[\"UrlTest\",\"URL2\"],\"uid\":[\"UidTest\",\"UID2\"],\"title\":[\"TitleTest\",\"SEcondTest\"],\"timeZone\":[\"TimeZoneTest\",\"TimeZOneSecond\"],\"telephone\":[{\"tags\":[\"HOME\",\"BBS\"],\"number\":\"590190190\"},{\"tags\":[\"WORK\",\"BBS\"],\"number\":\"590190191\"}],\"sound\":[{\"binValue\":\"TestBinValue\"},{\"phonetic\":\"PhoneticTest\"},{\"extValue\":\"ExtValueTest\"}],\"sortString\":[\"sortStringTest\",\"String2\"],\"role\":[\"roleTest\",\"SecondRole\"],\"rev\":[\"revTest\",\"RevTest2\"],\"prodId\":[\"ProdIdTest\",\"PRodTEST2\"],\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"org\":[{\"orgunit\":[\"test1\",\"TEST2\"],\"orgname\":\"TESTNAME\"},{\"orgunit\":[\"test1\"],\"orgname\":\"TESTNAME123\"}],\"note\":[\"NoteTest\",\"NOTE2\"],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"mailer\":[\"MailerTest\",\"MailerSecond\"],\"logo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinariesLogo\"},{\"extValue\":\"External Value Logo\"}],\"label\":[{\"tags\":[\"WORK\",\"HOME\"],\"line\":[\"LineTest\",\"AAA\"]},{\"tags\":[\"POSTAL\",\"WORK\"],\"line\":[\"LineTest2\",\"AAA\"]}],\"key\":[{\"type\":\"TYPETEST1\",\"credential\":\"TESTCREDENTIAL1\"},{\"type\":\"TYPETEST2\",\"credential\":\"TESTCREDENTIAL2\"}],\"jabberId\":[\"JabberId\",\"JabberIDSecind\"],\"geo\":[{\"lon\":\"LongtitudeTest\",\"lat\":\"LatitudeTest\"},{\"lon\":\"LongtitudeTest2\",\"lat\":\"LatitudeTest2\"}],\"formattedName\":\"TestName\",\"email\":[{\"userId\":\"userIDTEst\",\"tags\":[\"PREF\"]},{\"userId\":\"userIDTEsTETt\",\"tags\":[\"PREF\",\"HOME\"]}],\"desc\":[\"DescTest\",\"DESC2\"],\"class\":[{\"tags\":[\"CONFIDENTIAL\",\"PRIVATE\"]},{\"tags\":[\"CONFIDENTIAL\"]}],\"categories\":[{\"keyword\":[\"KeywordTest\"]},{\"keyword\":[\"KeywordTest\",\"Keyword2\"]}],\"birthday\":[\"birthdayTest\",\"SecondBirthday\"],\"agent\":[{\"vcard\":{\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"formattedName\":">>,
       <<"\"TestName\"}},{\"extValue\":\"TESTVALUE\"},{\"vcard\":{\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"formattedName\":\"TestName\"}}],\"address\":[{\"tags\":[\"HOME\",\"WORK\"],\"street\":\"TESTSTREET123\",\"region\":\"REGION777\",\"pobox\":\"poboxTest\",\"pcode\":\"PcodeTest\",\"locality\":\"LOCALITY123\",\"extadd\":\"extaddTest\",\"country\":\"COUNTRY123\"},{\"tags\":[\"HOME\",\"WORK\",\"POSTAL\"],\"street\":\"TESTSTREET123Second\",\"region\":\"REGION777TEST\",\"pobox\":\"poboxTestSecond\",\"pcode\":\"PcodeTestSECOND\",\"locality\":\"LOCALITY123Second\",\"extadd\":\"extaddTestSecond\",\"country\":\"COUNTRY123SECOND\"}]},\"user\":\"eddie@domain.example.com\"},\"query\":">>,
       <<"\"mutation ($user: JID!, $vcard: VcardInput!) { vcard { setVcard(user: $user, vcard: $vcard) { address { country extadd locality pcode pobox region street tags } agent { ... on External { extValue } ... on AgentVcard { vcard { address { country extadd locality pcode pobox region street tags } agent { ... on External { extValue } ... on AgentVcard { vcard { __typename } } } birthday categories { keyword } class { tags } desc email { tags userId } formattedName geo { lat lon } jabberId key { credential type } label { line tags } logo { ... on External { extValue } ... on ImageData { binValue type } } mailer nameComponents { family givenName middleName prefix suffix } nickname note org { orgname orgunit } photo { ... on External { extValue } ... on ImageData { binValue type } } prodId rev role sortString sound { ... on External { extValue } ... on BinValue { binValue } ... on Phonetic { phonetic } } telephone { number tags } timeZone title uid url } } } birthday categories { keyword } class { tags } desc email { tags userId } formattedName geo { lat lon } jabberId key { credential type } label { line tags } logo { ... on External { extValue } ... on ImageData { binValue type } } mailer nameComponents { family givenName middleName prefix suffix } nickname note org { orgname orgunit } photo { ... on External { extValue } ... on ImageData { binValue type } } prodId rev role sortString sound { ... on External { extValue } ... on BinValue { binValue } ... on Phonetic { phonetic } } telephone { number tags } timeZone title uid url } } }\"}">>]}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Tue, 12 Mar 2024 08:09:54 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"188">>}],
         <<"{\"errors\":[{\"path\":[\"vcard\",\"setVcard\"],\"message\":\"Given user does not exist\",\"extensions\":{\"user\":\"eddie@domain.example.com\",\"code\":\"user_not_found\"}}],\"data\":{\"vcard\":{\"setVcard\":null}}}">>,
         327,3116}
Params: #{body =>
              [<<"{\"variables\":{\"vcard\":{\"url\":[\"UrlTest\",\"URL2\"],\"uid\":[\"UidTest\",\"UID2\"],\"title\":[\"TitleTest\",\"SEcondTest\"],\"timeZone\":[\"TimeZoneTest\",\"TimeZOneSecond\"],\"telephone\":[{\"tags\":[\"HOME\",\"BBS\"],\"number\":\"590190190\"},{\"tags\":[\"WORK\",\"BBS\"],\"number\":\"590190191\"}],\"sound\":[{\"binValue\":\"TestBinValue\"},{\"phonetic\":\"PhoneticTest\"},{\"extValue\":\"ExtValueTest\"}],\"sortString\":[\"sortStringTest\",\"String2\"],\"role\":[\"roleTest\",\"SecondRole\"],\"rev\":[\"revTest\",\"RevTest2\"],\"prodId\":[\"ProdIdTest\",\"PRodTEST2\"],\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"org\":[{\"orgunit\":[\"test1\",\"TEST2\"],\"orgname\":\"TESTNAME\"},{\"orgunit\":[\"test1\"],\"orgname\":\"TESTNAME123\"}],\"note\":[\"NoteTest\",\"NOTE2\"],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"mailer\":[\"MailerTest\",\"MailerSecond\"],\"logo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinariesLogo\"},{\"extValue\":\"External Value Logo\"}],\"label\":[{\"tags\":[\"WORK\",\"HOME\"],\"line\":[\"LineTest\",\"AAA\"]},{\"tags\":[\"POSTAL\",\"WORK\"],\"line\":[\"LineTest2\",\"AAA\"]}],\"key\":[{\"type\":\"TYPETEST1\",\"credential\":\"TESTCREDENTIAL1\"},{\"type\":\"TYPETEST2\",\"credential\":\"TESTCREDENTIAL2\"}],\"jabberId\":[\"JabberId\",\"JabberIDSecind\"],\"geo\":[{\"lon\":\"LongtitudeTest\",\"lat\":\"LatitudeTest\"},{\"lon\":\"LongtitudeTest2\",\"lat\":\"LatitudeTest2\"}],\"formattedName\":\"TestName\",\"email\":[{\"userId\":\"userIDTEst\",\"tags\":[\"PREF\"]},{\"userId\":\"userIDTEsTETt\",\"tags\":[\"PREF\",\"HOME\"]}],\"desc\":[\"DescTest\",\"DESC2\"],\"class\":[{\"tags\":[\"CONFIDENTIAL\",\"PRIVATE\"]},{\"tags\":[\"CONFIDENTIAL\"]}],\"categories\":[{\"keyword\":[\"KeywordTest\"]},{\"keyword\":[\"KeywordTest\",\"Keyword2\"]}],\"birthday\":[\"birthdayTest\",\"SecondBirthday\"],\"agent\":[{\"vcard\":{\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"formattedName\":">>,
               <<"\"TestName\"}},{\"extValue\":\"TESTVALUE\"},{\"vcard\":{\"photo\":[{\"type\":\"image/jpeg\",\"binValue\":\"TestBinaries\"},{\"extValue\":\"External Value\"}],\"nickname\":[\"NicknameTest\",\"SecondNickname\"],\"nameComponents\":{\"suffix\":\"sufix\",\"prefix\":\"prefix\",\"middleName\":\"middleName\",\"givenName\":\"givenName\",\"family\":\"familyName\"},\"formattedName\":\"TestName\"}}],\"address\":[{\"tags\":[\"HOME\",\"WORK\"],\"street\":\"TESTSTREET123\",\"region\":\"REGION777\",\"pobox\":\"poboxTest\",\"pcode\":\"PcodeTest\",\"locality\":\"LOCALITY123\",\"extadd\":\"extaddTest\",\"country\":\"COUNTRY123\"},{\"tags\":[\"HOME\",\"WORK\",\"POSTAL\"],\"street\":\"TESTSTREET123Second\",\"region\":\"REGION777TEST\",\"pobox\":\"poboxTestSecond\",\"pcode\":\"PcodeTestSECOND\",\"locality\":\"LOCALITY123Second\",\"extadd\":\"extaddTestSecond\",\"country\":\"COUNTRY123SECOND\"}]},\"user\":\"eddie@domain.example.com\"},\"query\":">>,
               <<"\"mutation ($user: JID!, $vcard: VcardInput!) { vcard { setVcard(user: $user, vcard: $vcard) { address { country extadd locality pcode pobox region street tags } agent { ... on External { extValue } ... on AgentVcard { vcard { address { country extadd locality pcode pobox region street tags } agent { ... on External { extValue } ... on AgentVcard { vcard { __typename } } } birthday categories { keyword } class { tags } desc email { tags userId } formattedName geo { lat lon } jabberId key { credential type } label { line tags } logo { ... on External { extValue } ... on ImageData { binValue type } } mailer nameComponents { family givenName middleName prefix suffix } nickname note org { orgname orgunit } photo { ... on External { extValue } ... on ImageData { binValue type } } prodId rev role sortString sound { ... on External { extValue } ... on BinValue { binValue } ... on Phonetic { phonetic } } telephone { number tags } timeZone title uid url } } } birthday categories { keyword } class { tags } desc email { tags userId } formattedName geo { lat lon } jabberId key { credential type } label { line tags } logo { ... on External { extValue } ... on ImageData { binValue type } } mailer nameComponents { family givenName middleName prefix suffix } nickname note org { orgname orgunit } photo { ... on External { extValue } ... on ImageData { binValue type } } prodId rev role sortString sound { ... on External { extValue } ... on BinValue { binValue } ... on Phonetic { phonetic } } telephone { number tags } timeZone title uid url } } }\"}">>],
          creds => {<<"admin">>,<<"secret">>},
          method => <<"POST">>,path => <<"/api/graphql">>,port => 5551,
          return_headers => true,return_maps => true,
          role => {graphql,admin},
          server => #{node => mongooseim@localhost}}

*** CT 2024-03-12 08:09:55.369 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1847.html



=== Ended at 2024-03-12 08:09:55
=== successfully completed test case
=== === Returned value: ok


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