=== Test case: graphql_stanza_SUITE:admin_get_last_messages_with/1 (click for source code)

=== Config value:

    [{watchdog,<0.29013.0>},
     {protocol,http},
     {domain_admin,{<<"admin@localhost">>,<<"a95262f0295316b9">>}},
     {schema_endpoint,domain_admin},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_stanza_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@549f635c4ac9.2024-03-11_11.28.53/big_tests.tests.graphql_stanza_SUITE.logs/run.2024-03-11_11.34.24/graphql_stanza_suite.admin_get_last_messages_with.38020.html"},
     {tc_group_properties,[{name,admin_mam},parallel]},
     {tc_group_path,[[{name,domain_admin_stanza}]]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_stanza_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@549f635c4ac9.2024-03-11_11.28.53/big_tests.tests.graphql_stanza_SUITE.logs/run.2024-03-11_11.34.24/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@549f635c4ac9.2024-03-11_11.28.53"

=== Started at 2024-03-11 11:34:43


*** CT 2024-03-11 11:34:43.189 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1856.html

*** User 2024-03-11 11:34:43.224 ***🔗
alicE_admin_get_last_messages_with_1283@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:34:43.225 ***🔗
alicE_admin_get_last_messages_with_1283@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b16304e5c7557555' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:34:43.225 ***🔗
alicE_admin_get_last_messages_with_1283@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:34:43.225 ***🔗
alicE_admin_get_last_messages_with_1283@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkbWluX2dldF9sYXN0X21lc3NhZ2VzX3dpdGhfMTI4MwBtYXR5Z3J5c2E=</auth>



*** User 2024-03-11 11:34:43.226 ***🔗
alicE_admin_get_last_messages_with_1283@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:34:43.227 ***🔗
alicE_admin_get_last_messages_with_1283@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:34:43.227 ***🔗
alicE_admin_get_last_messages_with_1283@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5a5d1eedcc1d979b' from='localhost' version='1.0' xml:lang='en' to='alice_admin_get_last_messages_with_1283@localhost'>

*** User 2024-03-11 11:34:43.228 ***🔗
alicE_admin_get_last_messages_with_1283@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:34:43.228 ***🔗
alicE_admin_get_last_messages_with_1283@localhost/res1 out
<iq type='set' id='4d47f8dec4e341123835fc5f9eafad04'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:34:43.228 ***🔗
alicE_admin_get_last_messages_with_1283@localhost/res1 in
<iq id='4d47f8dec4e341123835fc5f9eafad04' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_admin_get_last_messages_with_1283@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:34:43.228 ***🔗
alice_admin_get_last_messages_with_1283@localhost/res1 out
<iq type='set' id='a3474ac2723b2624f1f7bbb983dcb1d2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:34:43.229 ***🔗
alice_admin_get_last_messages_with_1283@localhost/res1 in
<iq from='localhost' to='alice_admin_get_last_messages_with_1283@localhost/res1' id='a3474ac2723b2624f1f7bbb983dcb1d2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:34:43.229 ***🔗
alice_admin_get_last_messages_with_1283@localhost/res1 out
<presence/>



*** User 2024-03-11 11:34:43.231 ***🔗
alice_admin_get_last_messages_with_1283@localhost/res1 in
<presence from='alice_admin_get_last_messages_with_1283@localhost/res1' to='alice_admin_get_last_messages_with_1283@localhost/res1'/>



*** User 2024-03-11 11:34:43.232 ***🔗
bOb_admin_get_last_messages_with_1283@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:34:43.232 ***🔗
bOb_admin_get_last_messages_with_1283@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f98f55d22b943e7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:34:43.232 ***🔗
bOb_admin_get_last_messages_with_1283@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:34:43.232 ***🔗
bOb_admin_get_last_messages_with_1283@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZG1pbl9nZXRfbGFzdF9tZXNzYWdlc193aXRoXzEyODMAbWFrcm9saWth</auth>



*** User 2024-03-11 11:34:43.233 ***🔗
bOb_admin_get_last_messages_with_1283@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:34:43.233 ***🔗
bOb_admin_get_last_messages_with_1283@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:34:43.234 ***🔗
bOb_admin_get_last_messages_with_1283@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a3e00c0e7dd399d' from='localhost' version='1.0' xml:lang='en' to='bob_admin_get_last_messages_with_1283@localhost'>

*** User 2024-03-11 11:34:43.234 ***🔗
bOb_admin_get_last_messages_with_1283@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:34:43.234 ***🔗
bOb_admin_get_last_messages_with_1283@localhost/res1 out
<iq type='set' id='4253d7fd30a27bb81503067ea00b6aee'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:34:43.234 ***🔗
bOb_admin_get_last_messages_with_1283@localhost/res1 in
<iq id='4253d7fd30a27bb81503067ea00b6aee' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_admin_get_last_messages_with_1283@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:34:43.234 ***🔗
bob_admin_get_last_messages_with_1283@localhost/res1 out
<iq type='set' id='77acec12ac73b59417f3a849729b05a9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:34:43.235 ***🔗
bob_admin_get_last_messages_with_1283@localhost/res1 in
<iq from='localhost' to='bob_admin_get_last_messages_with_1283@localhost/res1' id='77acec12ac73b59417f3a849729b05a9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:34:43.235 ***🔗
bob_admin_get_last_messages_with_1283@localhost/res1 out
<presence/>



*** User 2024-03-11 11:34:43.274 ***🔗
bob_admin_get_last_messages_with_1283@localhost/res1 in
<presence from='bob_admin_get_last_messages_with_1283@localhost/res1' to='bob_admin_get_last_messages_with_1283@localhost/res1'/>



*** User 2024-03-11 11:34:43.275 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:34:43.276 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2425617b0110c2a2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:34:43.276 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:34:43.276 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGthdGVfYWRtaW5fZ2V0X2xhc3RfbWVzc2FnZXNfd2l0aF8xMjgzAG1ha3Jvd2U7cA==</auth>



*** User 2024-03-11 11:34:43.278 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:34:43.278 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:34:43.279 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='71ca7a8eb0651e21' from='localhost' version='1.0' xml:lang='en' to='kate_admin_get_last_messages_with_1283@localhost'>

*** User 2024-03-11 11:34:43.279 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-11 11:34:43.279 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 out
<iq type='set' id='f17e588abea3609aeabf5e154358de19'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:34:43.279 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 in
<iq id='f17e588abea3609aeabf5e154358de19' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>kate_admin_get_last_messages_with_1283@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:34:43.279 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 out
<iq type='set' id='edd80b2f37ff7c3bc154eb88f734ff13'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:34:43.280 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 in
<iq from='localhost' to='kate_admin_get_last_messages_with_1283@localhost/res1' id='edd80b2f37ff7c3bc154eb88f734ff13' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:34:43.280 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 out
<presence/>



*** User 2024-03-11 11:34:43.285 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 in
<presence from='kate_admin_get_last_messages_with_1283@localhost/res1' to='kate_admin_get_last_messages_with_1283@localhost/res1'/>



*** User 2024-03-11 11:34:43.304 ***🔗
REST request:
Code: 200
Req: {<0.29105.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"32d5bfaf23d86983">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AbG9jYWxob3N0OmE5NTI2MmYwMjk1MzE2Yjk=">>}],
      <<"{\"variables\":{\"body\":\"Hi!\",\"to\":\"bob_admin_get_last_messages_with_1283@localhost\",\"from\":\"alice_admin_get_last_messages_with_1283@localhost/res1\"},\"query\":\"mutation ($body: String!, $from: JID!, $to: JID!) { stanza { sendMessage(body: $body, from: $from, to: $to) { id } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:34:42 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"61">>}],
         <<"{\"data\":{\"stanza\":{\"sendMessage\":{\"id\":\"2e43fb9c76130227\"}}}}">>,
         199,17504}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          role => {graphql,domain_admin},
          creds => {<<"admin@localhost">>,<<"a95262f0295316b9">>},
          body =>
              <<"{\"variables\":{\"body\":\"Hi!\",\"to\":\"bob_admin_get_last_messages_with_1283@localhost\",\"from\":\"alice_admin_get_last_messages_with_1283@localhost/res1\"},\"query\":\"mutation ($body: String!, $from: JID!, $to: JID!) { stanza { sendMessage(body: $body, from: $from, to: $to) { id } } }\"}">>,
          return_maps => true,return_headers => true}


*** User 2024-03-11 11:34:43.304 ***🔗
bob_admin_get_last_messages_with_1283@localhost/res1 in
<message from='alice_admin_get_last_messages_with_1283@localhost/res1' to='bob_admin_get_last_messages_with_1283@localhost' id='2e43fb9c76130227' type='chat'>
	<body>Hi!</body>
	<stanza-id by='bob_admin_get_last_messages_with_1283@localhost' id='C4R0TM50UI01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-03-11 11:34:45.335 ***🔗
waiting for archive_size is done in 2000 miliseconds

*** User 2024-03-11 11:34:45.352 ***🔗
REST request:
Code: 200
Req: {<0.29117.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"4d9c6f0298bb24db">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AbG9jYWxob3N0OmE5NTI2MmYwMjk1MzE2Yjk=">>}],
      <<"{\"variables\":{\"body\":\"Hi!\",\"to\":\"alice_admin_get_last_messages_with_1283@localhost\",\"from\":\"kate_admin_get_last_messages_with_1283@localhost/res1\"},\"query\":\"mutation ($body: String!, $from: JID!, $to: JID!) { stanza { sendMessage(body: $body, from: $from, to: $to) { id } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:34:44 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"61">>}],
         <<"{\"data\":{\"stanza\":{\"sendMessage\":{\"id\":\"90b7c650a276375a\"}}}}">>,
         199,15887}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          role => {graphql,domain_admin},
          creds => {<<"admin@localhost">>,<<"a95262f0295316b9">>},
          body =>
              <<"{\"variables\":{\"body\":\"Hi!\",\"to\":\"alice_admin_get_last_messages_with_1283@localhost\",\"from\":\"kate_admin_get_last_messages_with_1283@localhost/res1\"},\"query\":\"mutation ($body: String!, $from: JID!, $to: JID!) { stanza { sendMessage(body: $body, from: $from, to: $to) { id } } }\"}">>,
          return_maps => true,return_headers => true}


*** User 2024-03-11 11:34:45.352 ***🔗
alice_admin_get_last_messages_with_1283@localhost/res1 in
<message from='kate_admin_get_last_messages_with_1283@localhost/res1' to='alice_admin_get_last_messages_with_1283@localhost' id='90b7c650a276375a' type='chat'>
	<body>Hi!</body>
	<stanza-id by='alice_admin_get_last_messages_with_1283@localhost' id='C4R0TMKLLA81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2024-03-11 11:34:47.383 ***🔗
waiting for archive_size is done in 2000 miliseconds

*** User 2024-03-11 11:34:47.396 ***🔗
REST request:
Code: 200
Req: {<0.29130.0>,<<"/api/graphql">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"85d9ba44161ac22c">>},
       {<<"authorization">>,
        <<"Basic YWRtaW5AbG9jYWxob3N0OmE5NTI2MmYwMjk1MzE2Yjk=">>}],
      <<"{\"variables\":{\"before\":null,\"with\":\"bob_admin_get_last_messages_with_1283@localhost\",\"caller\":\"alice_admin_get_last_messages_with_1283@localhost/res1\"},\"query\":\"query ($before: DateTime, $caller: JID!, $limit: PosInt, $with: JID) { stanza { getLastMessages(before: $before, caller: $caller, limit: $limit, with: $with) { limit stanzas { sender stanza stanza_id timestamp } } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"vary">>,<<"accept">>},
          {<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 11 Mar 2024 11:34:46 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"397">>}],
         <<"{\"data\":{\"stanza\":{\"getLastMessages\":{\"stanzas\":[{\"timestamp\":\"2024-03-11T11:34:43.300167Z\",\"stanza_id\":\"C4R0TM50UHO1\",\"stanza\":\"Hi!\",\"sender\":\"alice_admin_get_last_messages_with_1283@localhost/res1\"}],\"limit\":50}}}}">>,
         536,11422}
Params: #{port => 5541,path => <<"/api/graphql">>,
          server => #{node => mongooseim@localhost},
          method => <<"POST">>,
          role => {graphql,domain_admin},
          creds => {<<"admin@localhost">>,<<"a95262f0295316b9">>},
          body =>
              <<"{\"variables\":{\"before\":null,\"with\":\"bob_admin_get_last_messages_with_1283@localhost\",\"caller\":\"alice_admin_get_last_messages_with_1283@localhost/res1\"},\"query\":\"query ($before: DateTime, $caller: JID!, $limit: PosInt, $with: JID) { stanza { getLastMessages(before: $before, caller: $caller, limit: $limit, with: $with) { limit stanzas { sender stanza stanza_id timestamp } } } }\"}">>,
          return_maps => true,return_headers => true}


*** User 2024-03-11 11:34:47.396 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:34:47.396 ***🔗
kate_admin_get_last_messages_with_1283@localhost/res1 in
</stream:stream>

*** User 2024-03-11 11:34:47.396 ***🔗
bob_admin_get_last_messages_with_1283@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:34:47.397 ***🔗
bob_admin_get_last_messages_with_1283@localhost/res1 in
</stream:stream>

*** User 2024-03-11 11:34:47.397 ***🔗
alice_admin_get_last_messages_with_1283@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:34:47.397 ***🔗
alice_admin_get_last_messages_with_1283@localhost/res1 in
</stream:stream>
*** CT 2024-03-11 11:34:47.398 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1856.html



=== Ended at 2024-03-11 11:34:47
=== successfully completed test case
=== === Returned value: ok