=== Test case: rest_client_SUITE:chat_markers_are_archived_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.104578.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@d67ced1141dd.2024-04-16_10.12.40/big_tests.tests.rest_client_SUITE.logs/run.2024-04-16_10.31.23/rest_client_suite.chat_markers_are_archived_in_room.125061.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@d67ced1141dd.2024-04-16_10.12.40/big_tests.tests.rest_client_SUITE.logs/run.2024-04-16_10.31.23/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_sic => #{iqdisc => one_queue},
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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,server_info => [],extra_domains => [],
users_can_see_hidden_services => false},
mod_stream_management =>
#{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
ack_freq => 1,
stale_h =>
#{enabled => false,repeat_after => 1800,geriatric => 3600},
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@d67ced1141dd.2024-04-16_10.12.40"
=== Started at 2024-04-16 10:31:24
*** User 2024-04-16 10:31:24.475 ***🔗
alicE_chat_markers_are_archived_in_room_4165@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-16 10:31:24.476 ***🔗
alicE_chat_markers_are_archived_in_room_4165@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca627a6049b4e0d6' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:31:24.477 ***🔗
alicE_chat_markers_are_archived_in_room_4165@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-16 10:31:24.477 ***🔗
alicE_chat_markers_are_archived_in_room_4165@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV80MTY1AG1hdHlncnlzYQ==</auth>
*** User 2024-04-16 10:31:24.479 ***🔗
alicE_chat_markers_are_archived_in_room_4165@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:31:24.480 ***🔗
alicE_chat_markers_are_archived_in_room_4165@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-16 10:31:24.480 ***🔗
alicE_chat_markers_are_archived_in_room_4165@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f9b2bafeae1bd8bb' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_4165@localhost'>
*** User 2024-04-16 10:31:24.481 ***🔗
alicE_chat_markers_are_archived_in_room_4165@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-16 10:31:24.481 ***🔗
alicE_chat_markers_are_archived_in_room_4165@localhost/res1 out
<iq type='set' id='a3fcca80bd218188b5f9162844082869'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:31:24.482 ***🔗
alicE_chat_markers_are_archived_in_room_4165@localhost/res1 in
<iq id='a3fcca80bd218188b5f9162844082869' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_chat_markers_are_archived_in_room_4165@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:31:24.482 ***🔗
alice_chat_markers_are_archived_in_room_4165@localhost/res1 out
<iq type='set' id='1fcc66aed707e5ea4e11d705dcc3801c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:24.483 ***🔗
alice_chat_markers_are_archived_in_room_4165@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_4165@localhost/res1' id='1fcc66aed707e5ea4e11d705dcc3801c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:24.483 ***🔗
alice_chat_markers_are_archived_in_room_4165@localhost/res1 out
<presence/>
*** User 2024-04-16 10:31:24.492 ***🔗
alice_chat_markers_are_archived_in_room_4165@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_4165@localhost/res1' to='alice_chat_markers_are_archived_in_room_4165@localhost/res1'/>
*** User 2024-04-16 10:31:24.493 ***🔗
bOb_chat_markers_are_archived_in_room_4165@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-16 10:31:24.563 ***🔗
bOb_chat_markers_are_archived_in_room_4165@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d6967c2896235c8b' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 10:31:24.564 ***🔗
bOb_chat_markers_are_archived_in_room_4165@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-16 10:31:24.564 ***🔗
bOb_chat_markers_are_archived_in_room_4165@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fNDE2NQBtYWtyb2xpa2E=</auth>
*** User 2024-04-16 10:31:24.566 ***🔗
bOb_chat_markers_are_archived_in_room_4165@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 10:31:24.566 ***🔗
bOb_chat_markers_are_archived_in_room_4165@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-16 10:31:24.567 ***🔗
bOb_chat_markers_are_archived_in_room_4165@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='720f054303bd64df' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_4165@localhost'>
*** User 2024-04-16 10:31:24.567 ***🔗
bOb_chat_markers_are_archived_in_room_4165@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-16 10:31:24.568 ***🔗
bOb_chat_markers_are_archived_in_room_4165@localhost/res1 out
<iq type='set' id='6cadafa99db317b8c4eb10ecb86a91b9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 10:31:24.568 ***🔗
bOb_chat_markers_are_archived_in_room_4165@localhost/res1 in
<iq id='6cadafa99db317b8c4eb10ecb86a91b9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_chat_markers_are_archived_in_room_4165@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 10:31:24.569 ***🔗
bob_chat_markers_are_archived_in_room_4165@localhost/res1 out
<iq type='set' id='53c23200275bae013bb95f8f968a29f5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:24.570 ***🔗
bob_chat_markers_are_archived_in_room_4165@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_4165@localhost/res1' id='53c23200275bae013bb95f8f968a29f5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 10:31:24.571 ***🔗
bob_chat_markers_are_archived_in_room_4165@localhost/res1 out
<presence/>
*** User 2024-04-16 10:31:24.578 ***🔗
bob_chat_markers_are_archived_in_room_4165@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_4165@localhost/res1' to='bob_chat_markers_are_archived_in_room_4165@localhost/res1'/>
*** User 2024-04-16 10:31:24.668 ***🔗
REST request:
Code: 201
Req: {<0.105028.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c25d8486475a7549">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzQxNjVAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:31:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"27">>}],
<<"{\"id\":\"1713-263484-588928\"}">>,156,82450}
Params: #{path => <<"/api/rooms">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_chat_markers_are_archived_in_room_4165@localhost">>,
<<"matygrysa">>},
body =>
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
role => client,method => <<"POST">>,return_headers => true}
*** User 2024-04-16 10:31:24.788 ***🔗
REST request:
Code: 204
Req: {<0.105127.0>,<<"/api/rooms/1713-263484-588928/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"7f8cb55da75c9d93">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzQxNjVAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_4165@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:31:24 GMT">>}],
<<>>,80,113581}
Params: #{path => <<"/api/rooms/1713-263484-588928/users">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_chat_markers_are_archived_in_room_4165@localhost">>,
<<"matygrysa">>},
body =>
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_4165@localhost\"}">>,
role => client,method => <<"POST">>,return_headers => true}
*** User 2024-04-16 10:31:24.788 ***🔗
bob_chat_markers_are_archived_in_room_4165@localhost/res1 in
<message from='1713-263484-588928@muclight.localhost' to='bob_chat_markers_are_archived_in_room_4165@localhost' id='65ea0edc-30e7-41a2-b60f-2b96032e3e84' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1713-263484-698381</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_4165@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-16 10:31:24.788 ***🔗
alice_chat_markers_are_archived_in_room_4165@localhost/res1 in
<message from='1713-263484-588928@muclight.localhost' to='alice_chat_markers_are_archived_in_room_4165@localhost' id='65ea0edc-30e7-41a2-b60f-2b96032e3e84' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1713-263484-588918</prev-version>
<version>1713-263484-698381</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_4165@localhost</user>
</x>
<body/>
<stanza-id by='1713-263484-588928@muclight.localhost' id='C5HK7LKL7801' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 10:31:24.874 ***🔗
REST request:
Code: 200
Req: {<0.105295.0>,<<"/api/rooms/1713-263484-588928/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"7b33cf465c698fac">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV80MTY1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:31:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"c5af5d50-6529-4bbb-b413-cdce9569d820\"}">>,169,78951}
Params: #{path => <<"/api/rooms/1713-263484-588928/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_chat_markers_are_archived_in_room_4165@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
role => client,method => <<"POST">>,return_headers => true}
*** User 2024-04-16 10:31:24.875 ***🔗
alice_chat_markers_are_archived_in_room_4165@localhost/res1 in
<message from='1713-263484-588928@muclight.localhost/bob_chat_markers_are_archived_in_room_4165@localhost' to='alice_chat_markers_are_archived_in_room_4165@localhost' id='c5af5d50-6529-4bbb-b413-cdce9569d820' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-263484-588928@muclight.localhost' id='C5HK7LLGNMO1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 10:31:24.875 ***🔗
bob_chat_markers_are_archived_in_room_4165@localhost/res1 in
<message from='1713-263484-588928@muclight.localhost/bob_chat_markers_are_archived_in_room_4165@localhost' to='bob_chat_markers_are_archived_in_room_4165@localhost' id='c5af5d50-6529-4bbb-b413-cdce9569d820' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-263484-588928@muclight.localhost' id='C5HK7LLGNMO1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 10:31:24.898 ***🔗
REST request:
Code: 200
Req: {<0.105389.0>,<<"/api/rooms/1713-263484-588928/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e7ef00b5ab457970">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV80MTY1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:31:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"d2586181-3506-4060-bb51-27a1db817b54\"}">>,169,15070}
Params: #{path => <<"/api/rooms/1713-263484-588928/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_chat_markers_are_archived_in_room_4165@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
role => client,method => <<"POST">>,return_headers => true}
*** User 2024-04-16 10:31:24.898 ***🔗
alice_chat_markers_are_archived_in_room_4165@localhost/res1 in
<message from='1713-263484-588928@muclight.localhost/bob_chat_markers_are_archived_in_room_4165@localhost' to='alice_chat_markers_are_archived_in_room_4165@localhost' id='d2586181-3506-4060-bb51-27a1db817b54' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-263484-588928@muclight.localhost' id='C5HK7LM7E1O1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 10:31:24.898 ***🔗
bob_chat_markers_are_archived_in_room_4165@localhost/res1 in
<message from='1713-263484-588928@muclight.localhost/bob_chat_markers_are_archived_in_room_4165@localhost' to='bob_chat_markers_are_archived_in_room_4165@localhost' id='d2586181-3506-4060-bb51-27a1db817b54' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-263484-588928@muclight.localhost' id='C5HK7LM7E1O1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 10:31:24.976 ***🔗
REST request:
Code: 200
Req: {<0.105436.0>,<<"/api/rooms/1713-263484-588928/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2d1d3f9a2e354a9b">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV80MTY1QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:31:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"b795cf96-f33a-4a76-b156-519531b5f8e4\"}">>,169,6667}
Params: #{path => <<"/api/rooms/1713-263484-588928/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_chat_markers_are_archived_in_room_4165@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
role => client,method => <<"POST">>,return_headers => true}
*** User 2024-04-16 10:31:24.976 ***🔗
alice_chat_markers_are_archived_in_room_4165@localhost/res1 in
<message from='1713-263484-588928@muclight.localhost/bob_chat_markers_are_archived_in_room_4165@localhost' to='alice_chat_markers_are_archived_in_room_4165@localhost' id='b795cf96-f33a-4a76-b156-519531b5f8e4' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-263484-588928@muclight.localhost' id='C5HK7LMQJL01' 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-16 10:31:24.976 ***🔗
bob_chat_markers_are_archived_in_room_4165@localhost/res1 in
<message from='1713-263484-588928@muclight.localhost/bob_chat_markers_are_archived_in_room_4165@localhost' to='bob_chat_markers_are_archived_in_room_4165@localhost' id='b795cf96-f33a-4a76-b156-519531b5f8e4' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-263484-588928@muclight.localhost' id='C5HK7LMQJL01' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 10:31:24.988 ***🔗
REST request:
Code: 200
Req: {<0.105467.0>,<<"/api/rooms/1713-263484-588928/messages">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4006eccd899f891a">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzQxNjVAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 10:31:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"858">>}],
<<"[{\"affiliation\":\"member\",\"from\":\"1713-263484-588928@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_4165@localhost\",\"type\":\"affiliation\",\"timestamp\":1713263484687,\"id\":\"65ea0edc-30e7-41a2-b60f-2b96032e3e84\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_4165@localhost\",\"type\":\"message\",\"timestamp\":1713263484799,\"id\":\"c5af5d50-6529-4bbb-b413-cdce9569d820\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_4165@localhost\",\"type\":\"message\",\"timestamp\":1713263484892,\"id\":\"d2586181-3506-4060-bb51-27a1db817b54\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_4165@localhost\",\"type\":\"message\",\"timestamp\":1713263484971,\"id\":\"b795cf96-f33a-4a76-b156-519531b5f8e4\"}]">>,
983,4052}
Params: #{path => <<"/api/rooms/1713-263484-588928/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_chat_markers_are_archived_in_room_4165@localhost">>,
<<"matygrysa">>},
body => <<>>,role => client,method => <<"GET">>,
return_headers => true}
*** User 2024-04-16 10:31:24.988 ***🔗
bob_chat_markers_are_archived_in_room_4165@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:31:24.989 ***🔗
bob_chat_markers_are_archived_in_room_4165@localhost/res1 in
</stream:stream>
*** User 2024-04-16 10:31:24.989 ***🔗
alice_chat_markers_are_archived_in_room_4165@localhost/res1 out
</stream:stream>
*** User 2024-04-16 10:31:24.989 ***🔗
alice_chat_markers_are_archived_in_room_4165@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 10:31:25
=== successfully completed test case
=== === Returned value: ok