=== Test case: rest_client_SUITE:messages_can_be_paginated_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.88684.0>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,rdbms},
{preset,"mysql_redis"},
{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@17a96e781220.2024-03-21_22.20.25/big_tests.tests.rest_client_SUITE.logs/run.2024-03-21_22.35.00/rest_client_suite.messages_can_be_paginated_in_room.235650.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@17a96e781220.2024-03-21_22.20.25/big_tests.tests.rest_client_SUITE.logs/run.2024-03-21_22.35.00/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_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_presence => #{},
mod_disco =>
#{iqdisc => one_queue,users_can_see_hidden_services => false,
server_info => [],extra_domains => []},
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@17a96e781220.2024-03-21_22.20.25"
=== Started at 2024-03-21 22:35:00
*** User 2024-03-21 22:35:00.981 ***🔗
alicE_messages_can_be_paginated_in_room_3153@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-03-21 22:35:00.982 ***🔗
alicE_messages_can_be_paginated_in_room_3153@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62efb35a9a90c31a' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 22:35:00.982 ***🔗
alicE_messages_can_be_paginated_in_room_3153@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-03-21 22:35:00.982 ***🔗
alicE_messages_can_be_paginated_in_room_3153@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21lc3NhZ2VzX2Nhbl9iZV9wYWdpbmF0ZWRfaW5fcm9vbV8zMTUzAG1hdHlncnlzYQ==</auth>
*** User 2024-03-21 22:35:00.990 ***🔗
alicE_messages_can_be_paginated_in_room_3153@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 22:35:00.990 ***🔗
alicE_messages_can_be_paginated_in_room_3153@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-03-21 22:35:00.993 ***🔗
alicE_messages_can_be_paginated_in_room_3153@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a91577d5bf834036' from='localhost' version='1.0' xml:lang='en' to='alice_messages_can_be_paginated_in_room_3153@localhost'>
*** User 2024-03-21 22:35:00.993 ***🔗
alicE_messages_can_be_paginated_in_room_3153@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-03-21 22:35:00.993 ***🔗
alicE_messages_can_be_paginated_in_room_3153@localhost/res1 out
<iq type='set' id='1d8e7a8d0785a40e59782d31c6d88cf2'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 22:35:00.994 ***🔗
alicE_messages_can_be_paginated_in_room_3153@localhost/res1 in
<iq id='1d8e7a8d0785a40e59782d31c6d88cf2' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_messages_can_be_paginated_in_room_3153@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 22:35:00.994 ***🔗
alice_messages_can_be_paginated_in_room_3153@localhost/res1 out
<iq type='set' id='4a44f8c55cb7b66d4fbc114ead702af5'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 22:35:00.995 ***🔗
alice_messages_can_be_paginated_in_room_3153@localhost/res1 in
<iq from='localhost' to='alice_messages_can_be_paginated_in_room_3153@localhost/res1' id='4a44f8c55cb7b66d4fbc114ead702af5' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 22:35:00.995 ***🔗
alice_messages_can_be_paginated_in_room_3153@localhost/res1 out
<presence/>
*** User 2024-03-21 22:35:01.005 ***🔗
alice_messages_can_be_paginated_in_room_3153@localhost/res1 in
<presence from='alice_messages_can_be_paginated_in_room_3153@localhost/res1' to='alice_messages_can_be_paginated_in_room_3153@localhost/res1'/>
*** User 2024-03-21 22:35:01.006 ***🔗
bOb_messages_can_be_paginated_in_room_3153@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-03-21 22:35:01.007 ***🔗
bOb_messages_can_be_paginated_in_room_3153@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d645b2d5c0931bfb' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-03-21 22:35:01.007 ***🔗
bOb_messages_can_be_paginated_in_room_3153@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-03-21 22:35:01.007 ***🔗
bOb_messages_can_be_paginated_in_room_3153@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tZXNzYWdlc19jYW5fYmVfcGFnaW5hdGVkX2luX3Jvb21fMzE1MwBtYWtyb2xpa2E=</auth>
*** User 2024-03-21 22:35:01.011 ***🔗
bOb_messages_can_be_paginated_in_room_3153@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-03-21 22:35:01.011 ***🔗
bOb_messages_can_be_paginated_in_room_3153@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-03-21 22:35:01.011 ***🔗
bOb_messages_can_be_paginated_in_room_3153@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb83cf5f5665c454' from='localhost' version='1.0' xml:lang='en' to='bob_messages_can_be_paginated_in_room_3153@localhost'>
*** User 2024-03-21 22:35:01.012 ***🔗
bOb_messages_can_be_paginated_in_room_3153@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-03-21 22:35:01.012 ***🔗
bOb_messages_can_be_paginated_in_room_3153@localhost/res1 out
<iq type='set' id='98e2ee86f90a5fa14980b1e6c2459887'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-03-21 22:35:01.012 ***🔗
bOb_messages_can_be_paginated_in_room_3153@localhost/res1 in
<iq id='98e2ee86f90a5fa14980b1e6c2459887' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_messages_can_be_paginated_in_room_3153@localhost/res1</jid>
</bind>
</iq>
*** User 2024-03-21 22:35:01.012 ***🔗
bob_messages_can_be_paginated_in_room_3153@localhost/res1 out
<iq type='set' id='4f1bd0028671441f6f367a178d07fbf3'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 22:35:01.015 ***🔗
bob_messages_can_be_paginated_in_room_3153@localhost/res1 in
<iq from='localhost' to='bob_messages_can_be_paginated_in_room_3153@localhost/res1' id='4f1bd0028671441f6f367a178d07fbf3' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-03-21 22:35:01.015 ***🔗
bob_messages_can_be_paginated_in_room_3153@localhost/res1 out
<presence/>
*** User 2024-03-21 22:35:01.082 ***🔗
bob_messages_can_be_paginated_in_room_3153@localhost/res1 in
<presence from='bob_messages_can_be_paginated_in_room_3153@localhost/res1' to='bob_messages_can_be_paginated_in_room_3153@localhost/res1'/>
*** User 2024-03-21 22:35:01.112 ***🔗
REST request:
Code: 201
Req: {<0.89167.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"c401e059abacdf63">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMxNTNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 22:35:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"26">>}],
<<"{\"id\":\"1711-60501-106445\"}">>,155,14874}
Params: #{path => <<"/api/rooms">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
method => <<"POST">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3153@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-03-21 22:35:01.219 ***🔗
REST request:
Code: 204
Req: {<0.89268.0>,<<"/api/rooms/1711-60501-106445/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"fffc93b199c4764f">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMxNTNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_messages_can_be_paginated_in_room_3153@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 22:35:00 GMT">>}],
<<>>,80,98598}
Params: #{path => <<"/api/rooms/1711-60501-106445/users">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"user\":\"bob_messages_can_be_paginated_in_room_3153@localhost\"}">>,
method => <<"POST">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3153@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-03-21 22:35:01.219 ***🔗
bob_messages_can_be_paginated_in_room_3153@localhost/res1 in
<message from='1711-60501-106445@muclight.localhost' to='bob_messages_can_be_paginated_in_room_3153@localhost' id='64d8c893-dc97-4574-a09f-cb41a0decc3c' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1711-60501-202298</version>
<user affiliation='member'>bob_messages_can_be_paginated_in_room_3153@localhost</user>
</x>
<body/>
</message>
*** User 2024-03-21 22:35:01.219 ***🔗
alice_messages_can_be_paginated_in_room_3153@localhost/res1 in
<message from='1711-60501-106445@muclight.localhost' to='alice_messages_can_be_paginated_in_room_3153@localhost' id='64d8c893-dc97-4574-a09f-cb41a0decc3c' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1711-60501-106437</prev-version>
<version>1711-60501-202298</version>
<user affiliation='member'>bob_messages_can_be_paginated_in_room_3153@localhost</user>
</x>
<body/>
<stanza-id by='1711-60501-106445@muclight.localhost' id='C51JA5EII6O1' 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-21 22:35:01.311 ***🔗
waiting for room_archive_size is done in 0 miliseconds
*** User 2024-03-21 22:35:01.321 ***🔗
REST request:
Code: 200
Req: {<0.89543.0>,<<"/api/rooms/1711-60501-106445/messages?limit=10">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d5325b8643cd05ba">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMxNTNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 22:35:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"1227">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"df3286d0 day_offset=3 user_num=1\",\"type\":\"message\",\"timestamp\":1710801302000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"e8cd290b day_offset=3 user_num=2\",\"type\":\"message\",\"timestamp\":1710801303000,\"id\":\"undefined\"},{\"from\":\"alice_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"87188beb day_offset=2 user_num=1\",\"type\":\"message\",\"timestamp\":1710887702000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"28c126b6 day_offset=2 user_num=2\",\"type\":\"message\",\"timestamp\":1710887703000,\"id\":\"undefined\"},{\"from\":\"alice_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"a2ba026d day_offset=1 user_num=1\",\"type\":\"message\",\"timestamp\":1710974102000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"9980cca3 day_offset=1 user_num=2\",\"type\":\"message\",\"timestamp\":1710974103000,\"id\":\"undefined\"},{\"affiliation\":\"member\",\"from\":\"1711-60501-106445@muclight.localhost\",\"user\":\"bob_messages_can_be_paginated_in_room_3153@localhost\",\"type\":\"affiliation\",\"timestamp\":1711060501211,\"id\":\"64d8c893-dc97-4574-a09f-cb41a0decc3c\"}]">>,
1353,2951}
Params: #{path => <<"/api/rooms/1711-60501-106445/messages?limit=10">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3153@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-03-21 22:35:01.388 ***🔗
REST request:
Code: 200
Req: {<0.89579.0>,<<"/api/rooms/1711-60501-106445/messages?limit=3">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"88fcfe9371f96cdf">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMxNTNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 22:35:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"559">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"a2ba026d day_offset=1 user_num=1\",\"type\":\"message\",\"timestamp\":1710974102000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"9980cca3 day_offset=1 user_num=2\",\"type\":\"message\",\"timestamp\":1710974103000,\"id\":\"undefined\"},{\"affiliation\":\"member\",\"from\":\"1711-60501-106445@muclight.localhost\",\"user\":\"bob_messages_can_be_paginated_in_room_3153@localhost\",\"type\":\"affiliation\",\"timestamp\":1711060501211,\"id\":\"64d8c893-dc97-4574-a09f-cb41a0decc3c\"}]">>,
684,3450}
Params: #{path => <<"/api/rooms/1711-60501-106445/messages?limit=3">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3153@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-03-21 22:35:01.395 ***🔗
REST request:
Code: 200
Req: {<0.89595.0>,
<<"/api/rooms/1711-60501-106445/messages?limit=4&before=1710974091000">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"d888f2f2f75c75f1">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMxNTNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 22:35:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"669">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"df3286d0 day_offset=3 user_num=1\",\"type\":\"message\",\"timestamp\":1710801302000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"e8cd290b day_offset=3 user_num=2\",\"type\":\"message\",\"timestamp\":1710801303000,\"id\":\"undefined\"},{\"from\":\"alice_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"87188beb day_offset=2 user_num=1\",\"type\":\"message\",\"timestamp\":1710887702000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"28c126b6 day_offset=2 user_num=2\",\"type\":\"message\",\"timestamp\":1710887703000,\"id\":\"undefined\"}]">>,
794,2209}
Params: #{path =>
<<"/api/rooms/1711-60501-106445/messages?limit=4&before=1710974091000">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3153@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-03-21 22:35:01.403 ***🔗
REST request:
Code: 200
Req: {<0.89607.0>,
<<"/api/rooms/1711-60501-106445/messages?limit=2&before=1710974091000">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"7aa7ab6b37d56da2">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMxNTNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Thu, 21 Mar 2024 22:35:00 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"335">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"87188beb day_offset=2 user_num=1\",\"type\":\"message\",\"timestamp\":1710887702000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3153@localhost\",\"body\":\"28c126b6 day_offset=2 user_num=2\",\"type\":\"message\",\"timestamp\":1710887703000,\"id\":\"undefined\"}]">>,
460,2342}
Params: #{path =>
<<"/api/rooms/1711-60501-106445/messages?limit=2&before=1710974091000">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3153@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-03-21 22:35:01.403 ***🔗
bob_messages_can_be_paginated_in_room_3153@localhost/res1 out
</stream:stream>
*** User 2024-03-21 22:35:01.403 ***🔗
bob_messages_can_be_paginated_in_room_3153@localhost/res1 in
</stream:stream>
*** User 2024-03-21 22:35:01.403 ***🔗
alice_messages_can_be_paginated_in_room_3153@localhost/res1 out
</stream:stream>
*** User 2024-03-21 22:35:01.403 ***🔗
alice_messages_can_be_paginated_in_room_3153@localhost/res1 in
</stream:stream>
=== Ended at 2024-03-21 22:35:01
=== successfully completed test case
=== === Returned value: ok