=== Test case: rest_client_SUITE:room_msg_is_sent_and_delivered_over_sse/1 (click for source code)

=== Config value:

    [{watchdog,<0.11526.2>},
     {muc_light_host,<<"muclight.localhost">>},
     {mam_backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
     {preset,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.rest_client_SUITE.logs/run.2022-03-07_16.09.36/rest_client_suite.room_msg_is_sent_and_delivered_over_sse.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@fac56f14d8cf.2022-03-07_15.57.55/big_tests.tests.rest_client_SUITE.logs/run.2022-03-07_16.09.36/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},{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 => [],
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,ldap_binary_search_fields => [],
              ldap_pool_tag => default,
              ldap_search_fields =>
                  [{<<"User">>,<<"%u">>},
                   {<<"Full Name">>,<<"displayName">>},
                   {<<"Given Name">>,<<"givenName">>},
                   {<<"Middle Name">>,<<"initials">>},
                   {<<"Family Name">>,<<"sn">>},
                   {<<"Nickname">>,<<"%u">>},
                   {<<"Birthday">>,<<"birthDay">>},
                   {<<"Country">>,<<"c">>},
                   {<<"City">>,<<"l">>},
                   {<<"Email">>,<<"mail">>},
                   {<<"Organization Name">>,<<"o">>},
                   {<<"Organization Unit">>,<<"ou">>}],
              ldap_search_operator => 'and',
              ldap_search_reported =>
                  [{<<"Full Name">>,<<"FN">>},
                   {<<"Given Name">>,<<"FIRST">>},
                   {<<"Middle Name">>,<<"MIDDLE">>},
                   {<<"Family Name">>,<<"LAST">>},
                   {<<"Nickname">>,<<"NICK">>},
                   {<<"Birthday">>,<<"BDAY">>},
                   {<<"Country">>,<<"CTRY">>},
                   {<<"City">>,<<"LOCALITY">>},
                   {<<"Email">>,<<"EMAIL">>},
                   {<<"Organization Name">>,<<"ORGNAME">>},
                   {<<"Organization Unit">>,<<"ORGUNIT">>}],
              ldap_uids => [{<<"uid">>,<<"%u">>}],
              ldap_vcard_map =>
                  [{<<"NICKNAME">>,<<"%u">>,[]},
                   {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                   {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                   {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                   {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                   {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                   {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                   {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                   {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                   {<<"STREET">>,<<"%s">>,[<<"street">>]},
                   {<<"REGION">>,<<"%s">>,[<<"st">>]},
                   {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                   {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                   {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                   {<<"DESC">>,<<"%s">>,[<<"description">>]},
                   {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                   {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                   {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                   {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                   {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
              matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fac56f14d8cf.2022-03-07_15.57.55"

=== Started at 2022-03-07 16:09:38


*** CT 2022-03-07 16:09:38.334 *** View log from node mongooseim@localhost when started mongooseim@localhost_4924.html
*** CT 2022-03-07 16:09:38.334 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1909.html

*** System report during rest_client_SUITE:room_msg_is_sent_and_delivered_over_sse/1 in muc 2022-03-07 16:09:38.340 ***
=WARNING REPORT==== 7-Mar-2022::16:09:38.339957 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-07 16:09:38.347 ***
REST request:
Code: 200
Req: {<0.12160.2>,<<"/api/rooms">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"8e760d1661001419">>},
       {<<"authorization">>,
        <<"Basic YWxpY2Vfcm9vbV9tc2dfaXNfc2VudF9hbmRfZGVsaXZlcmVkX292ZXJfc3NlXzIyNDNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:38 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"27">>}],
         <<"{\"id\":\"1646-669378-347046\"}">>,151,1372}
Params: #{body =>
              <<"{\"subject\":\"This room subject\",\"name\":\"new_room_name\"}">>,
          creds =>
              {<<"alice_room_msg_is_sent_and_delivered_over_sse_2243@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,path => <<"/api/rooms">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** System report during rest_client_SUITE:room_msg_is_sent_and_delivered_over_sse/1 in muc 2022-03-07 16:09:38.348 ***
=WARNING REPORT==== 7-Mar-2022::16:09:38.348633 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-07 16:09:38.361 ***
REST request:
Code: 204
Req: {<0.12165.2>,<<"/api/rooms/1646-669378-347046/users">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"eb4d4261be9c63bd">>},
       {<<"authorization">>,
        <<"Basic YWxpY2Vfcm9vbV9tc2dfaXNfc2VudF9hbmRfZGVsaXZlcmVkX292ZXJfc3NlXzIyNDNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"user\":\"bob_room_msg_is_sent_and_delivered_over_sse_2243@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:38 GMT">>}],
         <<>>,80,6848}
Params: #{body =>
              <<"{\"user\":\"bob_room_msg_is_sent_and_delivered_over_sse_2243@localhost\"}">>,
          creds =>
              {<<"alice_room_msg_is_sent_and_delivered_over_sse_2243@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1646-669378-347046/users">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** System report during rest_client_SUITE:room_msg_is_sent_and_delivered_over_sse/1 in muc 2022-03-07 16:09:38.362 ***
=WARNING REPORT==== 7-Mar-2022::16:09:38.362348 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-07 16:09:38.369 ***
REST request:
Code: 200
Req: {<0.12170.2>,<<"/api/rooms/1646-669378-347046">>,<<"GET">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"5f5d0a8c05799d9a">>},
       {<<"authorization">>,
        <<"Basic YWxpY2Vfcm9vbV9tc2dfaXNfc2VudF9hbmRfZGVsaXZlcmVkX292ZXJfc3NlXzIyNDNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<>>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:38 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"244">>}],
         <<"{\"subject\":\"This room subject\",\"participants\":[{\"user\":\"alice_room_msg_is_sent_and_delivered_over_sse_2243@localhost\",\"role\":\"owner\"},{\"user\":\"bob_room_msg_is_sent_and_delivered_over_sse_2243@localhost\",\"role\":\"member\"}],\"name\":\"new_room_name\"}">>,
         369,1139}
Params: #{body => <<>>,
          creds =>
              {<<"alice_room_msg_is_sent_and_delivered_over_sse_2243@localhost">>,
               <<"matygrysa">>},
          method => <<"GET">>,path => <<"/api/rooms/1646-669378-347046">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}


*** System report during rest_client_SUITE:room_msg_is_sent_and_delivered_over_sse/1 in muc 2022-03-07 16:09:38.370 ***
=WARNING REPORT==== 7-Mar-2022::16:09:38.370549 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** System report during rest_client_SUITE:room_msg_is_sent_and_delivered_over_sse/1 in muc 2022-03-07 16:09:38.379 ***
=WARNING REPORT==== 7-Mar-2022::16:09:38.379242 ===
Description: "Authenticity is not established by certificate path validation"
     Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"



*** User 2022-03-07 16:09:38.391 ***
REST request:
Code: 200
Req: {<0.12178.2>,<<"/api/rooms/1646-669378-347046/messages">>,<<"POST">>,
      [{<<"Content-Type">>,<<"application/json">>},
       {<<"Request-Id">>,<<"96ee23d7c6e8c325">>},
       {<<"authorization">>,
        <<"Basic YWxpY2Vfcm9vbV9tc2dfaXNfc2VudF9hbmRfZGVsaXZlcmVkX292ZXJfc3NlXzIyNDNAbG9jYWxob3N0Om1hdHlncnlzYQ==">>}],
      <<"{\"body\":\"Hi all!\"}">>}
Result: {{<<"200">>,<<"OK">>},
         [{<<"server">>,<<"Cowboy">>},
          {<<"date">>,<<"Mon, 07 Mar 2022 16:09:38 GMT">>},
          {<<"content-type">>,<<"application/json">>},
          {<<"content-length">>,<<"45">>}],
         <<"{\"id\":\"490bbf8c-4a1c-4c0e-af3d-dc764580e3f9\"}">>,169,5341}
Params: #{body => <<"{\"body\":\"Hi all!\"}">>,
          creds =>
              {<<"alice_room_msg_is_sent_and_delivered_over_sse_2243@localhost">>,
               <<"matygrysa">>},
          method => <<"POST">>,
          path => <<"/api/rooms/1646-669378-347046/messages">>,
          return_headers => true,role => client,
          server => #{node => mongooseim@localhost}}

*** CT 2022-03-07 16:09:38.394 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1909.html
*** CT 2022-03-07 16:09:38.395 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4924.html



=== Ended at 2022-03-07 16:09:38
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result