=== Test case: rest_client_SUITE:chat_markers_are_archived_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.88548.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@2296c5c99be9.2024-03-21_07.45.39/big_tests.tests.rest_client_SUITE.logs/run.2024-03-21_08.02.25/rest_client_suite.chat_markers_are_archived_in_room.228610.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@2296c5c99be9.2024-03-21_07.45.39/big_tests.tests.rest_client_SUITE.logs/run.2024-03-21_08.02.25/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_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_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_presence => #{},
mod_stream_management =>
#{buffer => true,ack => true,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
buffer_max => 100,ack_freq => 1,resume_timeout => 600,
backend => mnesia},
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@2296c5c99be9.2024-03-21_07.45.39"
=== Started at 2024-03-21 08:02:25
*** User 2024-03-21 08:02:26.060 ***🔗
alicE_chat_markers_are_archived_in_room_3356@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-21 08:02:26.111 ***🔗
alicE_chat_markers_are_archived_in_room_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='43750a3de899ce68' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:02:26.111 ***🔗
alicE_chat_markers_are_archived_in_room_3356@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-21 08:02:26.112 ***🔗
alicE_chat_markers_are_archived_in_room_3356@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzU2AG1hdHlncnlzYQ==</auth>
*** User 2024-03-21 08:02:26.114 ***🔗
alicE_chat_markers_are_archived_in_room_3356@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:02:26.114 ***🔗
alicE_chat_markers_are_archived_in_room_3356@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-21 08:02:26.115 ***🔗
alicE_chat_markers_are_archived_in_room_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d6d2f4e92148029' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3356@localhost'>
*** User 2024-03-21 08:02:26.115 ***🔗
alicE_chat_markers_are_archived_in_room_3356@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-21 08:02:26.115 ***🔗
alicE_chat_markers_are_archived_in_room_3356@localhost/res1 out
<iq type='set' id='e6c9846823d3a9f7674bb996d2f4b1f2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:02:26.116 ***🔗
alicE_chat_markers_are_archived_in_room_3356@localhost/res1 in
<iq id='e6c9846823d3a9f7674bb996d2f4b1f2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_chat_markers_are_archived_in_room_3356@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:02:26.116 ***🔗
alice_chat_markers_are_archived_in_room_3356@localhost/res1 out
<iq type='set' id='48e3237c4dfa623353075d0ab39c3d48'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:02:26.116 ***🔗
alice_chat_markers_are_archived_in_room_3356@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3356@localhost/res1' id='48e3237c4dfa623353075d0ab39c3d48' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:02:26.117 ***🔗
alice_chat_markers_are_archived_in_room_3356@localhost/res1 out
<presence/>
*** User 2024-03-21 08:02:26.129 ***🔗
alice_chat_markers_are_archived_in_room_3356@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3356@localhost/res1' to='alice_chat_markers_are_archived_in_room_3356@localhost/res1'/>
*** User 2024-03-21 08:02:26.130 ***🔗
bOb_chat_markers_are_archived_in_room_3356@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-21 08:02:26.132 ***🔗
bOb_chat_markers_are_archived_in_room_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a95cd4586a12117' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 08:02:26.132 ***🔗
bOb_chat_markers_are_archived_in_room_3356@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-21 08:02:26.132 ***🔗
bOb_chat_markers_are_archived_in_room_3356@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzM1NgBtYWtyb2xpa2E=</auth>
*** User 2024-03-21 08:02:26.142 ***🔗
bOb_chat_markers_are_archived_in_room_3356@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 08:02:26.142 ***🔗
bOb_chat_markers_are_archived_in_room_3356@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-21 08:02:26.143 ***🔗
bOb_chat_markers_are_archived_in_room_3356@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7bce517a12c096ba' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3356@localhost'>
*** User 2024-03-21 08:02:26.143 ***🔗
bOb_chat_markers_are_archived_in_room_3356@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-21 08:02:26.143 ***🔗
bOb_chat_markers_are_archived_in_room_3356@localhost/res1 out
<iq type='set' id='a4042aa4911259251c3b3ef61ba07b53'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 08:02:26.145 ***🔗
bOb_chat_markers_are_archived_in_room_3356@localhost/res1 in
<iq id='a4042aa4911259251c3b3ef61ba07b53' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_chat_markers_are_archived_in_room_3356@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 08:02:26.145 ***🔗
bob_chat_markers_are_archived_in_room_3356@localhost/res1 out
<iq type='set' id='459102667398b01c44e50117c1e800d8'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:02:26.146 ***🔗
bob_chat_markers_are_archived_in_room_3356@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3356@localhost/res1' id='459102667398b01c44e50117c1e800d8' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 08:02:26.146 ***🔗
bob_chat_markers_are_archived_in_room_3356@localhost/res1 out
<presence/>
*** User 2024-03-21 08:02:26.210 ***🔗
bob_chat_markers_are_archived_in_room_3356@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3356@localhost/res1' to='bob_chat_markers_are_archived_in_room_3356@localhost/res1'/>
*** User 2024-03-21 08:02:26.235 ***🔗
REST request:
Code: 201
Req: {<0.89066.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"49d51b249eb6fd01">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzNTZAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:02:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"25">>}],
<<"{\"id\":\"1711-8146-227301\"}">>,154,12177}
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_3356@localhost">>,
<<"matygrysa">>},
return_headers => true}
*** User 2024-03-21 08:02:26.319 ***🔗
REST request:
Code: 204
Req: {<0.89188.0>,<<"/api/rooms/1711-8146-227301/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9c76acdbeab7dca7">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzNTZAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3356@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:02:25 GMT">>}],
<<>>,80,76846}
Params: #{path => <<"/api/rooms/1711-8146-227301/users">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3356@localhost\"}">>,
method => <<"POST">>,role => client,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3356@localhost">>,
<<"matygrysa">>},
return_headers => true}
*** User 2024-03-21 08:02:26.319 ***🔗
bob_chat_markers_are_archived_in_room_3356@localhost/res1 in
<message from='1711-8146-227301@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3356@localhost' id='a95b472a-81f6-4eb5-8d68-99321d084b65' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1711-8146-312235</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3356@localhost</user>
</x>
<body/>
</message>
*** User 2024-03-21 08:02:26.319 ***🔗
alice_chat_markers_are_archived_in_room_3356@localhost/res1 in
<message from='1711-8146-227301@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3356@localhost' id='a95b472a-81f6-4eb5-8d68-99321d084b65' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1711-8146-227294</prev-version>
<version>1711-8146-312235</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3356@localhost</user>
</x>
<body/>
<stanza-id by='1711-8146-227301@muclight.localhost' id='C517431T4P01' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-21 08:02:26.334 ***🔗
REST request:
Code: 200
Req: {<0.89290.0>,<<"/api/rooms/1711-8146-227301/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3e0481adf3a9928d">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:02:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"8a7b298f-77ae-4a64-8a2b-1d579021b8e4\"}">>,169,7820}
Params: #{path => <<"/api/rooms/1711-8146-227301/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3356@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-21 08:02:26.335 ***🔗
alice_chat_markers_are_archived_in_room_3356@localhost/res1 in
<message from='1711-8146-227301@muclight.localhost/bob_chat_markers_are_archived_in_room_3356@localhost' to='alice_chat_markers_are_archived_in_room_3356@localhost' id='8a7b298f-77ae-4a64-8a2b-1d579021b8e4' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1711-8146-227301@muclight.localhost' id='C517432GT7G1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-21 08:02:26.335 ***🔗
bob_chat_markers_are_archived_in_room_3356@localhost/res1 in
<message from='1711-8146-227301@muclight.localhost/bob_chat_markers_are_archived_in_room_3356@localhost' to='bob_chat_markers_are_archived_in_room_3356@localhost' id='8a7b298f-77ae-4a64-8a2b-1d579021b8e4' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1711-8146-227301@muclight.localhost' id='C517432GT7G1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-21 08:02:26.346 ***🔗
REST request:
Code: 200
Req: {<0.89347.0>,<<"/api/rooms/1711-8146-227301/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"6d3346ead74e40ba">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:02:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"f1f2d0fb-d6ab-4b4d-a144-e2182012e044\"}">>,169,5104}
Params: #{path => <<"/api/rooms/1711-8146-227301/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3356@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-21 08:02:26.347 ***🔗
alice_chat_markers_are_archived_in_room_3356@localhost/res1 in
<message from='1711-8146-227301@muclight.localhost/bob_chat_markers_are_archived_in_room_3356@localhost' to='alice_chat_markers_are_archived_in_room_3356@localhost' id='f1f2d0fb-d6ab-4b4d-a144-e2182012e044' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1711-8146-227301@muclight.localhost' id='C517432KLEG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-21 08:02:26.347 ***🔗
bob_chat_markers_are_archived_in_room_3356@localhost/res1 in
<message from='1711-8146-227301@muclight.localhost/bob_chat_markers_are_archived_in_room_3356@localhost' to='bob_chat_markers_are_archived_in_room_3356@localhost' id='f1f2d0fb-d6ab-4b4d-a144-e2182012e044' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1711-8146-227301@muclight.localhost' id='C517432KLEG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-21 08:02:26.416 ***🔗
REST request:
Code: 200
Req: {<0.89400.0>,<<"/api/rooms/1711-8146-227301/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8a54a5360f0928b9">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzU2QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:02:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"e423e7b8-eaee-447d-93ce-83e40d51cb32\"}">>,169,64621}
Params: #{path => <<"/api/rooms/1711-8146-227301/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3356@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-03-21 08:02:26.417 ***🔗
alice_chat_markers_are_archived_in_room_3356@localhost/res1 in
<message from='1711-8146-227301@muclight.localhost/bob_chat_markers_are_archived_in_room_3356@localhost' to='alice_chat_markers_are_archived_in_room_3356@localhost' id='e423e7b8-eaee-447d-93ce-83e40d51cb32' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1711-8146-227301@muclight.localhost' id='C5174335QGO1' 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-03-21 08:02:26.417 ***🔗
bob_chat_markers_are_archived_in_room_3356@localhost/res1 in
<message from='1711-8146-227301@muclight.localhost/bob_chat_markers_are_archived_in_room_3356@localhost' to='bob_chat_markers_are_archived_in_room_3356@localhost' id='e423e7b8-eaee-447d-93ce-83e40d51cb32' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1711-8146-227301@muclight.localhost' id='C5174335QGO1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-21 08:02:26.424 ***🔗
REST request:
Code: 200
Req: {<0.89440.0>,<<"/api/rooms/1711-8146-227301/messages">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"43bdf4e3c9323629">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzNTZAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 08:02:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"856">>}],
<<"[{\"affiliation\":\"member\",\"from\":\"1711-8146-227301@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3356@localhost\",\"type\":\"affiliation\",\"timestamp\":1711008146248,\"id\":\"a95b472a-81f6-4eb5-8d68-99321d084b65\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3356@localhost\",\"type\":\"message\",\"timestamp\":1711008146329,\"id\":\"8a7b298f-77ae-4a64-8a2b-1d579021b8e4\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3356@localhost\",\"type\":\"message\",\"timestamp\":1711008146344,\"id\":\"f1f2d0fb-d6ab-4b4d-a144-e2182012e044\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3356@localhost\",\"type\":\"message\",\"timestamp\":1711008146414,\"id\":\"e423e7b8-eaee-447d-93ce-83e40d51cb32\"}]">>,
981,1962}
Params: #{path => <<"/api/rooms/1711-8146-227301/messages">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => client,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3356@localhost">>,
<<"matygrysa">>},
return_headers => true}
*** User 2024-03-21 08:02:26.424 ***🔗
bob_chat_markers_are_archived_in_room_3356@localhost/res1 out
</stream:stream>
*** User 2024-03-21 08:02:26.424 ***🔗
bob_chat_markers_are_archived_in_room_3356@localhost/res1 in
</stream:stream>
*** User 2024-03-21 08:02:26.425 ***🔗
alice_chat_markers_are_archived_in_room_3356@localhost/res1 out
</stream:stream>
*** User 2024-03-21 08:02:26.425 ***🔗
alice_chat_markers_are_archived_in_room_3356@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-21 08:02:26
=== successfully completed test case
=== === Returned value: ok