=== Test case: muc_SUITE:configure/1 (click for source code)

=== Config value:

    [{watchdog,<0.2783.2>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@397abe963e7a.2024-03-28_11.19.06/big_tests.tests.muc_SUITE.logs/run.2024-03-28_11.29.54/muc_suite.configure.60165.html"},
     {tc_group_properties,[{name,owner},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@397abe963e7a.2024-03-28_11.19.06/big_tests.tests.muc_SUITE.logs/run.2024-03-28_11.29.54/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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 => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        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}}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@397abe963e7a.2024-03-28_11.19.06"

=== Started at 2024-03-28 11:30:10


*** CT 2024-03-28 11:30:10.268 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3545.html

*** User 2024-03-28 11:30:10.324 ***🔗
alicE_configure_2732@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 2024-03-28 11:30:10.325 ***🔗
alicE_configure_2732@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d264cbed3f7b8511' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-28 11:30:10.325 ***🔗
alicE_configure_2732@domain.example.com/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-03-28 11:30:10.325 ***🔗
alicE_configure_2732@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2NvbmZpZ3VyZV8yNzMyAG1hdHlncnlzYQ==</auth>



*** User 2024-03-28 11:30:10.327 ***🔗
alicE_configure_2732@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-28 11:30:10.327 ***🔗
alicE_configure_2732@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 2024-03-28 11:30:10.328 ***🔗
alicE_configure_2732@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='84ef355cb4d82d79' from='domain.example.com' version='1.0' xml:lang='en' to='alice_configure_2732@domain.example.com'>

*** User 2024-03-28 11:30:10.328 ***🔗
alicE_configure_2732@domain.example.com/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-03-28 11:30:10.328 ***🔗
alicE_configure_2732@domain.example.com/res1 out
<iq type='set' id='642070dc5ad692c167bf5e71eb2a7eac'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-28 11:30:10.328 ***🔗
alicE_configure_2732@domain.example.com/res1 in
<iq id='642070dc5ad692c167bf5e71eb2a7eac' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_configure_2732@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-28 11:30:10.328 ***🔗
alice_configure_2732@domain.example.com/res1 out
<iq type='set' id='6391e20958265e939aac529fcd2145bd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-28 11:30:10.329 ***🔗
alice_configure_2732@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_configure_2732@domain.example.com/res1' id='6391e20958265e939aac529fcd2145bd' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-28 11:30:10.329 ***🔗
alice_configure_2732@domain.example.com/res1 out
<presence/>



*** User 2024-03-28 11:30:10.332 ***🔗
alice_configure_2732@domain.example.com/res1 in
<presence from='alice_configure_2732@domain.example.com/res1' to='alice_configure_2732@domain.example.com/res1'/>



*** User 2024-03-28 11:30:10.333 ***🔗
alice_configure_2732@domain.example.com/res1 out
<iq type='get' id='af9170642cc67ed6831916670287147d' to='room-alice_configure_2732@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>



*** User 2024-03-28 11:30:10.334 ***🔗
alice_configure_2732@domain.example.com/res1 in
<iq from='room-alice_configure_2732@groupchats.domain.example.com' to='alice_configure_2732@domain.example.com/res1' id='af9170642cc67ed6831916670287147d' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#owner'>
		<instructions>You need an x:data capable client to configure room</instructions>
		<x xmlns='jabber:x:data' type='form'>
			<title>Configuration of room room-alice_configure_2732@groupchats.domain.example.com</title>
			<field type='hidden' var='FORM_TYPE'>
				<value>http://jabber.org/protocol/muc#roomconfig</value>
			</field>
			<field label='Room title' type='text-single' var='muc#roomconfig_roomname'>
				<value/>
			</field>
			<field label='Room description' type='text-single' var='muc#roomconfig_roomdesc'>
				<value/>
			</field>
			<field label='Make room persistent' type='boolean' var='muc#roomconfig_persistentroom'>
				<value>1</value>
			</field>
			<field label='Make room public searchable' type='boolean' var='muc#roomconfig_publicroom'>
				<value>1</value>
			</field>
			<field label='Make participants list public' type='boolean' var='public_list'>
				<value>1</value>
			</field>
			<field label='Make room password protected' type='boolean' var='muc#roomconfig_passwordprotectedroom'>
				<value>0</value>
			</field>
			<field label='Password' type='text-private' var='muc#roomconfig_roomsecret'>
				<value/>
			</field>
			<field label='Roles and affiliations that may retrieve member list' type='list-multi' var='muc#roomconfig_getmemberlist'>
				<value>moderator</value>
				<value>participant</value>
				<value>visitor</value>
				<option label='moderator'>
					<value>moderator</value>
				</option>
				<option label='participant'>
					<value>participant</value>
				</option>
				<option label='visitor'>
					<value>visitor</value>
				</option>
			</field>
			<field label='Maximum Number of Occupants' type='list-single' var='muc#roomconfig_maxusers'>
				<value>200</value>
				<option label='5'>
					<value>5</value>
				</option>
				<option label='10'>
					<value>10</value>
				</option>
				<option label='20'>
					<value>20</value>
				</option>
				<option label='30'>
					<value>30</value>
				</option>
				<option label='50'>
					<value>50</value>
				</option>
				<option label='100'>
					<value>100</value>
				</option>
				<option label='200'>
					<value>200</value>
				</option>
			</field>
			<field label='moderators only' type='list-single' var='muc#roomconfig_whois'>
				<value>moderators</value>
				<option label='moderators only'>
					<value>moderators</value>
				</option>
				<option label='anyone'>
					<value>anyone</value>
				</option>
			</field>
			<field label='Make room members-only' type='boolean' var='muc#roomconfig_membersonly'>
				<value>0</value>
			</field>
			<field label='Make room moderated' type='boolean' var='muc#roomconfig_moderatedroom'>
				<value>1</value>
			</field>
			<field label='Default users as participants' type='boolean' var='members_by_default'>
				<value>1</value>
			</field>
			<field label='Allow users to change the subject' type='boolean' var='muc#roomconfig_changesubject'>
				<value>1</value>
			</field>
			<field label='Allow users to send private messages' type='boolean' var='allow_private_messages'>
				<value>1</value>
			</field>
			<field label='Allow users to query other users' type='boolean' var='allow_query_users'>
				<value>1</value>
			</field>
			<field label='Allow users to send invites' type='boolean' var='muc#roomconfig_allowinvites'>
				<value>0</value>
			</field>
			<field label='Allow users to enter room with multiple sessions' type='boolean' var='muc#roomconfig_allowmultisessions'>
				<value>0</value>
			</field>
			<field label='Allow visitors to send status text in presence updates' type='boolean' var='muc#roomconfig_allowvisitorstatus'>
				<value>1</value>
			</field>
			<field label='Allow visitors to change nickname' type='boolean' var='muc#roomconfig_allowvisitornickchange'>
				<value>1</value>
			</field>
			<field label='Enable logging' type='boolean' var='muc#roomconfig_enablelogging'>
				<value>0</value>
			</field>
		</x>
	</query>
</iq>



*** User 2024-03-28 11:30:10.335 ***🔗
alice_configure_2732@domain.example.com/res1 out
<iq type='set' id='dcabdc244900d3c348702c11582cf7d5' to='room-alice_configure_2732@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/muc#owner'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>http://jabber.org/protocol/muc#roomconfig</value>
			</field>
			<field type='boolean' var='muc#roomconfig_publicroom'>
				<value>1</value>
			</field>
			<field type='boolean' var='muc#roomconfig_moderatedroom'>
				<value>1</value>
			</field>
			<field type='boolean' var='muc#roomconfig_persistentroom'>
				<value>1</value>
			</field>
		</x>
	</query>
</iq>



*** User 2024-03-28 11:30:10.338 ***🔗
alice_configure_2732@domain.example.com/res1 in
<iq from='room-alice_configure_2732@groupchats.domain.example.com' to='alice_configure_2732@domain.example.com/res1' id='dcabdc244900d3c348702c11582cf7d5' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>



*** User 2024-03-28 11:30:10.338 ***🔗
alice_configure_2732@domain.example.com/res1 out
<iq type='get' id='457ea6aa5792dfd22bd9a1a046ea8f1c' to='room-alice_configure_2732@groupchats.domain.example.com'>
	<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>



*** User 2024-03-28 11:30:10.339 ***🔗
alice_configure_2732@domain.example.com/res1 in
<iq from='room-alice_configure_2732@groupchats.domain.example.com' to='alice_configure_2732@domain.example.com/res1' id='457ea6aa5792dfd22bd9a1a046ea8f1c' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#info'>
		<identity category='conference' name='room-alice_configure_2732' type='text'/>
		<feature var='http://jabber.org/protocol/muc'/>
		<feature var='http://jabber.org/protocol/muc#stable_id'/>
		<feature var='muc_moderated'/>
		<feature var='muc_open'/>
		<feature var='muc_persistent'/>
		<feature var='muc_public'/>
		<feature var='muc_semianonymous'/>
		<feature var='muc_unsecured'/>
		<x xmlns='jabber:x:data' type='result'>
			<field type='hidden' var='FORM_TYPE'>
				<value>http://jabber.org/protocol/muc#roominfo</value>
			</field>
			<field label='Room description' var='muc#roominfo_description'>
				<value/>
			</field>
			<field label='Number of occupants' var='muc#roominfo_occupants'>
				<value>0</value>
			</field>
		</x>
	</query>
</iq>



*** User 2024-03-28 11:30:10.339 ***🔗
alice_configure_2732@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-28 11:30:10.340 ***🔗
alice_configure_2732@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-28 11:30:10.406 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3545.html



=== Ended at 2024-03-28 11:30:10
=== successfully completed test case
=== === Returned value: ok