=== Test case: rest_client_SUITE:chat_markers_are_archived_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.88233.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"pgsql_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.rest_client_SUITE.logs/run.2024-04-25_12.18.40/rest_client_suite.chat_markers_are_archived_in_room.250626.html"},
{tc_group_properties,[{name,muc},parallel]},
{tc_group_path,[]},
{data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/rest_client_SUITE_data/"},
{priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@26557528e1a5.2024-04-25_12.01.25/big_tests.tests.rest_client_SUITE.logs/run.2024-04-25_12.18.40/log_private/"},
{{saved_modules,mongooseim@localhost,<<"localhost">>},
#{mod_vcard =>
#{matches => 30,
host => {prefix,<<"vjud.">>},
search => true,iqdisc => parallel,backend => rdbms},
mod_roster =>
#{iqdisc => one_queue,backend => rdbms,versioning => false,
store_current_id => false},
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_sic => #{iqdisc => one_queue},
mod_amp => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
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@26557528e1a5.2024-04-25_12.01.25"
=== Started at 2024-04-25 12:18:41
*** User 2024-04-25 12:18:41.698 ***🔗
alicE_chat_markers_are_archived_in_room_3460@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-04-25 12:18:41.700 ***🔗
alicE_chat_markers_are_archived_in_room_3460@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='abcba4d5e5076577' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:18:41.741 ***🔗
alicE_chat_markers_are_archived_in_room_3460@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-04-25 12:18:41.741 ***🔗
alicE_chat_markers_are_archived_in_room_3460@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zNDYwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-25 12:18:41.746 ***🔗
alicE_chat_markers_are_archived_in_room_3460@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:18:41.749 ***🔗
alicE_chat_markers_are_archived_in_room_3460@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-04-25 12:18:41.752 ***🔗
alicE_chat_markers_are_archived_in_room_3460@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4f323321806cb298' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3460@localhost'>
*** User 2024-04-25 12:18:41.752 ***🔗
alicE_chat_markers_are_archived_in_room_3460@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-04-25 12:18:41.752 ***🔗
alicE_chat_markers_are_archived_in_room_3460@localhost/res1 out
<iq type='set' id='d32cb345e717113365356e1d6026ed34'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:18:41.753 ***🔗
alicE_chat_markers_are_archived_in_room_3460@localhost/res1 in
<iq id='d32cb345e717113365356e1d6026ed34' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_chat_markers_are_archived_in_room_3460@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:18:41.753 ***🔗
alice_chat_markers_are_archived_in_room_3460@localhost/res1 out
<iq type='set' id='a3f40ac3eb46c9fd89febb2823e46fc0'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:41.755 ***🔗
alice_chat_markers_are_archived_in_room_3460@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3460@localhost/res1' id='a3f40ac3eb46c9fd89febb2823e46fc0' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:41.757 ***🔗
alice_chat_markers_are_archived_in_room_3460@localhost/res1 out
<presence/>
*** User 2024-04-25 12:18:41.762 ***🔗
alice_chat_markers_are_archived_in_room_3460@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3460@localhost/res1' to='alice_chat_markers_are_archived_in_room_3460@localhost/res1'/>
*** User 2024-04-25 12:18:41.767 ***🔗
bOb_chat_markers_are_archived_in_room_3460@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-04-25 12:18:41.768 ***🔗
bOb_chat_markers_are_archived_in_room_3460@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a8340a58cab62ee3' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-25 12:18:41.768 ***🔗
bOb_chat_markers_are_archived_in_room_3460@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-04-25 12:18:41.769 ***🔗
bOb_chat_markers_are_archived_in_room_3460@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzQ2MABtYWtyb2xpa2E=</auth>
*** User 2024-04-25 12:18:41.773 ***🔗
bOb_chat_markers_are_archived_in_room_3460@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-25 12:18:41.773 ***🔗
bOb_chat_markers_are_archived_in_room_3460@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-04-25 12:18:41.773 ***🔗
bOb_chat_markers_are_archived_in_room_3460@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='30b34622834351d0' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3460@localhost'>
*** User 2024-04-25 12:18:41.774 ***🔗
bOb_chat_markers_are_archived_in_room_3460@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-04-25 12:18:41.774 ***🔗
bOb_chat_markers_are_archived_in_room_3460@localhost/res1 out
<iq type='set' id='29b12c25b4050546ec0e49476dd977a2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-25 12:18:41.774 ***🔗
bOb_chat_markers_are_archived_in_room_3460@localhost/res1 in
<iq id='29b12c25b4050546ec0e49476dd977a2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_chat_markers_are_archived_in_room_3460@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-25 12:18:41.775 ***🔗
bob_chat_markers_are_archived_in_room_3460@localhost/res1 out
<iq type='set' id='4b03354b2d9051af4bdb93947743d54a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:41.775 ***🔗
bob_chat_markers_are_archived_in_room_3460@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3460@localhost/res1' id='4b03354b2d9051af4bdb93947743d54a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-25 12:18:41.775 ***🔗
bob_chat_markers_are_archived_in_room_3460@localhost/res1 out
<presence/>
*** User 2024-04-25 12:18:41.848 ***🔗
bob_chat_markers_are_archived_in_room_3460@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3460@localhost/res1' to='bob_chat_markers_are_archived_in_room_3460@localhost/res1'/>
*** User 2024-04-25 12:18:41.886 ***🔗
REST request:
Code: 201
Req: {<0.88747.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"442c13e86d3c1cb0">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzM0NjBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 12:18:41 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"26">>}],
<<"{\"id\":\"1714-47521-879198\"}">>,155,13813}
Params: #{path => <<"/api/rooms">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3460@localhost">>,
<<"matygrysa">>},
body =>
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
return_headers => true}
*** User 2024-04-25 12:18:41.964 ***🔗
REST request:
Code: 204
Req: {<0.88855.0>,<<"/api/rooms/1714-47521-879198/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"03171866e2b2113d">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzM0NjBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3460@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 12:18:41 GMT">>}],
<<>>,80,70127}
Params: #{path => <<"/api/rooms/1714-47521-879198/users">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3460@localhost">>,
<<"matygrysa">>},
body =>
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3460@localhost\"}">>,
return_headers => true}
*** User 2024-04-25 12:18:41.964 ***🔗
bob_chat_markers_are_archived_in_room_3460@localhost/res1 in
<message from='1714-47521-879198@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3460@localhost' id='3e4ec2d0-69df-4e21-9cf4-71778ae30112' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1714-47521-949996</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3460@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-25 12:18:41.964 ***🔗
alice_chat_markers_are_archived_in_room_3460@localhost/res1 in
<message from='1714-47521-879198@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3460@localhost' id='3e4ec2d0-69df-4e21-9cf4-71778ae30112' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1714-47521-879190</prev-version>
<version>1714-47521-949996</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3460@localhost</user>
</x>
<body/>
<stanza-id by='1714-47521-879198@muclight.localhost' id='C5NAP6M7SHG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-25 12:18:41.995 ***🔗
REST request:
Code: 200
Req: {<0.88937.0>,<<"/api/rooms/1714-47521-879198/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"22be4923becae8be">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zNDYwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 12:18:41 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"4f444a0e-29c7-49ce-af2f-d5a2541decb1\"}">>,169,19078}
Params: #{path => <<"/api/rooms/1714-47521-879198/messages">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3460@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
return_headers => true}
*** User 2024-04-25 12:18:41.995 ***🔗
alice_chat_markers_are_archived_in_room_3460@localhost/res1 in
<message from='1714-47521-879198@muclight.localhost/bob_chat_markers_are_archived_in_room_3460@localhost' to='alice_chat_markers_are_archived_in_room_3460@localhost' id='4f444a0e-29c7-49ce-af2f-d5a2541decb1' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1714-47521-879198@muclight.localhost' id='C5NAP6MH2UG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-25 12:18:41.995 ***🔗
bob_chat_markers_are_archived_in_room_3460@localhost/res1 in
<message from='1714-47521-879198@muclight.localhost/bob_chat_markers_are_archived_in_room_3460@localhost' to='bob_chat_markers_are_archived_in_room_3460@localhost' id='4f444a0e-29c7-49ce-af2f-d5a2541decb1' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1714-47521-879198@muclight.localhost' id='C5NAP6MH2UG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-25 12:18:42.072 ***🔗
REST request:
Code: 200
Req: {<0.89035.0>,<<"/api/rooms/1714-47521-879198/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0639f276b72ac1e6">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zNDYwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 12:18:41 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"116ef8ac-fd4d-4f25-a4a7-3b1377a136ff\"}">>,169,11500}
Params: #{path => <<"/api/rooms/1714-47521-879198/messages">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3460@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
return_headers => true}
*** User 2024-04-25 12:18:42.072 ***🔗
alice_chat_markers_are_archived_in_room_3460@localhost/res1 in
<message from='1714-47521-879198@muclight.localhost/bob_chat_markers_are_archived_in_room_3460@localhost' to='alice_chat_markers_are_archived_in_room_3460@localhost' id='116ef8ac-fd4d-4f25-a4a7-3b1377a136ff' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1714-47521-879198@muclight.localhost' id='C5NAP6N5BCO1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-25 12:18:42.072 ***🔗
bob_chat_markers_are_archived_in_room_3460@localhost/res1 in
<message from='1714-47521-879198@muclight.localhost/bob_chat_markers_are_archived_in_room_3460@localhost' to='bob_chat_markers_are_archived_in_room_3460@localhost' id='116ef8ac-fd4d-4f25-a4a7-3b1377a136ff' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1714-47521-879198@muclight.localhost' id='C5NAP6N5BCO1' xmlns='urn:xmpp:sid:0'/>
</message>
Could not find element wait_for_parallel_writer in Config.
Could not find element archive_wait in Config.
*** User 2024-04-25 12:18:42.085 ***🔗
REST request:
Code: 200
Req: {<0.89092.0>,<<"/api/rooms/1714-47521-879198/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c88a3811c915f4c5">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zNDYwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 12:18:41 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"fffa2cb3-b681-47c0-80a1-ad31a35ccc06\"}">>,169,4348}
Params: #{path => <<"/api/rooms/1714-47521-879198/messages">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3460@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
return_headers => true}
*** User 2024-04-25 12:18:42.086 ***🔗
alice_chat_markers_are_archived_in_room_3460@localhost/res1 in
<message from='1714-47521-879198@muclight.localhost/bob_chat_markers_are_archived_in_room_3460@localhost' to='alice_chat_markers_are_archived_in_room_3460@localhost' id='fffa2cb3-b681-47c0-80a1-ad31a35ccc06' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1714-47521-879198@muclight.localhost' id='C5NAP6N93EG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-25 12:18:42.086 ***🔗
bob_chat_markers_are_archived_in_room_3460@localhost/res1 in
<message from='1714-47521-879198@muclight.localhost/bob_chat_markers_are_archived_in_room_3460@localhost' to='bob_chat_markers_are_archived_in_room_3460@localhost' id='fffa2cb3-b681-47c0-80a1-ad31a35ccc06' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1714-47521-879198@muclight.localhost' id='C5NAP6N93EG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-25 12:18:42.096 ***🔗
REST request:
Code: 200
Req: {<0.89124.0>,<<"/api/rooms/1714-47521-879198/messages">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d652e81772fb02f7">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzM0NjBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 25 Apr 2024 12:18:41 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"857">>}],
<<"[{\"affiliation\":\"member\",\"from\":\"1714-47521-879198@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3460@localhost\",\"type\":\"affiliation\",\"timestamp\":1714047521947,\"id\":\"3e4ec2d0-69df-4e21-9cf4-71778ae30112\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3460@localhost\",\"type\":\"message\",\"timestamp\":1714047521984,\"id\":\"4f444a0e-29c7-49ce-af2f-d5a2541decb1\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3460@localhost\",\"type\":\"message\",\"timestamp\":1714047522067,\"id\":\"116ef8ac-fd4d-4f25-a4a7-3b1377a136ff\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3460@localhost\",\"type\":\"message\",\"timestamp\":1714047522083,\"id\":\"fffa2cb3-b681-47c0-80a1-ad31a35ccc06\"}]">>,
982,2045}
Params: #{path => <<"/api/rooms/1714-47521-879198/messages">>,
server => #{node => mongooseim@localhost},
method => <<"GET">>,role => client,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3460@localhost">>,
<<"matygrysa">>},
body => <<>>,return_headers => true}
*** User 2024-04-25 12:18:42.096 ***🔗
bob_chat_markers_are_archived_in_room_3460@localhost/res1 out
</stream:stream>
*** User 2024-04-25 12:18:42.096 ***🔗
bob_chat_markers_are_archived_in_room_3460@localhost/res1 in
</stream:stream>
*** User 2024-04-25 12:18:42.096 ***🔗
alice_chat_markers_are_archived_in_room_3460@localhost/res1 out
</stream:stream>
*** User 2024-04-25 12:18:42.098 ***🔗
alice_chat_markers_are_archived_in_room_3460@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-25 12:18:42
=== successfully completed test case
=== === Returned value: ok