=== Test case: rest_client_SUITE:messages_can_be_paginated_in_room/1 (click for source code) === Config value: [{watchdog,<0.8808.2>}, {muc_light_host,<<"muclight.localhost">>}, {mam_backend,rdbms}, {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"}, {preset,"odbc_mssql_mnesia"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.rest_client_SUITE.logs/run.2022-01-25_16.34.32/rest_client_suite.messages_can_be_paginated_in_room.html"}, {tc_group_properties,[{name,muc},{repeat_until_all_ok,3},pararell]}, {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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.rest_client_SUITE.logs/run.2022-01-25_16.34.32/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{mod_adhoc => [],mod_amp => [],mod_bosh => [], mod_cache_users => [{number_of_segments,5},{time_to_live,2}], mod_carboncopy => [],mod_commands => [], mod_disco => [{users_can_see_hidden_services,false}], mod_muc_commands => [],mod_muc_light_commands => [], mod_register => [{access,register}, {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]}, {welcome_message,{[],[]}}], mod_roster => [{backend,rdbms}], mod_sic => [],mod_stream_management => [], mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59" === Started at 2022-01-25 16:34:34
*** User 2022-01-25 16:34:34.409 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-25 16:34:34.409 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c5b8aca0d69309a' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:34.409 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 in <stream:features> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-01-25 16:34:34.409 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21lc3NhZ2VzX2Nhbl9iZV9wYWdpbmF0ZWRfaW5fcm9vbV8yMjM5AG1hdHlncnlzYQ==</auth>
*** User 2022-01-25 16:34:34.410 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:34:34.410 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-25 16:34:34.411 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a18f6dd8859a0e0e' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:34.411 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 in <stream:features> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-01-25 16:34:34.411 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 out <iq type='set' id='0389c0eef18419a67aca1b131654296d'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-25 16:34:34.411 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 in <iq id='0389c0eef18419a67aca1b131654296d' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_messages_can_be_paginated_in_room_2239@localhost/res1</jid> </bind> </iq>
*** User 2022-01-25 16:34:34.411 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 out <iq type='set' id='0cc64a3c723dbf7ba4cc824512ee2209'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:34.411 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 in <iq type='result' id='0cc64a3c723dbf7ba4cc824512ee2209'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:34.411 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 out <presence/>
*** User 2022-01-25 16:34:34.413 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 in <presence from='alicE_messages_can_be_paginated_in_room_2239@localhost/res1' to='alice_messages_can_be_paginated_in_room_2239@localhost/res1' xml:lang='en'/>
*** User 2022-01-25 16:34:34.414 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-25 16:34:34.414 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='481f9320bee96566' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:34.414 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 in <stream:features> <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'> <mechanism>SCRAM-SHA-256</mechanism> <mechanism>PLAIN</mechanism> </mechanisms> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-01-25 16:34:34.415 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tZXNzYWdlc19jYW5fYmVfcGFnaW5hdGVkX2luX3Jvb21fMjIzOQBtYWtyb2xpa2E=</auth>
*** User 2022-01-25 16:34:34.415 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-01-25 16:34:34.415 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 out <stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-01-25 16:34:34.415 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='112013e61a9b2e66' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-01-25 16:34:34.416 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 in <stream:features> <compression xmlns='http://jabber.org/features/compress'> <method>zlib</method> </compression> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> <register xmlns='http://jabber.org/features/iq-register'/> <amp xmlns='http://jabber.org/feature/amp'/> <sm xmlns='urn:xmpp:sm:3'/> </stream:features>
*** User 2022-01-25 16:34:34.416 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 out <iq type='set' id='fd9870ca4cdd933e20a63d08022a2b1d'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-01-25 16:34:34.416 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 in <iq id='fd9870ca4cdd933e20a63d08022a2b1d' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_messages_can_be_paginated_in_room_2239@localhost/res1</jid> </bind> </iq>
*** User 2022-01-25 16:34:34.416 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 out <iq type='set' id='68edf94ae629c67d729a72793e7be7ef'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:34.416 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 in <iq type='result' id='68edf94ae629c67d729a72793e7be7ef'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-01-25 16:34:34.416 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 out <presence/>
*** User 2022-01-25 16:34:34.418 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 in <presence from='bOb_messages_can_be_paginated_in_room_2239@localhost/res1' to='bob_messages_can_be_paginated_in_room_2239@localhost/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:messages_can_be_paginated_in_room/1 in muc 2022-01-25 16:34:34.419 *** =WARNING REPORT==== 25-Jan-2022::16:34:34.419532 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:34.427 *** REST request: Code: 200 Req: {<0.9396.2>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"578a063b74b18475">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIyMzlAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:34 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1643-128474-427371\"}">>,151,1399} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_messages_can_be_paginated_in_room_2239@localhost">>, <<"matygrysa">>}, method => <<"POST">>,path => <<"/api/rooms">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:messages_can_be_paginated_in_room/1 in muc 2022-01-25 16:34:34.428 *** =WARNING REPORT==== 25-Jan-2022::16:34:34.428732 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:34.441 *** REST request: Code: 204 Req: {<0.9401.2>,<<"/api/rooms/1643-128474-427371/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f3c630b8142a80d0">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIyMzlAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<"{\"user\":\"bob_messages_can_be_paginated_in_room_2239@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:34 GMT">>}], <<>>,80,6451} Params: #{body => <<"{\"user\":\"bob_messages_can_be_paginated_in_room_2239@localhost\"}">>, creds => {<<"alice_messages_can_be_paginated_in_room_2239@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1643-128474-427371/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-25 16:34:34.441 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 in <message from='1643-128474-427371@muclight.localhost' to='bob_messages_can_be_paginated_in_room_2239@localhost' id='d628dd95-a91e-422d-8458-130c588f9b78' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1643-128474-437126</version> <user affiliation='member'>bob_messages_can_be_paginated_in_room_2239@localhost</user> </x> <body/> </message>
*** User 2022-01-25 16:34:34.442 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 in <message from='1643-128474-427371@muclight.localhost' to='alice_messages_can_be_paginated_in_room_2239@localhost' id='d628dd95-a91e-422d-8458-130c588f9b78' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1643-128474-427333</prev-version> <version>1643-128474-437126</version> <user affiliation='member'>bob_messages_can_be_paginated_in_room_2239@localhost</user> </x> <body/> <stanza-id by='1643-128474-427371@muclight.localhost' id='BLJAL4506IG1' xmlns='urn:xmpp:sid:0'/> </message>
Could not find element wait_for_parallel_writer in Config. Could not find element archive_wait in Config.
*** System report during rest_client_SUITE:messages_can_be_paginated_in_room/1 in muc 2022-01-25 16:34:34.458 *** =WARNING REPORT==== 25-Jan-2022::16:34:34.458453 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:34.468 *** REST request: Code: 200 Req: {<0.9406.2>,<<"/api/rooms/1643-128474-427371/messages?limit=10">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"f48bcaa35170bbd8">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIyMzlAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:34 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"1228">>}], <<"[{\"type\":\"message\",\"timestamp\":1642869275000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"4b09a553 day_offset=3 user_num=1\"},{\"type\":\"message\",\"timestamp\":1642869276000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"20723e87 day_offset=3 user_num=2\"},{\"type\":\"message\",\"timestamp\":1642955675000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"dd0f1010 day_offset=2 user_num=1\"},{\"type\":\"message\",\"timestamp\":1642955676000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"7168b792 day_offset=2 user_num=2\"},{\"type\":\"message\",\"timestamp\":1643042075000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"1f518c17 day_offset=1 user_num=1\"},{\"type\":\"message\",\"timestamp\":1643042076000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"249360ce day_offset=1 user_num=2\"},{\"user\":\"bob_messages_can_be_paginated_in_room_2239@localhost\",\"type\":\"affiliation\",\"timestamp\":1643128474436,\"id\":\"d628dd95-a91e-422d-8458-130c588f9b78\",\"from\":\"1643-128474-427371@muclight.localhost\",\"affiliation\":\"member\"}]">>, 1354,2375} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_2239@localhost">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1643-128474-427371/messages?limit=10">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:messages_can_be_paginated_in_room/1 in muc 2022-01-25 16:34:34.469 *** =WARNING REPORT==== 25-Jan-2022::16:34:34.469691 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:34.479 *** REST request: Code: 200 Req: {<0.9411.2>,<<"/api/rooms/1643-128474-427371/messages?limit=3">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"553c4f77a408dc7b">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIyMzlAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:34 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"560">>}], <<"[{\"type\":\"message\",\"timestamp\":1643042075000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"1f518c17 day_offset=1 user_num=1\"},{\"type\":\"message\",\"timestamp\":1643042076000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"249360ce day_offset=1 user_num=2\"},{\"user\":\"bob_messages_can_be_paginated_in_room_2239@localhost\",\"type\":\"affiliation\",\"timestamp\":1643128474436,\"id\":\"d628dd95-a91e-422d-8458-130c588f9b78\",\"from\":\"1643-128474-427371@muclight.localhost\",\"affiliation\":\"member\"}]">>, 685,2192} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_2239@localhost">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1643-128474-427371/messages?limit=3">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:messages_can_be_paginated_in_room/1 in muc 2022-01-25 16:34:34.480 *** =WARNING REPORT==== 25-Jan-2022::16:34:34.480563 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:34.488 *** REST request: Code: 200 Req: {<0.9416.2>, <<"/api/rooms/1643-128474-427371/messages?limit=4&before=1643042064000">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"cd76bfed73baedb6">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIyMzlAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:34 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"669">>}], <<"[{\"type\":\"message\",\"timestamp\":1642869275000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"4b09a553 day_offset=3 user_num=1\"},{\"type\":\"message\",\"timestamp\":1642869276000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"20723e87 day_offset=3 user_num=2\"},{\"type\":\"message\",\"timestamp\":1642955675000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"dd0f1010 day_offset=2 user_num=1\"},{\"type\":\"message\",\"timestamp\":1642955676000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"7168b792 day_offset=2 user_num=2\"}]">>, 794,2182} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_2239@localhost">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1643-128474-427371/messages?limit=4&before=1643042064000">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** System report during rest_client_SUITE:messages_can_be_paginated_in_room/1 in muc 2022-01-25 16:34:34.490 *** =WARNING REPORT==== 25-Jan-2022::16:34:34.490079 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-01-25 16:34:34.498 *** REST request: Code: 200 Req: {<0.9421.2>, <<"/api/rooms/1643-128474-427371/messages?limit=2&before=1643042064000">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"7b8812c028fd709a">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIyMzlAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Tue, 25 Jan 2022 16:34:34 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"335">>}], <<"[{\"type\":\"message\",\"timestamp\":1642955675000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"dd0f1010 day_offset=2 user_num=1\"},{\"type\":\"message\",\"timestamp\":1642955676000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2239@localhost\",\"body\":\"7168b792 day_offset=2 user_num=2\"}]">>, 460,2148} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_2239@localhost">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1643-128474-427371/messages?limit=2&before=1643042064000">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-01-25 16:34:34.498 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 out </stream:stream>
*** User 2022-01-25 16:34:34.498 *** bOb_messages_can_be_paginated_in_room_2239@localhost/res1 in </stream:stream>
*** User 2022-01-25 16:34:34.498 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 out </stream:stream>
*** User 2022-01-25 16:34:34.498 *** alicE_messages_can_be_paginated_in_room_2239@localhost/res1 in </stream:stream>
=== Ended at 2022-01-25 16:34:34 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result