=== Test case: rest_client_SUITE:messages_can_be_paginated_in_room/1 (click for source code)
=== Config value:
[{watchdog,<0.88155.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@f53478984827.2024-04-24_13.07.56/big_tests.tests.rest_client_SUITE.logs/run.2024-04-24_13.23.22/rest_client_suite.messages_can_be_paginated_in_room.249218.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@f53478984827.2024-04-24_13.07.56/big_tests.tests.rest_client_SUITE.logs/run.2024-04-24_13.23.22/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_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 =>
#{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@f53478984827.2024-04-24_13.07.56"
=== Started at 2024-04-24 13:23:23
*** User 2024-04-24 13:23:23.387 ***🔗
alicE_messages_can_be_paginated_in_room_3200@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-24 13:23:23.387 ***🔗
alicE_messages_can_be_paginated_in_room_3200@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='775756ded2faac95' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:23:23.387 ***🔗
alicE_messages_can_be_paginated_in_room_3200@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-24 13:23:23.387 ***🔗
alicE_messages_can_be_paginated_in_room_3200@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21lc3NhZ2VzX2Nhbl9iZV9wYWdpbmF0ZWRfaW5fcm9vbV8zMjAwAG1hdHlncnlzYQ==</auth>
*** User 2024-04-24 13:23:23.389 ***🔗
alicE_messages_can_be_paginated_in_room_3200@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:23:23.389 ***🔗
alicE_messages_can_be_paginated_in_room_3200@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-24 13:23:23.389 ***🔗
alicE_messages_can_be_paginated_in_room_3200@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69cc6f4a424307ed' from='localhost' version='1.0' xml:lang='en' to='alice_messages_can_be_paginated_in_room_3200@localhost'>
*** User 2024-04-24 13:23:23.390 ***🔗
alicE_messages_can_be_paginated_in_room_3200@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-24 13:23:23.390 ***🔗
alicE_messages_can_be_paginated_in_room_3200@localhost/res1 out
<iq type='set' id='efcb767f9b3fc0bddf195944b76dd6c9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:23:23.390 ***🔗
alicE_messages_can_be_paginated_in_room_3200@localhost/res1 in
<iq id='efcb767f9b3fc0bddf195944b76dd6c9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_messages_can_be_paginated_in_room_3200@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:23:23.390 ***🔗
alice_messages_can_be_paginated_in_room_3200@localhost/res1 out
<iq type='set' id='f7f7cc9236d50881d852b12753808639'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:23:23.392 ***🔗
alice_messages_can_be_paginated_in_room_3200@localhost/res1 in
<iq from='localhost' to='alice_messages_can_be_paginated_in_room_3200@localhost/res1' id='f7f7cc9236d50881d852b12753808639' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:23:23.392 ***🔗
alice_messages_can_be_paginated_in_room_3200@localhost/res1 out
<presence/>
*** User 2024-04-24 13:23:23.400 ***🔗
alice_messages_can_be_paginated_in_room_3200@localhost/res1 in
<presence from='alice_messages_can_be_paginated_in_room_3200@localhost/res1' to='alice_messages_can_be_paginated_in_room_3200@localhost/res1'/>
*** User 2024-04-24 13:23:23.401 ***🔗
bOb_messages_can_be_paginated_in_room_3200@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-24 13:23:23.402 ***🔗
bOb_messages_can_be_paginated_in_room_3200@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4239c6d5d80cf1f9' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-24 13:23:23.402 ***🔗
bOb_messages_can_be_paginated_in_room_3200@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-24 13:23:23.402 ***🔗
bOb_messages_can_be_paginated_in_room_3200@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tZXNzYWdlc19jYW5fYmVfcGFnaW5hdGVkX2luX3Jvb21fMzIwMABtYWtyb2xpa2E=</auth>
*** User 2024-04-24 13:23:23.407 ***🔗
bOb_messages_can_be_paginated_in_room_3200@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-24 13:23:23.407 ***🔗
bOb_messages_can_be_paginated_in_room_3200@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-24 13:23:23.464 ***🔗
bOb_messages_can_be_paginated_in_room_3200@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='293be177797c70f1' from='localhost' version='1.0' xml:lang='en' to='bob_messages_can_be_paginated_in_room_3200@localhost'>
*** User 2024-04-24 13:23:23.465 ***🔗
bOb_messages_can_be_paginated_in_room_3200@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-24 13:23:23.465 ***🔗
bOb_messages_can_be_paginated_in_room_3200@localhost/res1 out
<iq type='set' id='933aebc83d8b2224317e7d34c1303ec9'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-24 13:23:23.465 ***🔗
bOb_messages_can_be_paginated_in_room_3200@localhost/res1 in
<iq id='933aebc83d8b2224317e7d34c1303ec9' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_messages_can_be_paginated_in_room_3200@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-24 13:23:23.465 ***🔗
bob_messages_can_be_paginated_in_room_3200@localhost/res1 out
<iq type='set' id='d8b9de5ee7ba395bae87a24f1cf96d89'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:23:23.467 ***🔗
bob_messages_can_be_paginated_in_room_3200@localhost/res1 in
<iq from='localhost' to='bob_messages_can_be_paginated_in_room_3200@localhost/res1' id='d8b9de5ee7ba395bae87a24f1cf96d89' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-24 13:23:23.467 ***🔗
bob_messages_can_be_paginated_in_room_3200@localhost/res1 out
<presence/>
*** User 2024-04-24 13:23:23.473 ***🔗
bob_messages_can_be_paginated_in_room_3200@localhost/res1 in
<presence from='bob_messages_can_be_paginated_in_room_3200@localhost/res1' to='bob_messages_can_be_paginated_in_room_3200@localhost/res1'/>
*** User 2024-04-24 13:23:23.498 ***🔗
REST request:
Code: 201
Req: {<0.88627.0>,<<"/api/rooms">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"93c41909f44743ef">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMyMDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"201">>,<<"Created">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:22 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"27">>}],
<<"{\"id\":\"1713-965003-484624\"}">>,156,15741}
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_3200@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-04-24 13:23:23.595 ***🔗
REST request:
Code: 204
Req: {<0.88730.0>,<<"/api/rooms/1713-965003-484624/users">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"bb0ac74e133a76b4">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMyMDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<"{\"user\":\"bob_messages_can_be_paginated_in_room_3200@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:23 GMT">>}],
<<>>,80,29982}
Params: #{path => <<"/api/rooms/1713-965003-484624/users">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"user\":\"bob_messages_can_be_paginated_in_room_3200@localhost\"}">>,
method => <<"POST">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3200@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-04-24 13:23:23.595 ***🔗
bob_messages_can_be_paginated_in_room_3200@localhost/res1 in
<message from='1713-965003-484624@muclight.localhost' to='bob_messages_can_be_paginated_in_room_3200@localhost' id='4eb89015-ce2e-4ea3-985c-355762a4c8ac' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<version>1713-965003-580978</version>
<user affiliation='member'>bob_messages_can_be_paginated_in_room_3200@localhost</user>
</x>
<body/>
</message>
*** User 2024-04-24 13:23:23.595 ***🔗
alice_messages_can_be_paginated_in_room_3200@localhost/res1 in
<message from='1713-965003-484624@muclight.localhost' to='alice_messages_can_be_paginated_in_room_3200@localhost' id='4eb89015-ce2e-4ea3-985c-355762a4c8ac' type='groupchat'>
<x xmlns='urn:xmpp:muclight:0#affiliations'>
<prev-version>1713-965003-484616</prev-version>
<version>1713-965003-580978</version>
<user affiliation='member'>bob_messages_can_be_paginated_in_room_3200@localhost</user>
</x>
<body/>
<stanza-id by='1713-965003-484624@muclight.localhost' id='C5MNICP090G1' 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-04-24 13:23:23.682 ***🔗
waiting for room_archive_size is done in 0 miliseconds
*** User 2024-04-24 13:23:23.690 ***🔗
REST request:
Code: 200
Req: {<0.89011.0>,<<"/api/rooms/1713-965003-484624/messages?limit=10">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"e217f5d56421d70b">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMyMDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"1228">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"3cba159a day_offset=3 user_num=1\",\"type\":\"message\",\"timestamp\":1713705804000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"2ae9a184 day_offset=3 user_num=2\",\"type\":\"message\",\"timestamp\":1713705805000,\"id\":\"undefined\"},{\"from\":\"alice_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"390f04ff day_offset=2 user_num=1\",\"type\":\"message\",\"timestamp\":1713792204000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"30034dc3 day_offset=2 user_num=2\",\"type\":\"message\",\"timestamp\":1713792205000,\"id\":\"undefined\"},{\"from\":\"alice_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"d526d165 day_offset=1 user_num=1\",\"type\":\"message\",\"timestamp\":1713878604000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"39356b74 day_offset=1 user_num=2\",\"type\":\"message\",\"timestamp\":1713878605000,\"id\":\"undefined\"},{\"affiliation\":\"member\",\"from\":\"1713-965003-484624@muclight.localhost\",\"user\":\"bob_messages_can_be_paginated_in_room_3200@localhost\",\"type\":\"affiliation\",\"timestamp\":1713965003572,\"id\":\"4eb89015-ce2e-4ea3-985c-355762a4c8ac\"}]">>,
1354,3099}
Params: #{path => <<"/api/rooms/1713-965003-484624/messages?limit=10">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3200@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-04-24 13:23:23.699 ***🔗
REST request:
Code: 200
Req: {<0.89027.0>,<<"/api/rooms/1713-965003-484624/messages?limit=3">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a44063cfca195d06">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMyMDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"560">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"d526d165 day_offset=1 user_num=1\",\"type\":\"message\",\"timestamp\":1713878604000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"39356b74 day_offset=1 user_num=2\",\"type\":\"message\",\"timestamp\":1713878605000,\"id\":\"undefined\"},{\"affiliation\":\"member\",\"from\":\"1713-965003-484624@muclight.localhost\",\"user\":\"bob_messages_can_be_paginated_in_room_3200@localhost\",\"type\":\"affiliation\",\"timestamp\":1713965003572,\"id\":\"4eb89015-ce2e-4ea3-985c-355762a4c8ac\"}]">>,
685,2942}
Params: #{path => <<"/api/rooms/1713-965003-484624/messages?limit=3">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3200@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-04-24 13:23:23.708 ***🔗
REST request:
Code: 200
Req: {<0.89053.0>,
<<"/api/rooms/1713-965003-484624/messages?limit=4&before=1713878593000">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"228f66c94ead8c42">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMyMDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"669">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"3cba159a day_offset=3 user_num=1\",\"type\":\"message\",\"timestamp\":1713705804000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"2ae9a184 day_offset=3 user_num=2\",\"type\":\"message\",\"timestamp\":1713705805000,\"id\":\"undefined\"},{\"from\":\"alice_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"390f04ff day_offset=2 user_num=1\",\"type\":\"message\",\"timestamp\":1713792204000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"30034dc3 day_offset=2 user_num=2\",\"type\":\"message\",\"timestamp\":1713792205000,\"id\":\"undefined\"}]">>,
794,3700}
Params: #{path =>
<<"/api/rooms/1713-965003-484624/messages?limit=4&before=1713878593000">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3200@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-04-24 13:23:23.771 ***🔗
REST request:
Code: 200
Req: {<0.89078.0>,
<<"/api/rooms/1713-965003-484624/messages?limit=2&before=1713878593000">>,
<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"fd7fe63f2fa27195">>},
{<<"authorization">>,
<<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzMyMDBAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Wed, 24 Apr 2024 13:23:23 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"335">>}],
<<"[{\"from\":\"alice_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"390f04ff day_offset=2 user_num=1\",\"type\":\"message\",\"timestamp\":1713792204000,\"id\":\"undefined\"},{\"from\":\"bob_messages_can_be_paginated_in_room_3200@localhost\",\"body\":\"30034dc3 day_offset=2 user_num=2\",\"type\":\"message\",\"timestamp\":1713792205000,\"id\":\"undefined\"}]">>,
460,2204}
Params: #{path =>
<<"/api/rooms/1713-965003-484624/messages?limit=2&before=1713878593000">>,
server => #{node => mongooseim@localhost},
body => <<>>,method => <<"GET">>,
creds =>
{<<"alice_messages_can_be_paginated_in_room_3200@localhost">>,
<<"matygrysa">>},
role => client,return_headers => true}
*** User 2024-04-24 13:23:23.771 ***🔗
bob_messages_can_be_paginated_in_room_3200@localhost/res1 out
</stream:stream>
*** User 2024-04-24 13:23:23.772 ***🔗
bob_messages_can_be_paginated_in_room_3200@localhost/res1 in
</stream:stream>
*** User 2024-04-24 13:23:23.772 ***🔗
alice_messages_can_be_paginated_in_room_3200@localhost/res1 out
</stream:stream>
*** User 2024-04-24 13:23:23.772 ***🔗
alice_messages_can_be_paginated_in_room_3200@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-24 13:23:23
=== successfully completed test case
=== === Returned value: ok