=== Test case: rest_client_SUITE:chat_markers_are_archived_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.87510.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@459df0fd388f.2024-04-10_14.24.42/big_tests.tests.rest_client_SUITE.logs/run.2024-04-10_14.41.30/rest_client_suite.chat_markers_are_archived_in_room.161795.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@459df0fd388f.2024-04-10_14.24.42/big_tests.tests.rest_client_SUITE.logs/run.2024-04-10_14.41.30/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_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,
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@459df0fd388f.2024-04-10_14.24.42"
=== Started at 2024-04-10 14:41:31
*** User 2024-04-10 14:41:31.211 ***🔗
alicE_chat_markers_are_archived_in_room_3340@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 14:41:31.212 ***🔗
alicE_chat_markers_are_archived_in_room_3340@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='409537c54ef2e70d' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 14:41:31.212 ***🔗
alicE_chat_markers_are_archived_in_room_3340@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 14:41:31.213 ***🔗
alicE_chat_markers_are_archived_in_room_3340@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzQwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-10 14:41:31.214 ***🔗
alicE_chat_markers_are_archived_in_room_3340@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 14:41:31.214 ***🔗
alicE_chat_markers_are_archived_in_room_3340@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 14:41:31.215 ***🔗
alicE_chat_markers_are_archived_in_room_3340@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e897f203f2e2921e' from='localhost' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_3340@localhost'>
*** User 2024-04-10 14:41:31.215 ***🔗
alicE_chat_markers_are_archived_in_room_3340@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 14:41:31.215 ***🔗
alicE_chat_markers_are_archived_in_room_3340@localhost/res1 out
<iq type='set' id='857f09dcb19e0926e11676ed192036d4'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 14:41:31.216 ***🔗
alicE_chat_markers_are_archived_in_room_3340@localhost/res1 in
<iq id='857f09dcb19e0926e11676ed192036d4' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_chat_markers_are_archived_in_room_3340@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 14:41:31.216 ***🔗
alice_chat_markers_are_archived_in_room_3340@localhost/res1 out
<iq type='set' id='0ee5a22cd9ca49b70e0b4666daa92011'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 14:41:31.217 ***🔗
alice_chat_markers_are_archived_in_room_3340@localhost/res1 in
<iq from='localhost' to='alice_chat_markers_are_archived_in_room_3340@localhost/res1' id='0ee5a22cd9ca49b70e0b4666daa92011' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 14:41:31.218 ***🔗
alice_chat_markers_are_archived_in_room_3340@localhost/res1 out
<presence/>
*** User 2024-04-10 14:41:31.279 ***🔗
alice_chat_markers_are_archived_in_room_3340@localhost/res1 in
<presence from='alice_chat_markers_are_archived_in_room_3340@localhost/res1' to='alice_chat_markers_are_archived_in_room_3340@localhost/res1'/>
*** User 2024-04-10 14:41:31.280 ***🔗
bOb_chat_markers_are_archived_in_room_3340@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 14:41:31.282 ***🔗
bOb_chat_markers_are_archived_in_room_3340@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b5b601b3a60b1ae7' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-10 14:41:31.282 ***🔗
bOb_chat_markers_are_archived_in_room_3340@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 14:41:31.282 ***🔗
bOb_chat_markers_are_archived_in_room_3340@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMzM0MABtYWtyb2xpa2E=</auth>
*** User 2024-04-10 14:41:31.285 ***🔗
bOb_chat_markers_are_archived_in_room_3340@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-10 14:41:31.285 ***🔗
bOb_chat_markers_are_archived_in_room_3340@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 14:41:31.286 ***🔗
bOb_chat_markers_are_archived_in_room_3340@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d275446bf0918186' from='localhost' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_3340@localhost'>
*** User 2024-04-10 14:41:31.286 ***🔗
bOb_chat_markers_are_archived_in_room_3340@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 14:41:31.287 ***🔗
bOb_chat_markers_are_archived_in_room_3340@localhost/res1 out
<iq type='set' id='3576e42c5f0221d0dc6175337b6a2bfa'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-10 14:41:31.287 ***🔗
bOb_chat_markers_are_archived_in_room_3340@localhost/res1 in
<iq id='3576e42c5f0221d0dc6175337b6a2bfa' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_chat_markers_are_archived_in_room_3340@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-10 14:41:31.287 ***🔗
bob_chat_markers_are_archived_in_room_3340@localhost/res1 out
<iq type='set' id='5c3a2885804103ba646c7ccfd4771b43'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 14:41:31.288 ***🔗
bob_chat_markers_are_archived_in_room_3340@localhost/res1 in
<iq from='localhost' to='bob_chat_markers_are_archived_in_room_3340@localhost/res1' id='5c3a2885804103ba646c7ccfd4771b43' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-10 14:41:31.289 ***🔗
bob_chat_markers_are_archived_in_room_3340@localhost/res1 out
<presence/>
*** User 2024-04-10 14:41:31.295 ***🔗
bob_chat_markers_are_archived_in_room_3340@localhost/res1 in
<presence from='bob_chat_markers_are_archived_in_room_3340@localhost/res1' to='bob_chat_markers_are_archived_in_room_3340@localhost/res1'/>
*** User 2024-04-10 14:41:31.381 ***🔗
REST request:
Code: 201
Req: {<0.87954.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"cc6d77f6abf4c4b7">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzNDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 14:41:30 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"27">>}],
<<"{\"id\":\"1712-760091-308259\"}">>,156,75685}
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_3340@localhost">>,
<<"matygrysa">>},
return_headers => true}
*** User 2024-04-10 14:41:31.481 ***🔗
REST request:
Code: 204
Req: {<0.88052.0>,<<"/api/rooms/1712-760091-308259/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"b39108dec2d59136">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzNDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3340@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 14:41:31 GMT">>}],
<<>>,80,90828}
Params: #{path => <<"/api/rooms/1712-760091-308259/users">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_3340@localhost\"}">>,
method => <<"POST">>,role => client,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3340@localhost">>,
<<"matygrysa">>},
return_headers => true}
*** User 2024-04-10 14:41:31.481 ***🔗
bob_chat_markers_are_archived_in_room_3340@localhost/res1 in
<message from='1712-760091-308259@muclight.localhost' to='bob_chat_markers_are_archived_in_room_3340@localhost' id='814d3aed-6b26-49ca-9cac-145168eabffb' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1712-760091-401794</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3340@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-10 14:41:31.481 ***🔗
alice_chat_markers_are_archived_in_room_3340@localhost/res1 in
<message from='1712-760091-308259@muclight.localhost' to='alice_chat_markers_are_archived_in_room_3340@localhost' id='814d3aed-6b26-49ca-9cac-145168eabffb' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1712-760091-308251</prev-version>
<version>1712-760091-401794</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_3340@localhost</user>
</x>
<body/>
<stanza-id by='1712-760091-308259@muclight.localhost' id='C5DV13AKB501' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 14:41:31.503 ***🔗
REST request:
Code: 200
Req: {<0.88196.0>,<<"/api/rooms/1712-760091-308259/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"39cd9c1126923632">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzQwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 14:41:31 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"acb8a765-b759-4a2f-9b12-6f80fb1b2eaf\"}">>,169,16453}
Params: #{path => <<"/api/rooms/1712-760091-308259/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3340@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-10 14:41:31.504 ***🔗
alice_chat_markers_are_archived_in_room_3340@localhost/res1 in
<message from='1712-760091-308259@muclight.localhost/bob_chat_markers_are_archived_in_room_3340@localhost' to='alice_chat_markers_are_archived_in_room_3340@localhost' id='acb8a765-b759-4a2f-9b12-6f80fb1b2eaf' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-760091-308259@muclight.localhost' id='C5DV13BBPK81' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 14:41:31.504 ***🔗
bob_chat_markers_are_archived_in_room_3340@localhost/res1 in
<message from='1712-760091-308259@muclight.localhost/bob_chat_markers_are_archived_in_room_3340@localhost' to='bob_chat_markers_are_archived_in_room_3340@localhost' id='acb8a765-b759-4a2f-9b12-6f80fb1b2eaf' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-760091-308259@muclight.localhost' id='C5DV13BBPK81' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 14:41:31.582 ***🔗
REST request:
Code: 200
Req: {<0.88298.0>,<<"/api/rooms/1712-760091-308259/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"ac37df0e7899aff6">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzQwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 14:41:31 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"38fa242b-fcb9-44dd-8005-ced08a509143\"}">>,169,71782}
Params: #{path => <<"/api/rooms/1712-760091-308259/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3340@localhost">>,
<<"makrolika">>},
return_headers => true}
*** User 2024-04-10 14:41:31.582 ***🔗
alice_chat_markers_are_archived_in_room_3340@localhost/res1 in
<message from='1712-760091-308259@muclight.localhost/bob_chat_markers_are_archived_in_room_3340@localhost' to='alice_chat_markers_are_archived_in_room_3340@localhost' id='38fa242b-fcb9-44dd-8005-ced08a509143' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-760091-308259@muclight.localhost' id='C5DV13C13301' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 14:41:31.582 ***🔗
bob_chat_markers_are_archived_in_room_3340@localhost/res1 in
<message from='1712-760091-308259@muclight.localhost/bob_chat_markers_are_archived_in_room_3340@localhost' to='bob_chat_markers_are_archived_in_room_3340@localhost' id='38fa242b-fcb9-44dd-8005-ced08a509143' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-760091-308259@muclight.localhost' id='C5DV13C13301' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 14:41:31.596 ***🔗
REST request:
Code: 200
Req: {<0.88354.0>,<<"/api/rooms/1712-760091-308259/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d609185b62312862">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8zMzQwQGxvY2FsaG9zdDptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 14:41:31 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"fe3a76dc-a351-4a06-9f85-9ffc868511c3\"}">>,169,6445}
Params: #{path => <<"/api/rooms/1712-760091-308259/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
method => <<"POST">>,role => client,
creds =>
{<<"bob_chat_markers_are_archived_in_room_3340@localhost">>,
<<"makrolika">>},
return_headers => true}
Could not find element wait_for_parallel_writer in Config.
Could not find element archive_wait in Config.
*** User 2024-04-10 14:41:31.596 ***🔗
alice_chat_markers_are_archived_in_room_3340@localhost/res1 in
<message from='1712-760091-308259@muclight.localhost/bob_chat_markers_are_archived_in_room_3340@localhost' to='alice_chat_markers_are_archived_in_room_3340@localhost' id='fe3a76dc-a351-4a06-9f85-9ffc868511c3' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-760091-308259@muclight.localhost' id='C5DV13C4QO01' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 14:41:31.597 ***🔗
bob_chat_markers_are_archived_in_room_3340@localhost/res1 in
<message from='1712-760091-308259@muclight.localhost/bob_chat_markers_are_archived_in_room_3340@localhost' to='bob_chat_markers_are_archived_in_room_3340@localhost' id='fe3a76dc-a351-4a06-9f85-9ffc868511c3' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1712-760091-308259@muclight.localhost' id='C5DV13C4QO01' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-04-10 14:41:31.605 ***🔗
REST request:
Code: 200
Req: {<0.88386.0>,<<"/api/rooms/1712-760091-308259/messages">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"baad2ec39311d3ba">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzMzNDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 10 Apr 2024 14:41:31 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"858">>}],
<<"[{\"affiliation\":\"member\",\"from\":\"1712-760091-308259@muclight.localhost\",\"user\":\"bob_chat_markers_are_archived_in_room_3340@localhost\",\"type\":\"affiliation\",\"timestamp\":1712760091395,\"id\":\"814d3aed-6b26-49ca-9cac-145168eabffb\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3340@localhost\",\"type\":\"message\",\"timestamp\":1712760091491,\"id\":\"acb8a765-b759-4a2f-9b12-6f80fb1b2eaf\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3340@localhost\",\"type\":\"message\",\"timestamp\":1712760091578,\"id\":\"38fa242b-fcb9-44dd-8005-ced08a509143\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_3340@localhost\",\"type\":\"message\",\"timestamp\":1712760091594,\"id\":\"fe3a76dc-a351-4a06-9f85-9ffc868511c3\"}]">>,
983,2586}
Params: #{path => <<"/api/rooms/1712-760091-308259/messages">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,role => client,
creds =>
{<<"alice_chat_markers_are_archived_in_room_3340@localhost">>,
<<"matygrysa">>},
return_headers => true}
*** User 2024-04-10 14:41:31.605 ***🔗
bob_chat_markers_are_archived_in_room_3340@localhost/res1 out
</stream:stream>
*** User 2024-04-10 14:41:31.606 ***🔗
bob_chat_markers_are_archived_in_room_3340@localhost/res1 in
</stream:stream>
*** User 2024-04-10 14:41:31.606 ***🔗
alice_chat_markers_are_archived_in_room_3340@localhost/res1 out
</stream:stream>
*** User 2024-04-10 14:41:31.607 ***🔗
alice_chat_markers_are_archived_in_room_3340@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-10 14:41:31
=== successfully completed test case
=== === Returned value: ok