=== Test case: rest_client_SUITE:messages_can_be_paginated_in_room/1 (click for source code) === Config value: [{watchdog,<0.13437.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.rest_client_SUITE.logs/run.2022-04-04_15.15.12/rest_client_suite.messages_can_be_paginated_in_room.html"}, {tc_group_properties,[{name,muc},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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.rest_client_SUITE.logs/run.2022-04-04_15.15.12/log_private/"}, {{saved_modules,mongooseim@localhost,<<"localhost">>}, #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false}, mod_amp => [], mod_bosh => #{backend => mnesia,inactivity => 30,max_pause => 120, max_wait => infinity,server_acks => false}, mod_cache_users => #{number_of_segments => 5,strategy => fifo,time_to_live => 2}, mod_carboncopy => [],mod_commands => [], mod_disco => #{extra_domains => [],iqdisc => one_queue,server_info => [], 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,iqdisc => one_queue,store_current_id => false, versioning => false}, mod_sic => #{iqdisc => one_queue}, mod_stream_management => #{ack => true,ack_freq => 1,backend => mnesia,buffer => true, buffer_max => 100,resume_timeout => 600, stale_h => #{enabled => false,geriatric => 3600,repeat_after => 1800}}, mod_vcard => #{backend => rdbms, host => {prefix,<<"vjud.">>}, iqdisc => parallel,matches => 30,search => true}}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36" === Started at 2022-04-04 15:15:15
*** User 2022-04-04 15:15:15.022 *** alicE_messages_can_be_paginated_in_room_2358@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-04-04 15:15:15.022 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='766c1e5aa746a73c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:15.022 *** alicE_messages_can_be_paginated_in_room_2358@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-04-04 15:15:15.022 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21lc3NhZ2VzX2Nhbl9iZV9wYWdpbmF0ZWRfaW5fcm9vbV8yMzU4AG1hdHlncnlzYQ==</auth>
*** User 2022-04-04 15:15:15.024 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:15:15.024 *** alicE_messages_can_be_paginated_in_room_2358@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-04-04 15:15:15.024 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a66d0c602329de6' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:15.024 *** alicE_messages_can_be_paginated_in_room_2358@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-04-04 15:15:15.024 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 out <iq type='set' id='6476605014d165d8587fff00f09e62c3'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-04-04 15:15:15.025 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 in <iq id='6476605014d165d8587fff00f09e62c3' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_messages_can_be_paginated_in_room_2358@localhost/res1</jid> </bind> </iq>
*** User 2022-04-04 15:15:15.025 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 out <iq type='set' id='8ee397489fd43412f7e2d4f692ba062a'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:15:15.025 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 in <iq type='result' id='8ee397489fd43412f7e2d4f692ba062a'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:15:15.025 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 out <presence/>
*** User 2022-04-04 15:15:15.028 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 in <presence from='alicE_messages_can_be_paginated_in_room_2358@localhost/res1' to='alice_messages_can_be_paginated_in_room_2358@localhost/res1' xml:lang='en'/>
*** User 2022-04-04 15:15:15.028 *** bOb_messages_can_be_paginated_in_room_2358@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-04-04 15:15:15.029 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c86ba64d222c24f' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:15.029 *** bOb_messages_can_be_paginated_in_room_2358@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-04-04 15:15:15.029 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tZXNzYWdlc19jYW5fYmVfcGFnaW5hdGVkX2luX3Jvb21fMjM1OABtYWtyb2xpa2E=</auth>
*** User 2022-04-04 15:15:15.030 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-04-04 15:15:15.030 *** bOb_messages_can_be_paginated_in_room_2358@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-04-04 15:15:15.030 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e48c55448bdd77c' from='localhost' version='1.0' xml:lang='en'>
*** User 2022-04-04 15:15:15.030 *** bOb_messages_can_be_paginated_in_room_2358@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-04-04 15:15:15.030 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 out <iq type='set' id='56f5a7128b44696b1ad418c16101ebe4'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-04-04 15:15:15.030 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 in <iq id='56f5a7128b44696b1ad418c16101ebe4' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_messages_can_be_paginated_in_room_2358@localhost/res1</jid> </bind> </iq>
*** User 2022-04-04 15:15:15.030 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 out <iq type='set' id='50a7e9634b4fc6f7d876b3afedb0ba9c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:15:15.030 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 in <iq type='result' id='50a7e9634b4fc6f7d876b3afedb0ba9c'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-04-04 15:15:15.031 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 out <presence/>
*** User 2022-04-04 15:15:15.032 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 in <presence from='bOb_messages_can_be_paginated_in_room_2358@localhost/res1' to='bob_messages_can_be_paginated_in_room_2358@localhost/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:messages_can_be_paginated_in_room/1 in muc 2022-04-04 15:15:15.033 *** =WARNING REPORT==== 4-Apr-2022::15:15:15.033781 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-04-04 15:15:15.044 *** REST request: Code: 200 Req: {<0.14025.2>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"422d847a9a6a331c">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIzNThAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 04 Apr 2022 15:15:14 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"25">>}], <<"{\"id\":\"1649-85315-44077\"}">>,149,1753} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_messages_can_be_paginated_in_room_2358@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-04-04 15:15:15.045 *** =WARNING REPORT==== 4-Apr-2022::15:15:15.045747 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-04-04 15:15:15.060 *** REST request: Code: 204 Req: {<0.14030.2>,<<"/api/rooms/1649-85315-44077/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"45ca4bc17a305e80">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIzNThAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<"{\"user\":\"bob_messages_can_be_paginated_in_room_2358@localhost\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 04 Apr 2022 15:15:14 GMT">>}], <<>>,80,7178} Params: #{body => <<"{\"user\":\"bob_messages_can_be_paginated_in_room_2358@localhost\"}">>, creds => {<<"alice_messages_can_be_paginated_in_room_2358@localhost">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1649-85315-44077/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:15.060 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 in <message from='1649-85315-44077@muclight.localhost' to='bob_messages_can_be_paginated_in_room_2358@localhost' id='d6276a4d-e825-42bd-a6a6-2f34986b4912' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1649-85315-55296</version> <user affiliation='member'>bob_messages_can_be_paginated_in_room_2358@localhost</user> </x> <body/> </message>
*** User 2022-04-04 15:15:15.060 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 in <message from='1649-85315-44077@muclight.localhost' to='alice_messages_can_be_paginated_in_room_2358@localhost' id='d6276a4d-e825-42bd-a6a6-2f34986b4912' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1649-85315-44035</prev-version> <version>1649-85315-55296</version> <user affiliation='member'>bob_messages_can_be_paginated_in_room_2358@localhost</user> </x> <body/> <stanza-id by='1649-85315-44077@muclight.localhost' id='BMULJ1K7M2G1' 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-04-04 15:15:15.075 *** =WARNING REPORT==== 4-Apr-2022::15:15:15.075749 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-04-04 15:15:15.083 *** REST request: Code: 200 Req: {<0.14035.2>,<<"/api/rooms/1649-85315-44077/messages?limit=10">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"d960512d2151aaff">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIzNThAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 04 Apr 2022 15:15:14 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"1226">>}], <<"[{\"type\":\"message\",\"timestamp\":1648826116000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"532248e8 day_offset=3 user_num=1\"},{\"type\":\"message\",\"timestamp\":1648826117000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"a3059278 day_offset=3 user_num=2\"},{\"type\":\"message\",\"timestamp\":1648912516000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"d330b20b day_offset=2 user_num=1\"},{\"type\":\"message\",\"timestamp\":1648912517000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"d7b00d58 day_offset=2 user_num=2\"},{\"type\":\"message\",\"timestamp\":1648998916000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"3cf368aa day_offset=1 user_num=1\"},{\"type\":\"message\",\"timestamp\":1648998917000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"130019ac day_offset=1 user_num=2\"},{\"user\":\"bob_messages_can_be_paginated_in_room_2358@localhost\",\"type\":\"affiliation\",\"timestamp\":1649085315054,\"id\":\"d6276a4d-e825-42bd-a6a6-2f34986b4912\",\"from\":\"1649-85315-44077@muclight.localhost\",\"affiliation\":\"member\"}]">>, 1352,2117} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_2358@localhost">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1649-85315-44077/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-04-04 15:15:15.085 *** =WARNING REPORT==== 4-Apr-2022::15:15:15.085418 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-04-04 15:15:15.097 *** REST request: Code: 200 Req: {<0.14040.2>,<<"/api/rooms/1649-85315-44077/messages?limit=3">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"7e993bdb5c0d2092">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIzNThAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 04 Apr 2022 15:15:14 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"558">>}], <<"[{\"type\":\"message\",\"timestamp\":1648998916000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"3cf368aa day_offset=1 user_num=1\"},{\"type\":\"message\",\"timestamp\":1648998917000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"130019ac day_offset=1 user_num=2\"},{\"user\":\"bob_messages_can_be_paginated_in_room_2358@localhost\",\"type\":\"affiliation\",\"timestamp\":1649085315054,\"id\":\"d6276a4d-e825-42bd-a6a6-2f34986b4912\",\"from\":\"1649-85315-44077@muclight.localhost\",\"affiliation\":\"member\"}]">>, 683,2990} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_2358@localhost">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1649-85315-44077/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-04-04 15:15:15.099 *** =WARNING REPORT==== 4-Apr-2022::15:15:15.099011 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-04-04 15:15:15.110 *** REST request: Code: 200 Req: {<0.14045.2>, <<"/api/rooms/1649-85315-44077/messages?limit=4&before=1648998905000">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"c2f0b2a2fb1d1214">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIzNThAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 04 Apr 2022 15:15:14 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"669">>}], <<"[{\"type\":\"message\",\"timestamp\":1648826116000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"532248e8 day_offset=3 user_num=1\"},{\"type\":\"message\",\"timestamp\":1648826117000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"a3059278 day_offset=3 user_num=2\"},{\"type\":\"message\",\"timestamp\":1648912516000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"d330b20b day_offset=2 user_num=1\"},{\"type\":\"message\",\"timestamp\":1648912517000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"d7b00d58 day_offset=2 user_num=2\"}]">>, 794,2553} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_2358@localhost">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1649-85315-44077/messages?limit=4&before=1648998905000">>, 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-04-04 15:15:15.112 *** =WARNING REPORT==== 4-Apr-2022::15:15:15.111988 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-04-04 15:15:15.124 *** REST request: Code: 200 Req: {<0.14050.2>, <<"/api/rooms/1649-85315-44077/messages?limit=2&before=1648998905000">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"435d376eed099b62">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzIzNThAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Mon, 04 Apr 2022 15:15:14 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"335">>}], <<"[{\"type\":\"message\",\"timestamp\":1648912516000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"d330b20b day_offset=2 user_num=1\"},{\"type\":\"message\",\"timestamp\":1648912517000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_2358@localhost\",\"body\":\"d7b00d58 day_offset=2 user_num=2\"}]">>, 460,2622} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_2358@localhost">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1649-85315-44077/messages?limit=2&before=1648998905000">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-04-04 15:15:15.124 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 out </stream:stream>
*** User 2022-04-04 15:15:15.124 *** bOb_messages_can_be_paginated_in_room_2358@localhost/res1 in </stream:stream>
*** User 2022-04-04 15:15:15.125 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 out </stream:stream>
*** User 2022-04-04 15:15:15.125 *** alicE_messages_can_be_paginated_in_room_2358@localhost/res1 in </stream:stream>
=== Ended at 2022-04-04 15:15:15 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result