=== Test case: rest_client_SUITE:messages_can_be_paginated_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.87566.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@96ddc50d3205.2024-04-23_10.53.40/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_11.12.43/rest_client_suite.messages_can_be_paginated_in_room.61701.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@96ddc50d3205.2024-04-23_10.53.40/big_tests.tests.rest_client_SUITE.logs/run.2024-04-23_11.12.43/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_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_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_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@96ddc50d3205.2024-04-23_10.53.40"
=== Started at 2024-04-23 11:12:43
*** User 2024-04-23 11:12:43.919 ***🔗
alicE_messages_can_be_paginated_in_room_3407@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-23 11:12:43.920 ***🔗
alicE_messages_can_be_paginated_in_room_3407@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8774396d75a2f115' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:12:43.920 ***🔗
alicE_messages_can_be_paginated_in_room_3407@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-23 11:12:43.920 ***🔗
alicE_messages_can_be_paginated_in_room_3407@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21lc3NhZ2VzX2Nhbl9iZV9wYWdpbmF0ZWRfaW5fcm9vbV8zNDA3AG1hdHlncnlzYQ==</auth>
*** User 2024-04-23 11:12:43.924 ***🔗
alicE_messages_can_be_paginated_in_room_3407@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:12:43.924 ***🔗
alicE_messages_can_be_paginated_in_room_3407@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-23 11:12:43.926 ***🔗
alicE_messages_can_be_paginated_in_room_3407@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='532b760c02d77aae' from='localhost' version='1.0' xml:lang='en' to='alice_messages_can_be_paginated_in_room_3407@localhost'>
*** User 2024-04-23 11:12:43.926 ***🔗
alicE_messages_can_be_paginated_in_room_3407@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-23 11:12:43.926 ***🔗
alicE_messages_can_be_paginated_in_room_3407@localhost/res1 out
<iq type='set' id='6fcb81b9b570d49e6f157b42b4b3ac3d'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:12:43.927 ***🔗
alicE_messages_can_be_paginated_in_room_3407@localhost/res1 in
<iq id='6fcb81b9b570d49e6f157b42b4b3ac3d' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_messages_can_be_paginated_in_room_3407@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:12:43.927 ***🔗
alice_messages_can_be_paginated_in_room_3407@localhost/res1 out
<iq type='set' id='0b866274cd21de6a614c2b2e6b888592'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:12:43.928 ***🔗
alice_messages_can_be_paginated_in_room_3407@localhost/res1 in
<iq from='localhost' to='alice_messages_can_be_paginated_in_room_3407@localhost/res1' id='0b866274cd21de6a614c2b2e6b888592' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:12:43.928 ***🔗
alice_messages_can_be_paginated_in_room_3407@localhost/res1 out
<presence/>
*** User 2024-04-23 11:12:43.942 ***🔗
alice_messages_can_be_paginated_in_room_3407@localhost/res1 in
<presence from='alice_messages_can_be_paginated_in_room_3407@localhost/res1' to='alice_messages_can_be_paginated_in_room_3407@localhost/res1'/>
*** User 2024-04-23 11:12:43.943 ***🔗
bOb_messages_can_be_paginated_in_room_3407@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-23 11:12:43.944 ***🔗
bOb_messages_can_be_paginated_in_room_3407@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='792163b2f85da820' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-23 11:12:43.944 ***🔗
bOb_messages_can_be_paginated_in_room_3407@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-23 11:12:43.944 ***🔗
bOb_messages_can_be_paginated_in_room_3407@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tZXNzYWdlc19jYW5fYmVfcGFnaW5hdGVkX2luX3Jvb21fMzQwNwBtYWtyb2xpa2E=</auth>
*** User 2024-04-23 11:12:43.996 ***🔗
bOb_messages_can_be_paginated_in_room_3407@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-23 11:12:43.996 ***🔗
bOb_messages_can_be_paginated_in_room_3407@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-23 11:12:43.996 ***🔗
bOb_messages_can_be_paginated_in_room_3407@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d22471428bb08841' from='localhost' version='1.0' xml:lang='en' to='bob_messages_can_be_paginated_in_room_3407@localhost'>
*** User 2024-04-23 11:12:43.996 ***🔗
bOb_messages_can_be_paginated_in_room_3407@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-23 11:12:43.997 ***🔗
bOb_messages_can_be_paginated_in_room_3407@localhost/res1 out
<iq type='set' id='039f786dcfd5e68478395663f503e2b8'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-23 11:12:43.997 ***🔗
bOb_messages_can_be_paginated_in_room_3407@localhost/res1 in
<iq id='039f786dcfd5e68478395663f503e2b8' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_messages_can_be_paginated_in_room_3407@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-23 11:12:43.998 ***🔗
bob_messages_can_be_paginated_in_room_3407@localhost/res1 out
<iq type='set' id='b6b5226eb98d9e918180c150b6e189d2'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:12:43.998 ***🔗
bob_messages_can_be_paginated_in_room_3407@localhost/res1 in
<iq from='localhost' to='bob_messages_can_be_paginated_in_room_3407@localhost/res1' id='b6b5226eb98d9e918180c150b6e189d2' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-23 11:12:43.999 ***🔗
bob_messages_can_be_paginated_in_room_3407@localhost/res1 out
<presence/>
*** User 2024-04-23 11:12:44.010 ***🔗
bob_messages_can_be_paginated_in_room_3407@localhost/res1 in
<presence from='bob_messages_can_be_paginated_in_room_3407@localhost/res1' to='bob_messages_can_be_paginated_in_room_3407@localhost/res1'/>
*** User 2024-04-23 11:12:44.029 ***🔗
REST request:
Code: 201
Req: {<0.87989.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4597e22b7d0962ed">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzM0MDdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"26">>}],
<<"{\"id\":\"1713-870764-20913\"}">>,155,10728}
Params: #{path => <<"/api/rooms">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_messages_can_be_paginated_in_room_3407@localhost">>,
<<"matygrysa">>},
role => client,
body =>
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
method => <<"POST">>,return_headers => true}
*** User 2024-04-23 11:12:44.200 ***🔗
REST request:
Code: 204
Req: {<0.88056.0>,<<"/api/rooms/1713-870764-20913/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"0814afc532b2b3f7">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzM0MDdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_messages_can_be_paginated_in_room_3407@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>}],
<<>>,80,102590}
Params: #{path => <<"/api/rooms/1713-870764-20913/users">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_messages_can_be_paginated_in_room_3407@localhost">>,
<<"matygrysa">>},
role => client,
body =>
<<"{\"user\":\"bob_messages_can_be_paginated_in_room_3407@localhost\"}">>,
method => <<"POST">>,return_headers => true}
*** User 2024-04-23 11:12:44.200 ***🔗
bob_messages_can_be_paginated_in_room_3407@localhost/res1 in
<message from='1713-870764-20913@muclight.localhost' to='bob_messages_can_be_paginated_in_room_3407@localhost' id='84168dbc-f802-48e3-9136-83ebedf0bc8d' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1713-870764-109482</version>
<user affiliation='member'>bob_messages_can_be_paginated_in_room_3407@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-23 11:12:44.200 ***🔗
alice_messages_can_be_paginated_in_room_3407@localhost/res1 in
<message from='1713-870764-20913@muclight.localhost' to='alice_messages_can_be_paginated_in_room_3407@localhost' id='84168dbc-f802-48e3-9136-83ebedf0bc8d' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1713-870764-20904</prev-version>
<version>1713-870764-109482</version>
<user affiliation='member'>bob_messages_can_be_paginated_in_room_3407@localhost</user>
</x>
<body/>
<stanza-id by='1713-870764-20913@muclight.localhost' id='C5M1K8ASRVO1' xmlns='urn:xmpp:sid:0'/>
</message>
Could not find element wait_for_parallel_writer in Config.
*** User 2024-04-23 11:12:44.304 ***🔗
waiting for room_archive_size is done in 0 miliseconds
Could not find element archive_wait in Config.
*** User 2024-04-23 11:12:44.322 ***🔗
REST request:
Code: 200
Req: {<0.88398.0>,<<"/api/rooms/1713-870764-20913/messages?limit=10">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"086a96a6f75ead91">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzM0MDdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"1227">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"fbfdda46 day_offset=3 user_num=1\",\"type\":\"message\",\"timestamp\":1713611565000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"3de90dc5 day_offset=3 user_num=2\",\"type\":\"message\",\"timestamp\":1713611566000,\"id\":\"undefined\"},{\"from\":\"alice_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"02506606 day_offset=2 user_num=1\",\"type\":\"message\",\"timestamp\":1713697965000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"52e7137f day_offset=2 user_num=2\",\"type\":\"message\",\"timestamp\":1713697966000,\"id\":\"undefined\"},{\"from\":\"alice_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"ae3958e6 day_offset=1 user_num=1\",\"type\":\"message\",\"timestamp\":1713784365000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"1dca28a2 day_offset=1 user_num=2\",\"type\":\"message\",\"timestamp\":1713784366000,\"id\":\"undefined\"},{\"affiliation\":\"member\",\"from\":\"1713-870764-20913@muclight.localhost\",\"user\":\"bob_messages_can_be_paginated_in_room_3407@localhost\",\"type\":\"affiliation\",\"timestamp\":1713870764101,\"id\":\"84168dbc-f802-48e3-9136-83ebedf0bc8d\"}]">>,
1353,11228}
Params: #{path => <<"/api/rooms/1713-870764-20913/messages?limit=10">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_messages_can_be_paginated_in_room_3407@localhost">>,
<<"matygrysa">>},
role => client,body => <<>>,method => <<"GET">>,
return_headers => true}
*** User 2024-04-23 11:12:44.332 ***🔗
REST request:
Code: 200
Req: {<0.88446.0>,<<"/api/rooms/1713-870764-20913/messages?limit=3">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"4b83e9b0297a5938">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzM0MDdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"559">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"ae3958e6 day_offset=1 user_num=1\",\"type\":\"message\",\"timestamp\":1713784365000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"1dca28a2 day_offset=1 user_num=2\",\"type\":\"message\",\"timestamp\":1713784366000,\"id\":\"undefined\"},{\"affiliation\":\"member\",\"from\":\"1713-870764-20913@muclight.localhost\",\"user\":\"bob_messages_can_be_paginated_in_room_3407@localhost\",\"type\":\"affiliation\",\"timestamp\":1713870764101,\"id\":\"84168dbc-f802-48e3-9136-83ebedf0bc8d\"}]">>,
684,3161}
Params: #{path => <<"/api/rooms/1713-870764-20913/messages?limit=3">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_messages_can_be_paginated_in_room_3407@localhost">>,
<<"matygrysa">>},
role => client,body => <<>>,method => <<"GET">>,
return_headers => true}
*** User 2024-04-23 11:12:44.404 ***🔗
REST request:
Code: 200
Req: {<0.88461.0>,
<<"/api/rooms/1713-870764-20913/messages?limit=4&before=1713784354000">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"52739c431774520c">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzM0MDdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"669">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"fbfdda46 day_offset=3 user_num=1\",\"type\":\"message\",\"timestamp\":1713611565000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"3de90dc5 day_offset=3 user_num=2\",\"type\":\"message\",\"timestamp\":1713611566000,\"id\":\"undefined\"},{\"from\":\"alice_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"02506606 day_offset=2 user_num=1\",\"type\":\"message\",\"timestamp\":1713697965000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"52e7137f day_offset=2 user_num=2\",\"type\":\"message\",\"timestamp\":1713697966000,\"id\":\"undefined\"}]">>,
794,3510}
Params: #{path =>
<<"/api/rooms/1713-870764-20913/messages?limit=4&before=1713784354000">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_messages_can_be_paginated_in_room_3407@localhost">>,
<<"matygrysa">>},
role => client,body => <<>>,method => <<"GET">>,
return_headers => true}
*** User 2024-04-23 11:12:44.412 ***🔗
REST request:
Code: 200
Req: {<0.88479.0>,
<<"/api/rooms/1713-870764-20913/messages?limit=2&before=1713784354000">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"9a4ad738091324ef">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzM0MDdAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Tue, 23 Apr 2024 11:12:43 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"335">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"02506606 day_offset=2 user_num=1\",\"type\":\"message\",\"timestamp\":1713697965000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3407@localhost\",\"body\":\"52e7137f day_offset=2 user_num=2\",\"type\":\"message\",\"timestamp\":1713697966000,\"id\":\"undefined\"}]">>,
460,3519}
Params: #{path =>
<<"/api/rooms/1713-870764-20913/messages?limit=2&before=1713784354000">>,
server => #{node => mongooseim@localhost},
creds =>
{<<"alice_messages_can_be_paginated_in_room_3407@localhost">>,
<<"matygrysa">>},
role => client,body => <<>>,method => <<"GET">>,
return_headers => true}
*** User 2024-04-23 11:12:44.413 ***🔗
bob_messages_can_be_paginated_in_room_3407@localhost/res1 out
</stream:stream>
*** User 2024-04-23 11:12:44.413 ***🔗
bob_messages_can_be_paginated_in_room_3407@localhost/res1 in
</stream:stream>
*** User 2024-04-23 11:12:44.413 ***🔗
alice_messages_can_be_paginated_in_room_3407@localhost/res1 out
</stream:stream>
*** User 2024-04-23 11:12:44.413 ***🔗
alice_messages_can_be_paginated_in_room_3407@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-23 11:12:44
=== successfully completed test case
=== === Returned value: ok