=== Test case: rest_client_SUITE:chat_markers_are_archived_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.88033.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@8a2dd56084c3.2024-04-16_12.56.12/big_tests.tests.rest_client_SUITE.logs/run.2024-04-16_13.12.23/rest_client_suite.chat_markers_are_archived_in_room.233474.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@8a2dd56084c3.2024-04-16_12.56.12/big_tests.tests.rest_client_SUITE.logs/run.2024-04-16_13.12.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_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_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_cache_users =>
#{strategy => fifo,number_of_segments => 5,time_to_live => 2},
mod_bosh =>
#{inactivity => 30,max_pause => 120,max_wait => infinity,
server_acks => false,backend => mnesia},
mod_carboncopy => #{iqdisc => no_queue}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@8a2dd56084c3.2024-04-16_12.56.12"
=== Started at 2024-04-16 13:12:24
*** User 2024-04-16 13:12:24.200 ***🔗
alicE_chat_markers_are_archived_in_room_3364@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 13:12:24.201 ***🔗
alicE_chat_markers_are_archived_in_room_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='494716c577526a71' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 13:12:24.201 ***🔗
alicE_chat_markers_are_archived_in_room_3364@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 13:12:24.201 ***🔗
alicE_chat_markers_are_archived_in_room_3364@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzY0AG1hdHlncnlzYQ==</auth>
*** User 2024-04-16 13:12:24.214 ***🔗
alicE_chat_markers_are_archived_in_room_3364@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 13:12:24.215 ***🔗
alicE_chat_markers_are_archived_in_room_3364@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 13:12:24.216 ***🔗
alicE_chat_markers_are_archived_in_room_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7bdc188bf134d16f' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3364@localhost'>
*** User 2024-04-16 13:12:24.216 ***🔗
alicE_chat_markers_are_archived_in_room_3364@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 13:12:24.216 ***🔗
alicE_chat_markers_are_archived_in_room_3364@localhost/res1 out
<iq type='set' id='ad9c2884bc927affd935d117b0c513e1'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 13:12:24.216 ***🔗
alicE_chat_markers_are_archived_in_room_3364@localhost/res1 in
<iq id='ad9c2884bc927affd935d117b0c513e1' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_chat_markers_are_archived_in_room_3364@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 13:12:24.216 ***🔗
alice_chat_markers_are_archived_in_room_3364@localhost/res1 out
<iq type='set' id='f1b4eafc2d208a97ec0110090864c146'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:24.218 ***🔗
alice_chat_markers_are_archived_in_room_3364@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3364@localhost/res1' id='f1b4eafc2d208a97ec0110090864c146' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:24.219 ***🔗
alice_chat_markers_are_archived_in_room_3364@localhost/res1 out
<presence/>
*** User 2024-04-16 13:12:24.228 ***🔗
alice_chat_markers_are_archived_in_room_3364@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3364@localhost/res1' to='alice_chat_markers_are_archived_in_room_3364@localhost/res1'/>
*** User 2024-04-16 13:12:24.228 ***🔗
bOb_chat_markers_are_archived_in_room_3364@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 13:12:24.229 ***🔗
bOb_chat_markers_are_archived_in_room_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9cf06f9422936faa' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-16 13:12:24.229 ***🔗
bOb_chat_markers_are_archived_in_room_3364@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 13:12:24.230 ***🔗
bOb_chat_markers_are_archived_in_room_3364@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzM2NABtYWtyb2xpa2E=</auth>
*** User 2024-04-16 13:12:24.270 ***🔗
bOb_chat_markers_are_archived_in_room_3364@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-16 13:12:24.270 ***🔗
bOb_chat_markers_are_archived_in_room_3364@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 13:12:24.276 ***🔗
bOb_chat_markers_are_archived_in_room_3364@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fb4ddd0318d34b81' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3364@localhost'>
*** User 2024-04-16 13:12:24.277 ***🔗
bOb_chat_markers_are_archived_in_room_3364@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 13:12:24.278 ***🔗
bOb_chat_markers_are_archived_in_room_3364@localhost/res1 out
<iq type='set' id='714f78e6cd4a92def1493ee7c059f2c0'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-16 13:12:24.288 ***🔗
bOb_chat_markers_are_archived_in_room_3364@localhost/res1 in
<iq id='714f78e6cd4a92def1493ee7c059f2c0' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_chat_markers_are_archived_in_room_3364@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-16 13:12:24.288 ***🔗
bob_chat_markers_are_archived_in_room_3364@localhost/res1 out
<iq type='set' id='0205c72d459203bc881d86c2fefe665a'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:24.291 ***🔗
bob_chat_markers_are_archived_in_room_3364@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3364@localhost/res1' id='0205c72d459203bc881d86c2fefe665a' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-16 13:12:24.291 ***🔗
bob_chat_markers_are_archived_in_room_3364@localhost/res1 out
<presence/>
*** User 2024-04-16 13:12:24.299 ***🔗
bob_chat_markers_are_archived_in_room_3364@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3364@localhost/res1' to='bob_chat_markers_are_archived_in_room_3364@localhost/res1'/>
*** User 2024-04-16 13:12:24.399 ***🔗
REST request:
Code: 201
Req: {<0.88478.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"46f13e4b44a561d5">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzNjRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 13:12:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"27">>}],
<<"{\"id\":\"1713-273144-313051\"}">>,156,89569}
Params: #{path => <<"/api/rooms">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_chat_markers_are_archived_in_room_3364@localhost">>,
<<"matygrysa">>},
body =>
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-04-16 13:12:24.471 ***🔗
REST request:
Code: 204
Req: {<0.88664.0>,<<"/api/rooms/1713-273144-313051/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9c168eb35dc809a1">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzNjRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3364@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 13:12:23 GMT">>}],
<<>>,80,59099}
Params: #{path => <<"/api/rooms/1713-273144-313051/users">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_chat_markers_are_archived_in_room_3364@localhost">>,
<<"matygrysa">>},
body =>
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3364@localhost\"}">>,
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-04-16 13:12:24.471 ***🔗
bob_chat_markers_are_archived_in_room_3364@localhost/res1 in
<message from='1713-273144-313051@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3364@localhost' id='db2bb43b-2ae7-4789-85aa-01809eb4a485' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1713-273144-423624</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3364@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-16 13:12:24.471 ***🔗
alice_chat_markers_are_archived_in_room_3364@localhost/res1 in
<message from='1713-273144-313051@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3364@localhost' id='db2bb43b-2ae7-4789-85aa-01809eb4a485' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1713-273144-313041</prev-version>
<version>1713-273144-423624</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3364@localhost</user>
</x>
<body/>
<stanza-id by='1713-273144-313051@muclight.localhost' id='C5HMFKMHQOO1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 13:12:24.509 ***🔗
REST request:
Code: 200
Req: {<0.88760.0>,<<"/api/rooms/1713-273144-313051/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8c6421608ad54c39">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzY0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 13:12:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"e0075170-b6bb-42a1-81f0-422bc6b3c0d0\"}">>,169,18783}
Params: #{path => <<"/api/rooms/1713-273144-313051/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_chat_markers_are_archived_in_room_3364@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-04-16 13:12:24.509 ***🔗
alice_chat_markers_are_archived_in_room_3364@localhost/res1 in
<message from='1713-273144-313051@muclight.localhost/bob_chat_markers_are_archived_in_room_3364@localhost' to='alice_chat_markers_are_archived_in_room_3364@localhost' id='e0075170-b6bb-42a1-81f0-422bc6b3c0d0' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-273144-313051@muclight.localhost' id='C5HMFKN4RLG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 13:12:24.509 ***🔗
bob_chat_markers_are_archived_in_room_3364@localhost/res1 in
<message from='1713-273144-313051@muclight.localhost/bob_chat_markers_are_archived_in_room_3364@localhost' to='bob_chat_markers_are_archived_in_room_3364@localhost' id='e0075170-b6bb-42a1-81f0-422bc6b3c0d0' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-273144-313051@muclight.localhost' id='C5HMFKN4RLG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 13:12:24.522 ***🔗
REST request:
Code: 200
Req: {<0.88846.0>,<<"/api/rooms/1713-273144-313051/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5604b28eed709ef7">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzY0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 13:12:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"610bdaba-c45d-439e-87bc-c33f51b1b1aa\"}">>,169,5025}
Params: #{path => <<"/api/rooms/1713-273144-313051/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_chat_markers_are_archived_in_room_3364@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-04-16 13:12:24.522 ***🔗
alice_chat_markers_are_archived_in_room_3364@localhost/res1 in
<message from='1713-273144-313051@muclight.localhost/bob_chat_markers_are_archived_in_room_3364@localhost' to='alice_chat_markers_are_archived_in_room_3364@localhost' id='610bdaba-c45d-439e-87bc-c33f51b1b1aa' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-273144-313051@muclight.localhost' id='C5HMFKNAQS81' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 13:12:24.523 ***🔗
bob_chat_markers_are_archived_in_room_3364@localhost/res1 in
<message from='1713-273144-313051@muclight.localhost/bob_chat_markers_are_archived_in_room_3364@localhost' to='bob_chat_markers_are_archived_in_room_3364@localhost' id='610bdaba-c45d-439e-87bc-c33f51b1b1aa' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-273144-313051@muclight.localhost' id='C5HMFKNAQS81' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 13:12:24.595 ***🔗
REST request:
Code: 200
Req: {<0.88868.0>,<<"/api/rooms/1713-273144-313051/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"2fdb54385a6f099a">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzY0QGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 13:12:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"1d6ed73a-756b-43c0-b5a4-bc4dbb7c824a\"}">>,169,5913}
Params: #{path => <<"/api/rooms/1713-273144-313051/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"bob_chat_markers_are_archived_in_room_3364@localhost">>,
<<"makrolika">>},
body =>
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,return_headers => true}
Could not find element wait_for_parallel_writer in Config.
*** User 2024-04-16 13:12:24.596 ***🔗
alice_chat_markers_are_archived_in_room_3364@localhost/res1 in
<message from='1713-273144-313051@muclight.localhost/bob_chat_markers_are_archived_in_room_3364@localhost' to='alice_chat_markers_are_archived_in_room_3364@localhost' id='1d6ed73a-756b-43c0-b5a4-bc4dbb7c824a' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-273144-313051@muclight.localhost' id='C5HMFKNSOCG1' xmlns='urn:xmpp:sid:0'/>
</message>
Could not find element archive_wait in Config.
*** User 2024-04-16 13:12:24.596 ***🔗
bob_chat_markers_are_archived_in_room_3364@localhost/res1 in
<message from='1713-273144-313051@muclight.localhost/bob_chat_markers_are_archived_in_room_3364@localhost' to='bob_chat_markers_are_archived_in_room_3364@localhost' id='1d6ed73a-756b-43c0-b5a4-bc4dbb7c824a' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1713-273144-313051@muclight.localhost' id='C5HMFKNSOCG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-16 13:12:24.610 ***🔗
REST request:
Code: 200
Req: {<0.88914.0>,<<"/api/rooms/1713-273144-313051/messages">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"8ef7357774dcca68">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzNjRAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 16 Apr 2024 13:12:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"858">>}],
<<"[{\"affiliation\":\"member\",\"from\":\"1713-273144-313051@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3364@localhost\",\"type\":\"affiliation\",\"timestamp\":1713273144417,\"id\":\"db2bb43b-2ae7-4789-85aa-01809eb4a485\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3364@localhost\",\"type\":\"message\",\"timestamp\":1713273144495,\"id\":\"e0075170-b6bb-42a1-81f0-422bc6b3c0d0\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3364@localhost\",\"type\":\"message\",\"timestamp\":1713273144520,\"id\":\"610bdaba-c45d-439e-87bc-c33f51b1b1aa\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3364@localhost\",\"type\":\"message\",\"timestamp\":1713273144593,\"id\":\"1d6ed73a-756b-43c0-b5a4-bc4dbb7c824a\"}]">>,
983,4632}
Params: #{path => <<"/api/rooms/1713-273144-313051/messages">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_chat_markers_are_archived_in_room_3364@localhost">>,
<<"matygrysa">>},
body => <<>>,method => <<"GET">>,role => client,
return_headers => true}
*** User 2024-04-16 13:12:24.610 ***🔗
bob_chat_markers_are_archived_in_room_3364@localhost/res1 out
</stream:stream>
*** User 2024-04-16 13:12:24.610 ***🔗
bob_chat_markers_are_archived_in_room_3364@localhost/res1 in
</stream:stream>
*** User 2024-04-16 13:12:24.610 ***🔗
alice_chat_markers_are_archived_in_room_3364@localhost/res1 out
</stream:stream>
*** User 2024-04-16 13:12:24.611 ***🔗
alice_chat_markers_are_archived_in_room_3364@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-16 13:12:24
=== successfully completed test case
=== === Returned value: ok