=== Test case: accounts_SUITE:registration_failure_timeout/1 (click for source code)

=== Config value:

    [{watchdog,<0.1471.0>},
     {escalus_user_db,xmpp},
     {mod_register_options,
         [{welcome_message,{[],[]}},
          {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
          {access,register},
          {registration_watchers,[]}]},
     {mim_data_dir,
         "/home/circleci/project/big_tests/tests/accounts_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.accounts_SUITE.logs/run.2022-03-07_15.57.24/accounts_suite.registration_failure_timeout.html"},
     {tc_group_properties,[{name,registration_timeout},sequence]},
     {tc_group_path,[]},
     {data_dir,
         "/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/accounts_SUITE_data/"},
     {priv_dir,
         "/home/circleci/project/big_tests/ct_report/ct_run.test@333794cb5a72.2022-03-07_15.57.24/big_tests.tests.accounts_SUITE.logs/run.2022-03-07_15.57.24/log_private/"},
     {config_backup,#{registration_timeout => {ok,infinity}}}]

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

=== Started at 2022-03-07 15:57:28


*** CT 2022-03-07 15:57:28.172 *** View log from node mongooseim@localhost when started mongooseim@localhost_23.html
*** CT 2022-03-07 15:57:28.173 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_22.html

*** User 2022-03-07 15:57:31.174 ***
alicE@domain.example.com 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-07 15:57:31.175 ***
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='767bf1990688b9d8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 15:57:31.175 ***
alicE@domain.example.com 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-07 15:57:31.175 ***
alicE@domain.example.com out
<iq type='get' id='d1e5946ca71dfa92e79a12a12facad32'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-07 15:57:31.176 ***
alicE@domain.example.com in
<iq from='domain.example.com' id='d1e5946ca71dfa92e79a12a12facad32' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2022-03-07 15:57:31.176 ***
alicE@domain.example.com out
<iq type='set' id='323e241a65e69ce4f9d1d7776642823d'>
	<query xmlns='jabber:iq:register'>
		<username>alicE</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-07 15:57:31.176 ***
alicE@domain.example.com in
<iq from='domain.example.com' id='323e241a65e69ce4f9d1d7776642823d' type='error'>
	<query xmlns='jabber:iq:register'>
		<username>alicE</username>
		<password>matygrysa</password>
	</query>
	<error code='403' type='auth'>
		<forbidden xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
	</error>
</iq>



*** User 2022-03-07 15:57:31.176 ***
alicE@domain.example.com out
</stream:stream>

*** User 2022-03-07 15:57:31.176 ***
alicE@domain.example.com in
</stream:stream>

*** User 2022-03-07 15:57:31.177 ***
alicE@domain.example.com 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-07 15:57:31.177 ***
alicE@domain.example.com in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f117463c68488b9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-07 15:57:31.177 ***
alicE@domain.example.com 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-07 15:57:31.178 ***
alicE@domain.example.com out
<iq type='get' id='b38c38049cb17e92ca1c8bb6b7b254b0'>
	<query xmlns='jabber:iq:register'/>
</iq>



*** User 2022-03-07 15:57:31.178 ***
alicE@domain.example.com in
<iq from='domain.example.com' id='b38c38049cb17e92ca1c8bb6b7b254b0' type='result'>
	<query xmlns='jabber:iq:register'>
		<instructions>Choose a username and password to register with this server</instructions>
		<username/>
		<password/>
	</query>
</iq>



*** User 2022-03-07 15:57:31.178 ***
alicE@domain.example.com out
<iq type='set' id='4bc4670f9e8f711ad12f380910fa3e60'>
	<query xmlns='jabber:iq:register'>
		<username>alicE</username>
		<password>matygrysa</password>
	</query>
</iq>



*** User 2022-03-07 15:57:31.178 ***
alicE@domain.example.com in
<iq from='domain.example.com' id='4bc4670f9e8f711ad12f380910fa3e60' type='error'>
	<error code='500' type='wait'>
		<resource-constraint xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
		<text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Users are not allowed to register accounts so quickly</text>
	</error>
</iq>



*** User 2022-03-07 15:57:31.178 ***
alicE@domain.example.com out
</stream:stream>

*** User 2022-03-07 15:57:31.179 ***
alicE@domain.example.com in
</stream:stream>
*** CT 2022-03-07 15:57:31.186 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_22.html
*** CT 2022-03-07 15:57:31.189 *** View log from node mongooseim@localhost when finished mongooseim@localhost_23.html



=== Ended at 2022-03-07 15:57:31
=== successfully completed test case
=== === Returned value: ok


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