=== Test case: rest_client_SUITE:chat_markers_are_archived_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.87493.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"odbc_mssql_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@f9de24452ab3.2024-04-10_11.46.55/big_tests.tests.rest_client_SUITE.logs/run.2024-04-10_12.02.28/rest_client_suite.chat_markers_are_archived_in_room.68869.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@f9de24452ab3.2024-04-10_11.46.55/big_tests.tests.rest_client_SUITE.logs/run.2024-04-10_12.02.28/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_amp => #{},
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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f9de24452ab3.2024-04-10_11.46.55"
=== Started at 2024-04-10 12:02:28
*** User 2024-04-10 12:02:28.971 ***🔗
alicE_chat_markers_are_archived_in_room_3338@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-10 12:02:28.972 ***🔗
alicE_chat_markers_are_archived_in_room_3338@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='435cd336169bb357' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:02:28.972 ***🔗
alicE_chat_markers_are_archived_in_room_3338@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-10 12:02:28.972 ***🔗
alicE_chat_markers_are_archived_in_room_3338@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzM4AG1hdHlncnlzYQ==</auth>
*** User 2024-04-10 12:02:28.974 ***🔗
alicE_chat_markers_are_archived_in_room_3338@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:02:28.974 ***🔗
alicE_chat_markers_are_archived_in_room_3338@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-10 12:02:28.975 ***🔗
alicE_chat_markers_are_archived_in_room_3338@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='724963f1be227faa' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3338@localhost'>
*** User 2024-04-10 12:02:28.975 ***🔗
alicE_chat_markers_are_archived_in_room_3338@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-10 12:02:28.975 ***🔗
alicE_chat_markers_are_archived_in_room_3338@localhost/res1 out
<iq type='set' id='637e29df431f28f0d0a91a20a916c4c2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:02:28.976 ***🔗
alicE_chat_markers_are_archived_in_room_3338@localhost/res1 in
<iq id='637e29df431f28f0d0a91a20a916c4c2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_chat_markers_are_archived_in_room_3338@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:02:28.977 ***🔗
alice_chat_markers_are_archived_in_room_3338@localhost/res1 out
<iq type='set' id='bbb2bcf5a6968bbb592f75ac67d81e06'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:02:28.977 ***🔗
alice_chat_markers_are_archived_in_room_3338@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3338@localhost/res1' id='bbb2bcf5a6968bbb592f75ac67d81e06' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:02:28.978 ***🔗
alice_chat_markers_are_archived_in_room_3338@localhost/res1 out
<presence/>
*** User 2024-04-10 12:02:28.981 ***🔗
alice_chat_markers_are_archived_in_room_3338@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3338@localhost/res1' to='alice_chat_markers_are_archived_in_room_3338@localhost/res1'/>
*** User 2024-04-10 12:02:28.982 ***🔗
bOb_chat_markers_are_archived_in_room_3338@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-10 12:02:28.983 ***🔗
bOb_chat_markers_are_archived_in_room_3338@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c64b4fcb971cf2b0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 12:02:28.983 ***🔗
bOb_chat_markers_are_archived_in_room_3338@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-10 12:02:28.983 ***🔗
bOb_chat_markers_are_archived_in_room_3338@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzMzOABtYWtyb2xpa2E=</auth>
*** User 2024-04-10 12:02:28.985 ***🔗
bOb_chat_markers_are_archived_in_room_3338@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 12:02:28.985 ***🔗
bOb_chat_markers_are_archived_in_room_3338@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-10 12:02:28.986 ***🔗
bOb_chat_markers_are_archived_in_room_3338@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='234d18db79395d96' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3338@localhost'>
*** User 2024-04-10 12:02:28.986 ***🔗
bOb_chat_markers_are_archived_in_room_3338@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-10 12:02:28.986 ***🔗
bOb_chat_markers_are_archived_in_room_3338@localhost/res1 out
<iq type='set' id='f2912f03fa7bbc87187f33b2c31736c5'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 12:02:28.989 ***🔗
bOb_chat_markers_are_archived_in_room_3338@localhost/res1 in
<iq id='f2912f03fa7bbc87187f33b2c31736c5' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_chat_markers_are_archived_in_room_3338@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 12:02:28.989 ***🔗
bob_chat_markers_are_archived_in_room_3338@localhost/res1 out
<iq type='set' id='c5630003d55629b5d309d94909efedd4'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:02:29.051 ***🔗
bob_chat_markers_are_archived_in_room_3338@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3338@localhost/res1' id='c5630003d55629b5d309d94909efedd4' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 12:02:29.051 ***🔗
bob_chat_markers_are_archived_in_room_3338@localhost/res1 out
<presence/>
*** User 2024-04-10 12:02:29.055 ***🔗
bob_chat_markers_are_archived_in_room_3338@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3338@localhost/res1' to='bob_chat_markers_are_archived_in_room_3338@localhost/res1'/>
*** User 2024-04-10 12:02:29.079 ***🔗
REST request:
Code: 201
Req: {<0.87943.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e34729bfb0097fc6">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzMzhAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 12:02:28 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"26">>}],
<<"{\"id\":\"1712-750549-64339\"}">>,155,17951}
Params: #{path => <<"/api/rooms">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
method => <<"POST">>,role => client,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3338@localhost">>,
<<"matygrysa">>},
return_headers => true}
*** User 2024-04-10 12:02:29.179 ***🔗
REST request:
Code: 204
Req: {<0.88075.0>,<<"/api/rooms/1712-750549-64339/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"81882e07ec7b4c93">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzMzhAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3338@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 12:02:28 GMT">>}],
<<>>,80,26245}
Params: #{path => <<"/api/rooms/1712-750549-64339/users">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3338@localhost\"}">>,
method => <<"POST">>,role => client,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3338@localhost">>,
<<"matygrysa">>},
return_headers => true}
*** User 2024-04-10 12:02:29.179 ***🔗
bob_chat_markers_are_archived_in_room_3338@localhost/res1 in
<message from='1712-750549-64339@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3338@localhost' id='dfc600ec-0994-42b5-9d28-f5a1b54da845' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1712-750549-161922</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3338@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-10 12:02:29.179 ***🔗
alice_chat_markers_are_archived_in_room_3338@localhost/res1 in
<message from='1712-750549-64339@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3338@localhost' id='dfc600ec-0994-42b5-9d28-f5a1b54da845' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1712-750549-64332</prev-version>
<version>1712-750549-161922</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3338@localhost</user>
</x>
<body/>
<stanza-id by='1712-750549-64339@muclight.localhost' id='C5DSQ0941HO1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 12:02:29.264 ***🔗
REST request:
Code: 200
Req: {<0.88245.0>,<<"/api/rooms/1712-750549-64339/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"785aa938239b1159">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 12:02:28 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"ca910f06-9776-463b-8207-c5b04fea3721\"}">>,169,12597}
Params: #{path => <<"/api/rooms/1712-750549-64339/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3338@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-10 12:02:29.265 ***🔗
alice_chat_markers_are_archived_in_room_3338@localhost/res1 in
<message from='1712-750549-64339@muclight.localhost/bob_chat_markers_are_archived_in_room_3338@localhost' to='alice_chat_markers_are_archived_in_room_3338@localhost' id='ca910f06-9776-463b-8207-c5b04fea3721' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-750549-64339@muclight.localhost' id='C5DSQ09RTA81' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 12:02:29.265 ***🔗
bob_chat_markers_are_archived_in_room_3338@localhost/res1 in
<message from='1712-750549-64339@muclight.localhost/bob_chat_markers_are_archived_in_room_3338@localhost' to='bob_chat_markers_are_archived_in_room_3338@localhost' id='ca910f06-9776-463b-8207-c5b04fea3721' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-750549-64339@muclight.localhost' id='C5DSQ09RTA81' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 12:02:29.274 ***🔗
REST request:
Code: 200
Req: {<0.88327.0>,<<"/api/rooms/1712-750549-64339/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c0bb5ea22ed1f22b">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 12:02:28 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"f9b06bc1-f226-4dd9-a77b-34e08c816a46\"}">>,169,3883}
Params: #{path => <<"/api/rooms/1712-750549-64339/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3338@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-10 12:02:29.274 ***🔗
alice_chat_markers_are_archived_in_room_3338@localhost/res1 in
<message from='1712-750549-64339@muclight.localhost/bob_chat_markers_are_archived_in_room_3338@localhost' to='alice_chat_markers_are_archived_in_room_3338@localhost' id='f9b06bc1-f226-4dd9-a77b-34e08c816a46' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-750549-64339@muclight.localhost' id='C5DSQ0A0A281' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 12:02:29.274 ***🔗
bob_chat_markers_are_archived_in_room_3338@localhost/res1 in
<message from='1712-750549-64339@muclight.localhost/bob_chat_markers_are_archived_in_room_3338@localhost' to='bob_chat_markers_are_archived_in_room_3338@localhost' id='f9b06bc1-f226-4dd9-a77b-34e08c816a46' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-750549-64339@muclight.localhost' id='C5DSQ0A0A281' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 12:02:29.350 ***🔗
REST request:
Code: 200
Req: {<0.88346.0>,<<"/api/rooms/1712-750549-64339/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"bd2e1840a1199551">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzM4QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 12:02:28 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"06fd0f52-c576-4f24-90a0-9caac0045970\"}">>,169,71350}
Params: #{path => <<"/api/rooms/1712-750549-64339/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3338@localhost">>,
<<"makrolika">>},
return_headers => true}
Could not find element wait_for_parallel_writer in Config.
*** User 2024-04-10 12:02:29.350 ***🔗
alice_chat_markers_are_archived_in_room_3338@localhost/res1 in
<message from='1712-750549-64339@muclight.localhost/bob_chat_markers_are_archived_in_room_3338@localhost' to='alice_chat_markers_are_archived_in_room_3338@localhost' id='06fd0f52-c576-4f24-90a0-9caac0045970' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-750549-64339@muclight.localhost' id='C5DSQ0A2L701' xmlns='urn:xmpp:sid:0'/>
</message>
Could not find element archive_wait in Config.
*** User 2024-04-10 12:02:29.350 ***🔗
bob_chat_markers_are_archived_in_room_3338@localhost/res1 in
<message from='1712-750549-64339@muclight.localhost/bob_chat_markers_are_archived_in_room_3338@localhost' to='bob_chat_markers_are_archived_in_room_3338@localhost' id='06fd0f52-c576-4f24-90a0-9caac0045970' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-750549-64339@muclight.localhost' id='C5DSQ0A2L701' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 12:02:29.358 ***🔗
REST request:
Code: 200
Req: {<0.88383.0>,<<"/api/rooms/1712-750549-64339/messages">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4e724254751648c5">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzMzhAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 12:02:28 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"857">>}],
<<"[{\"affiliation\":\"member\",\"from\":\"1712-750549-64339@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3338@localhost\",\"type\":\"affiliation\",\"timestamp\":1712750549156,\"id\":\"dfc600ec-0994-42b5-9d28-f5a1b54da845\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3338@localhost\",\"type\":\"message\",\"timestamp\":1712750549253,\"id\":\"ca910f06-9776-463b-8207-c5b04fea3721\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3338@localhost\",\"type\":\"message\",\"timestamp\":1712750549271,\"id\":\"f9b06bc1-f226-4dd9-a77b-34e08c816a46\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3338@localhost\",\"type\":\"message\",\"timestamp\":1712750549281,\"id\":\"06fd0f52-c576-4f24-90a0-9caac0045970\"}]">>,
982,2053}
Params: #{path => <<"/api/rooms/1712-750549-64339/messages">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => client,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3338@localhost">>,
<<"matygrysa">>},
return_headers => true}
*** User 2024-04-10 12:02:29.358 ***🔗
bob_chat_markers_are_archived_in_room_3338@localhost/res1 out
</stream:stream>
*** User 2024-04-10 12:02:29.358 ***🔗
bob_chat_markers_are_archived_in_room_3338@localhost/res1 in
</stream:stream>
*** User 2024-04-10 12:02:29.358 ***🔗
alice_chat_markers_are_archived_in_room_3338@localhost/res1 out
</stream:stream>
*** User 2024-04-10 12:02:29.359 ***🔗
alice_chat_markers_are_archived_in_room_3338@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-10 12:02:29
=== successfully completed test case
=== === Returned value: ok