=== Test case: vcard_SUITE:vcard_service_discovery/1 (click for source code)

=== Config value:

    [{watchdog,<0.2023.2>},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {aliceb,[{username,<<"aliceb">>},
                              {server,<<"domain.example.org">>},
                              {host,<<"localhost">>},
                              {password,<<"makota">>}]},
                     {bobb,[{username,<<"bobb">>},
                            {server,<<"domain.example.org">>},
                            {host,<<"localhost">>},
                            {password,<<"makrolika">>}]}]},
     {mod_vcard_opts,[{backend,rdbms},{host,{prefix,<<"vjud.">>}}]},
     {all_vcards,[{<<"alice@domain.example.com">>,
                   [{<<"NICKNAME">>,<<"alice">>},
                    {<<"FN">>,<<"Wonderland, Alice">>},
                    {<<"TITLE">>,<<"Executive Director">>},
                    {<<"ROLE">>,<<"Patron Saint">>},
                    {<<"DESC">>,<<"active">>},
                    {<<"URL">>,<<"http://john.doe/">>},
                    {<<"EMAIL">>,
                     [{<<"USERID">>,<<"alice@mail.example.com">>}]},
                    {<<"N">>,
                     [{<<"FAMILY">>,<<"Wonderland">>},
                      {<<"GIVEN">>,<<"Alice">>},
                      {<<"MIDDLE">>,<<"I.N.">>}]},
                    {<<"ADR">>,
                     [{<<"STREET">>,<<"1899 Wynkoop Street">>},
                      {<<"LOCALITY">>,
                       <<208,156,208,190,209,129,208,186,208,178,208,176>>},
                      {<<"REGION">>,<<"CO">>},
                      {<<"PCODE">>,<<"91210">>},
                      {<<"CTRY">>,<<"PL">>}]},
                    {<<"TEL">>,[{<<"NUMBER">>,<<"+1 512 305 0280">>}]},
                    {<<"ORG">>,
                     [{<<"ORGNAME">>,<<"The world">>},
                      {<<"ORGUNIT">>,<<"People">>}]},
                    {<<"BDAY">>,<<"2011-08-06">>},
                    {<<"JABBERID">>,<<"alice@domain.example.com">>}]},
                  {<<"bob@domain.example.com">>,
                   [{<<"NICKNAME">>,<<"bob">>},
                    {<<"FN">>,<<"Doe, Bob">>},
                    {<<"ADR">>,
                     [{<<"STREET">>,
                       <<208,146,32,208,161,208,190,208,178,208,181,209,130,
                         209,129,208,186,208,190,208,185,32,208,160,208,190,
                         209,129,209,129,208,184,208,184,44,32,208,180,208,
                         190,209,128,208,190,208,179,208,176,32,209,128,208,
                         176,208,183,208,178,208,181,209,130,208,178,208,
                         187,209,143,208,181,209,130,209,129,209,143,32,208,
                         178,209,139>>}]},
                    {<<"JABBERID">>,<<"bob@domain.example.com">>}]},
                  {<<"bobb@domain.example.org">>,
                   [{<<"NICKNAME">>,<<"bobb">>},
                    {<<"FN">>,<<"Doe, Bob">>},
                    {<<"N">>,
                     [{<<"FAMILY">>,<<"Doe">>},{<<"GIVEN">>,<<"Bob">>}]},
                    {<<"JABBERID">>,<<"bobb@domain.example.org">>}]},
                  {<<"aliceb@domain.example.org">>,
                   [{<<"NICKNAME">>,<<"aliceb">>},
                    {<<"FN">>,<<"Doe, Alice">>},
                    {<<"N">>,
                     [{<<"FAMILY">>,<<"Doe">>},{<<"GIVEN">>,<<"Alice">>}]},
                    {<<"JABBERID">>,<<"aliceb@domain.example.org">>}]}]},
     {server_vcards,[{<<"domain.example.com">>,
                      [{<<"FN">>,<<"MongooseIM">>},
                       {<<"DESC">>,
                        <<"MongooseIM XMPP Server\nCopyright (c) Erlang Solutions Ltd.">>}]},
                     {<<"vjud.domain.example.com">>,
                      [{<<"FN">>,<<"MongooseIM/mod_vcard">>},
                       {<<"DESC">>,
                        <<"MongooseIM vCard module\nCopyright (c) Erlang Solutions Ltd.">>}]}]},
     {directory_jid,<<"vjud.domain.example.com">>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/vcard_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.vcard_SUITE.logs/run.2022-01-27_12.38.07/vcard_suite.vcard_service_discovery.html"},
     {tc_group_properties,[{name,ro_full},{repeat_until_all_ok,3}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/vcard_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.vcard_SUITE.logs/run.2022-01-27_12.38.07/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@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:38:13


*** CT 2022-01-27 12:38:13.172 *** View log from node mongooseim@localhost when started mongooseim@localhost_3075.html
*** CT 2022-01-27 12:38:13.176 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_711.html

*** User 2022-01-27 12:38:13.178 ***
alicE@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-01-27 12:38:13.178 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1b17db486aedc3dd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:38:13.178 ***
alicE@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-01-27 12:38:13.178 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:38:13.179 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:38:13.180 ***
alicE@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-01-27 12:38:13.180 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17701bed94c884e8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:38:13.180 ***
alicE@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-01-27 12:38:13.180 ***
alicE@domain.example.com/res1 out
<iq type='set' id='028f55cdd98f795e3b41d4a38d138572'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:38:13.180 ***
alicE@domain.example.com/res1 in
<iq id='028f55cdd98f795e3b41d4a38d138572' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:38:13.180 ***
alicE@domain.example.com/res1 out
<iq type='set' id='a61950ab9d5b42ae05ad4b71f8477094'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:38:13.180 ***
alicE@domain.example.com/res1 in
<iq type='result' id='a61950ab9d5b42ae05ad4b71f8477094'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:38:13.181 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:38:13.182 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:38:13.182 ***
alicE@domain.example.com/res1 out
<iq to='domain.example.com' type='get' id='b77198b67621b32b4522a9aa2f1576f9'>
	<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>



*** User 2022-01-27 12:38:13.182 ***
alicE@domain.example.com/res1 in
<iq from='domain.example.com' to='alicE@domain.example.com/res1' id='b77198b67621b32b4522a9aa2f1576f9' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#info'>
		<identity category='server' name='MongooseIM' type='im'/>
		<x xmlns='jabber:x:data' type='result'>
			<field var='FORM_TYPE' type='hidden'>
				<value>http://jabber.org/network/serverinfo</value>
			</field>
		</x>
		<feature var='http://jabber.org/protocol/amp'/>
		<feature var='http://jabber.org/protocol/commands'/>
		<feature var='http://jabber.org/protocol/disco#info'/>
		<feature var='http://jabber.org/protocol/disco#items'/>
		<feature var='iq'/>
		<feature var='jabber:iq:register'/>
		<feature var='presence'/>
		<feature var='presence-invisible'/>
		<feature var='urn:xmpp:carbons:1'/>
		<feature var='urn:xmpp:carbons:2'/>
		<feature var='urn:xmpp:carbons:rules:0'/>
		<feature var='urn:xmpp:sic:1'/>
		<feature var='vcard-temp'/>
	</query>
</iq>



*** User 2022-01-27 12:38:13.183 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:38:13.183 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:38:13.193 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_711.html
*** CT 2022-01-27 12:38:13.196 *** View log from node mongooseim@localhost when finished mongooseim@localhost_3075.html



=== Ended at 2022-01-27 12:38:13
=== successfully completed test case
=== === Returned value: ok


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