=== Test case: rest_client_SUITE:messages_can_be_paginated_in_room/1 (click for source code) === Config value: [{watchdog,<0.28162.1>}, {muc_light_host,<<"muclight2.domain.example.com">>}, {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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.rest_client_SUITE.logs/run.2022-03-04_11.25.13/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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.rest_client_SUITE.logs/run.2022-03-04_11.25.13/log_private/"}, {{saved_modules,mongooseim@localhost,<<"test type">>}, #{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@88d84ff17c71.2022-03-04_11.16.52" === Started at 2022-03-04 11:25:15
*** User 2022-03-04 11:25:15.318 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-04 11:25:15.318 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='883fc803221dabac' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:15.318 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/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-03-04 11:25:15.318 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX21lc3NhZ2VzX2Nhbl9iZV9wYWdpbmF0ZWRfaW5fcm9vbV8xODIwAG1hdHlncnlzYQ==</auth>
*** User 2022-03-04 11:25:15.319 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:25:15.319 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-04 11:25:15.319 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2bb43378d45c2ff3' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:15.319 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/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-03-04 11:25:15.319 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <iq type='set' id='3a2fadbf98a3ec7525cfbb2b7b44081a'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-04 11:25:15.319 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <iq id='3a2fadbf98a3ec7525cfbb2b7b44081a' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1</jid> </bind> </iq>
*** User 2022-03-04 11:25:15.320 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <iq type='set' id='718e205a9deaa48e9aaf8a14fc4ab1fa'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-04 11:25:15.320 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <iq type='result' id='718e205a9deaa48e9aaf8a14fc4ab1fa'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-04 11:25:15.320 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <presence/>
*** User 2022-03-04 11:25:15.321 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <presence from='alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1' to='alice_messages_can_be_paginated_in_room_1820@domain.example.com/res1' xml:lang='en'/>
*** User 2022-03-04 11:25:15.322 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-04 11:25:15.322 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ccbef5045c9435a2' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:15.322 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/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-03-04 11:25:15.322 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9tZXNzYWdlc19jYW5fYmVfcGFnaW5hdGVkX2luX3Jvb21fMTgyMABtYWtyb2xpa2E=</auth>
*** User 2022-03-04 11:25:15.323 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2022-03-04 11:25:15.323 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2022-03-04 11:25:15.323 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d7c3adecf7fae207' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2022-03-04 11:25:15.323 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/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-03-04 11:25:15.323 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <iq type='set' id='e617668e22dd7e30ce93f2f4214b7222'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2022-03-04 11:25:15.323 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <iq id='e617668e22dd7e30ce93f2f4214b7222' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1</jid> </bind> </iq>
*** User 2022-03-04 11:25:15.323 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <iq type='set' id='8500d68adbe4233002d176e4a645df57'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-04 11:25:15.323 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <iq type='result' id='8500d68adbe4233002d176e4a645df57'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2022-03-04 11:25:15.324 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out <presence/>
*** User 2022-03-04 11:25:15.325 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <presence from='bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1' to='bob_messages_can_be_paginated_in_room_1820@domain.example.com/res1' xml:lang='en'/>
*** System report during rest_client_SUITE:messages_can_be_paginated_in_room/1 in muc 2022-03-04 11:25:15.326 *** =WARNING REPORT==== 4-Mar-2022::11:25:15.326411 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-04 11:25:15.333 *** REST request: Code: 200 Req: {<0.28750.1>,<<"/api/rooms">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"aae5e4cc75452898">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzE4MjBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}], <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 04 Mar 2022 11:25:14 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"27">>}], <<"{\"id\":\"1646-393115-333135\"}">>,151,1187} Params: #{body => <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>, creds => {<<"alice_messages_can_be_paginated_in_room_1820@domain.example.com">>, <<"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-03-04 11:25:15.334 *** =WARNING REPORT==== 4-Mar-2022::11:25:15.334554 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-04 11:25:15.345 *** REST request: Code: 204 Req: {<0.28755.1>,<<"/api/rooms/1646-393115-333135/users">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"fdce7738d0cd0ae6">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzE4MjBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}], <<"{\"user\":\"bob_messages_can_be_paginated_in_room_1820@domain.example.com\"}">>} Result: {{<<"204">>,<<"No Content">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 04 Mar 2022 11:25:14 GMT">>}], <<>>,80,5190} Params: #{body => <<"{\"user\":\"bob_messages_can_be_paginated_in_room_1820@domain.example.com\"}">>, creds => {<<"alice_messages_can_be_paginated_in_room_1820@domain.example.com">>, <<"matygrysa">>}, method => <<"POST">>, path => <<"/api/rooms/1646-393115-333135/users">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-04 11:25:15.345 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <message from='1646-393115-333135@muclight2.domain.example.com' to='bob_messages_can_be_paginated_in_room_1820@domain.example.com' id='a738a18f-6a97-4954-b3d6-f42b87ca2a53' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <version>1646-393115-341425</version> <user affiliation='member'>bob_messages_can_be_paginated_in_room_1820@domain.example.com</user> </x> <body/> </message>
*** User 2022-03-04 11:25:15.345 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in <message from='1646-393115-333135@muclight2.domain.example.com' to='alice_messages_can_be_paginated_in_room_1820@domain.example.com' id='a738a18f-6a97-4954-b3d6-f42b87ca2a53' type='groupchat'> <x xmlns='urn:xmpp:muclight:0#affiliations'> <prev-version>1646-393115-333104</prev-version> <version>1646-393115-341425</version> <user affiliation='member'>bob_messages_can_be_paginated_in_room_1820@domain.example.com</user> </x> <body/> <stanza-id by='1646-393115-333135@muclight2.domain.example.com' id='BMB2OJ6F1381' 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-03-04 11:25:15.360 *** =WARNING REPORT==== 4-Mar-2022::11:25:15.360529 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-04 11:25:15.368 *** REST request: Code: 200 Req: {<0.28760.1>,<<"/api/rooms/1646-393115-333135/messages?limit=10">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"0e34267a068a8e8b">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzE4MjBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 04 Mar 2022 11:25:14 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"1301">>}], <<"[{\"type\":\"message\",\"timestamp\":1646133916000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"2b6771ab day_offset=3 user_num=1\"},{\"type\":\"message\",\"timestamp\":1646133917000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"ab2dc2b4 day_offset=3 user_num=2\"},{\"type\":\"message\",\"timestamp\":1646220316000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"c7e47fff day_offset=2 user_num=1\"},{\"type\":\"message\",\"timestamp\":1646220317000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"0e974a4a day_offset=2 user_num=2\"},{\"type\":\"message\",\"timestamp\":1646306716000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"f9510ce0 day_offset=1 user_num=1\"},{\"type\":\"message\",\"timestamp\":1646306717000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"05c08924 day_offset=1 user_num=2\"},{\"user\":\"bob_messages_can_be_paginated_in_room_1820@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1646393115340,\"id\":\"a738a18f-6a97-4954-b3d6-f42b87ca2a53\",\"from\":\"1646-393115-333135@muclight2.domain.example.com\",\"affiliation\":\"member\"}]">>, 1427,2081} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_1820@domain.example.com">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1646-393115-333135/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-03-04 11:25:15.369 *** =WARNING REPORT==== 4-Mar-2022::11:25:15.369860 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-04 11:25:15.377 *** REST request: Code: 200 Req: {<0.28765.1>,<<"/api/rooms/1646-393115-333135/messages?limit=3">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"c98a8d7f8de12be2">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzE4MjBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 04 Mar 2022 11:25:14 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"597">>}], <<"[{\"type\":\"message\",\"timestamp\":1646306716000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"f9510ce0 day_offset=1 user_num=1\"},{\"type\":\"message\",\"timestamp\":1646306717000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"05c08924 day_offset=1 user_num=2\"},{\"user\":\"bob_messages_can_be_paginated_in_room_1820@domain.example.com\",\"type\":\"affiliation\",\"timestamp\":1646393115340,\"id\":\"a738a18f-6a97-4954-b3d6-f42b87ca2a53\",\"from\":\"1646-393115-333135@muclight2.domain.example.com\",\"affiliation\":\"member\"}]">>, 722,2030} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_1820@domain.example.com">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1646-393115-333135/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-03-04 11:25:15.378 *** =WARNING REPORT==== 4-Mar-2022::11:25:15.378734 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-04 11:25:15.386 *** REST request: Code: 200 Req: {<0.28770.1>, <<"/api/rooms/1646-393115-333135/messages?limit=4&before=1646306705000">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"e458314dc8b986d6">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzE4MjBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 04 Mar 2022 11:25:14 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"705">>}], <<"[{\"type\":\"message\",\"timestamp\":1646133916000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"2b6771ab day_offset=3 user_num=1\"},{\"type\":\"message\",\"timestamp\":1646133917000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"ab2dc2b4 day_offset=3 user_num=2\"},{\"type\":\"message\",\"timestamp\":1646220316000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"c7e47fff day_offset=2 user_num=1\"},{\"type\":\"message\",\"timestamp\":1646220317000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"0e974a4a day_offset=2 user_num=2\"}]">>, 830,1874} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_1820@domain.example.com">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1646-393115-333135/messages?limit=4&before=1646306705000">>, 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-03-04 11:25:15.387 *** =WARNING REPORT==== 4-Mar-2022::11:25:15.387282 === Description: "Authenticity is not established by certificate path validation" Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"
*** User 2022-03-04 11:25:15.394 *** REST request: Code: 200 Req: {<0.28775.1>, <<"/api/rooms/1646-393115-333135/messages?limit=2&before=1646306705000">>, <<"GET">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"60f27d6a82c3e34e">>}, {<<"authorization">>, <<"Basic YWxpY2VfbWVzc2FnZXNfY2FuX2JlX3BhZ2luYXRlZF9pbl9yb29tXzE4MjBAZG9tYWluLmV4YW1wbGUuY29tOm1hdHlncnlzYQ==">>}], <<>>} Result: {{<<"200">>,<<"OK">>}, [{<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 04 Mar 2022 11:25:14 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"353">>}], <<"[{\"type\":\"message\",\"timestamp\":1646220316000,\"id\":\"undefined\",\"from\":\"alicE_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"c7e47fff day_offset=2 user_num=1\"},{\"type\":\"message\",\"timestamp\":1646220317000,\"id\":\"undefined\",\"from\":\"bOb_messages_can_be_paginated_in_room_1820@domain.example.com\",\"body\":\"0e974a4a day_offset=2 user_num=2\"}]">>, 478,1850} Params: #{body => <<>>, creds => {<<"alice_messages_can_be_paginated_in_room_1820@domain.example.com">>, <<"matygrysa">>}, method => <<"GET">>, path => <<"/api/rooms/1646-393115-333135/messages?limit=2&before=1646306705000">>, return_headers => true,role => client, server => #{node => mongooseim@localhost}}
*** User 2022-03-04 11:25:15.394 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out </stream:stream>
*** User 2022-03-04 11:25:15.395 *** bOb_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in </stream:stream>
*** User 2022-03-04 11:25:15.395 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 out </stream:stream>
*** User 2022-03-04 11:25:15.395 *** alicE_messages_can_be_paginated_in_room_1820@domain.example.com/res1 in </stream:stream>
=== Ended at 2022-03-04 11:25:15 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result