=== Test case: rest_client_SUITE:chat_markers_are_archived_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.75302.0>},
{muc_light_host,<<"muclight.domain.example.com">>},
{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@ca2b1cd7241c.2024-03-11_11.25.11/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_11.40.24/rest_client_suite.chat_markers_are_archived_in_room.226050.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@ca2b1cd7241c.2024-03-11_11.25.11/big_tests.tests.rest_client_SUITE.logs/run.2024-03-11_11.40.24/log_private/"},
{{saved_modules,mongooseim@localhost,<<"test type">>},
#{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,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},
backend => mnesia,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_carboncopy => #{iqdisc => no_queue},
mod_bosh =>
#{backend => mnesia,inactivity => 30,max_pause => 120,
max_wait => infinity,server_acks => false}}}]
=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ca2b1cd7241c.2024-03-11_11.25.11"
=== Started at 2024-03-11 11:40:25
*** User 2024-03-11 11:40:25.350 ***🔗
alicE_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 11:40:25.352 ***🔗
alicE_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de755736a5d92918' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:40:25.352 ***🔗
alicE_chat_markers_are_archived_in_room_2892@domain.example.com/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-11 11:40:25.352 ***🔗
alicE_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODkyAG1hdHlncnlzYQ==</auth>
*** User 2024-03-11 11:40:25.356 ***🔗
alicE_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:40:25.356 ***🔗
alicE_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 11:40:25.357 ***🔗
alicE_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='32ba65c80f7ffe1f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_chat_markers_are_archived_in_room_2892@domain.example.com'>
*** User 2024-03-11 11:40:25.357 ***🔗
alicE_chat_markers_are_archived_in_room_2892@domain.example.com/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-11 11:40:25.357 ***🔗
alicE_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<iq type='set' id='7f2b5c2cd44d5d6fd3abb1dec0ce74ad'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:40:25.358 ***🔗
alicE_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<iq id='7f2b5c2cd44d5d6fd3abb1dec0ce74ad' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:40:25.358 ***🔗
alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<iq type='set' id='0c79024d3d091269ed6332c40345da1d'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:25.359 ***🔗
alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1' id='0c79024d3d091269ed6332c40345da1d' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:25.359 ***🔗
alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<presence/>
*** User 2024-03-11 11:40:25.363 ***🔗
alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<presence from='alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1' to='alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1'/>
*** User 2024-03-11 11:40:25.364 ***🔗
bOb_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 11:40:25.365 ***🔗
bOb_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ee337d7bfee376e9' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-03-11 11:40:25.365 ***🔗
bOb_chat_markers_are_archived_in_room_2892@domain.example.com/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-11 11:40:25.365 ***🔗
bOb_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9jaGF0X21hcmtlcnNfYXJlX2FyY2hpdmVkX2luX3Jvb21fMjg5MgBtYWtyb2xpa2E=</auth>
*** User 2024-03-11 11:40:25.436 ***🔗
bOb_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-11 11:40:25.436 ***🔗
bOb_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-03-11 11:40:25.436 ***🔗
bOb_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f00893c258d85abb' from='domain.example.com' version='1.0' xml:lang='en' to='bob_chat_markers_are_archived_in_room_2892@domain.example.com'>
*** User 2024-03-11 11:40:25.436 ***🔗
bOb_chat_markers_are_archived_in_room_2892@domain.example.com/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-11 11:40:25.437 ***🔗
bOb_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<iq type='set' id='bd880834abd8e9d9bcfd8526f2854da9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-11 11:40:25.437 ***🔗
bOb_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<iq id='bd880834abd8e9d9bcfd8526f2854da9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1</jid>
</bind>
</iq>
*** User 2024-03-11 11:40:25.437 ***🔗
bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<iq type='set' id='2c8dce4a2eeca8465603e0b2a276937c'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:25.438 ***🔗
bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1' id='2c8dce4a2eeca8465603e0b2a276937c' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-11 11:40:25.438 ***🔗
bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
<presence/>
*** User 2024-03-11 11:40:25.447 ***🔗
bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<presence from='bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1' to='bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1'/>
*** User 2024-03-11 11:40:25.471 ***🔗
REST request:
Code: 201
Req: {<0.75720.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9d1617f9b0815ba8">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI4OTJAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:40:24 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"27">>}],
<<"{\"id\":\"1710-157225-460216\"}">>,156,15820}
Params: #{path => <<"/api/rooms">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
creds =>
{<<"alice_chat_markers_are_archived_in_room_2892@domain.example.com">>,
<<"matygrysa">>},
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-03-11 11:40:25.654 ***🔗
REST request:
Code: 204
Req: {<0.75828.0>,<<"/api/rooms/1710-157225-460216/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"789652db58c59469">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI4OTJAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_2892@domain.example.com\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:40:24 GMT">>}],
<<>>,80,110891}
Params: #{path => <<"/api/rooms/1710-157225-460216/users">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"user\":\"bob_chat_markers_are_archived_in_room_2892@domain.example.com\"}">>,
creds =>
{<<"alice_chat_markers_are_archived_in_room_2892@domain.example.com">>,
<<"matygrysa">>},
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-03-11 11:40:25.654 ***🔗
bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<message from='1710-157225-460216@muclight.domain.example.com' to='bob_chat_markers_are_archived_in_room_2892@domain.example.com' id='c237f54c-48fb-4f4c-98b7-8a1fc00635b8' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1710-157225-635100</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_2892@domain.example.com</user>
</x>
<body/>
</message>
*** User 2024-03-11 11:40:25.654 ***🔗
alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<message from='1710-157225-460216@muclight.domain.example.com' to='alice_chat_markers_are_archived_in_room_2892@domain.example.com' id='c237f54c-48fb-4f4c-98b7-8a1fc00635b8' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1710-157225-460205</prev-version>
<version>1710-157225-635100</version>
<user affiliation='member'>bob_chat_markers_are_archived_in_room_2892@domain.example.com</user>
</x>
<body/>
<stanza-id by='1710-157225-460216@muclight.domain.example.com' id='C4R107O6L7O1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-11 11:40:25.750 ***🔗
REST request:
Code: 200
Req: {<0.75992.0>,<<"/api/rooms/1710-157225-460216/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c54225751b2b083a">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODkyQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:40:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"82544abb-4a01-433d-bfe1-2b7343ee66ea\"}">>,169,88557}
Params: #{path => <<"/api/rooms/1710-157225-460216/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"}}">>,
creds =>
{<<"bob_chat_markers_are_archived_in_room_2892@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-03-11 11:40:25.750 ***🔗
alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<message from='1710-157225-460216@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2892@domain.example.com' to='alice_chat_markers_are_archived_in_room_2892@domain.example.com' id='82544abb-4a01-433d-bfe1-2b7343ee66ea' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-157225-460216@muclight.domain.example.com' id='C4R107P2LDO1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-11 11:40:25.750 ***🔗
bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<message from='1710-157225-460216@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2892@domain.example.com' to='bob_chat_markers_are_archived_in_room_2892@domain.example.com' id='82544abb-4a01-433d-bfe1-2b7343ee66ea' type='groupchat'>
<received xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-157225-460216@muclight.domain.example.com' id='C4R107P2LDO1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-11 11:40:25.764 ***🔗
REST request:
Code: 200
Req: {<0.76108.0>,<<"/api/rooms/1710-157225-460216/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"5b8831faad287278">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODkyQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:40:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"ba662315-fae9-4199-ad2b-b5594723aae2\"}">>,169,7376}
Params: #{path => <<"/api/rooms/1710-157225-460216/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"}}">>,
creds =>
{<<"bob_chat_markers_are_archived_in_room_2892@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-03-11 11:40:25.764 ***🔗
alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<message from='1710-157225-460216@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2892@domain.example.com' to='alice_chat_markers_are_archived_in_room_2892@domain.example.com' id='ba662315-fae9-4199-ad2b-b5594723aae2' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-157225-460216@muclight.domain.example.com' id='C4R107PP9CG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-11 11:40:25.764 ***🔗
bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<message from='1710-157225-460216@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2892@domain.example.com' to='bob_chat_markers_are_archived_in_room_2892@domain.example.com' id='ba662315-fae9-4199-ad2b-b5594723aae2' type='groupchat'>
<displayed xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-157225-460216@muclight.domain.example.com' id='C4R107PP9CG1' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-11 11:40:25.844 ***🔗
REST request:
Code: 200
Req: {<0.76153.0>,<<"/api/rooms/1710-157225-460216/messages">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"642792df3d1686ac">>},
{<<"authorization">>,
<<"Basic Ym9iX2NoYXRfbWFya2Vyc19hcmVfYXJjaGl2ZWRfaW5fcm9vbV8yODkyQGRvbWFpbi5leGFtcGxlLmNvbTptYWtyb2xpa2E=">>}],
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:40:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"45">>}],
<<"{\"id\":\"22b93d7a-2c08-4122-b01f-aba7aef7bf7d\"}">>,169,73161}
Params: #{path => <<"/api/rooms/1710-157225-460216/messages">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"}}">>,
creds =>
{<<"bob_chat_markers_are_archived_in_room_2892@domain.example.com">>,
<<"makrolika">>},
method => <<"POST">>,role => client,return_headers => true}
*** User 2024-03-11 11:40:25.844 ***🔗
alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<message from='1710-157225-460216@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2892@domain.example.com' to='alice_chat_markers_are_archived_in_room_2892@domain.example.com' id='22b93d7a-2c08-4122-b01f-aba7aef7bf7d' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-157225-460216@muclight.domain.example.com' id='C4R107QCQM81' 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-11 11:40:25.844 ***🔗
bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
<message from='1710-157225-460216@muclight.domain.example.com/bob_chat_markers_are_archived_in_room_2892@domain.example.com' to='bob_chat_markers_are_archived_in_room_2892@domain.example.com' id='22b93d7a-2c08-4122-b01f-aba7aef7bf7d' type='groupchat'>
<acknowledged xmlns='urn:xmpp:chat-markers:0' id='RagnarokIsComing'/>
<stanza-id by='1710-157225-460216@muclight.domain.example.com' id='C4R107QCQM81' xmlns='urn:xmpp:sid:0'/>
</message>
*** User 2024-03-11 11:40:25.856 ***🔗
REST request:
Code: 200
Req: {<0.76191.0>,<<"/api/rooms/1710-157225-460216/messages">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0d126f1ba14d1a84">>},
{<<"authorization">>,
<<"Basic YWxpY2VfY2hhdF9tYXJrZXJzX2FyZV9hcmNoaXZlZF9pbl9yb29tXzI4OTJAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 11:40:25 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"903">>}],
<<"[{\"affiliation\":\"member\",\"from\":\"1710-157225-460216@muclight.domain.example.com\",\"user\":\"bob_chat_markers_are_archived_in_room_2892@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1710157225552,\"id\":\"c237f54c-48fb-4f4c-98b7-8a1fc00635b8\"},{\"chat_marker\":{\"type\":\"received\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2892@domain.example.com\",\"type\":\"message\",\"timestamp\":1710157225667,\"id\":\"82544abb-4a01-433d-bfe1-2b7343ee66ea\"},{\"chat_marker\":{\"type\":\"displayed\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2892@domain.example.com\",\"type\":\"message\",\"timestamp\":1710157225759,\"id\":\"ba662315-fae9-4199-ad2b-b5594723aae2\"},{\"chat_marker\":{\"type\":\"acknowledged\",\"id\":\"RagnarokIsComing\"},\"from\":\"bob_chat_markers_are_archived_in_room_2892@domain.example.com\",\"type\":\"message\",\"timestamp\":1710157225839,\"id\":\"22b93d7a-2c08-4122-b01f-aba7aef7bf7d\"}]">>,
1028,5411}
Params: #{path => <<"/api/rooms/1710-157225-460216/messages">>,
server => #{node => mongooseim@localhost},
body => <<>>,
creds =>
{<<"alice_chat_markers_are_archived_in_room_2892@domain.example.com">>,
<<"matygrysa">>},
method => <<"GET">>,role => client,return_headers => true}
*** User 2024-03-11 11:40:25.856 ***🔗
bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-11 11:40:25.856 ***🔗
bob_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
</stream:stream>
*** User 2024-03-11 11:40:25.857 ***🔗
alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1 out
</stream:stream>
*** User 2024-03-11 11:40:25.857 ***🔗
alice_chat_markers_are_archived_in_room_2892@domain.example.com/res1 in
</stream:stream>
=== Ended at 2024-03-11 11:40:25
=== successfully completed test case
=== === Returned value: ok