=== Test case: rest_client_SUITE:add_contact_and_be_invited/1 (click for source code)
=== Config value:
[{watchdog,<0.21202.1>},
{muc_light_host,<<"muclight.localhost">>},
{mam_backend,disabled},
{preset,"ldap_mnesia"},
{mim_data_dir,"/home/circleci/project/big_tests/tests/rest_client_SUITE_data"},
{tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@19371561ec7c.2024-04-15_16.44.55/big_tests.tests.rest_client_SUITE.logs/run.2024-04-15_16.56.37/rest_client_suite.add_contact_and_be_invited.103554.html"},
{tc_group_properties,[{name,roster},parallel]},
{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@19371561ec7c.2024-04-15_16.44.55/big_tests.tests.rest_client_SUITE.logs/run.2024-04-15_16.56.37/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,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 => mnesia,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 => ldap,
host => {prefix,<<"vjud.">>},
iqdisc => parallel,
ldap =>
#{base => <<"ou=Users,dc=esl,dc=com">>,
binary_search_fields => [],deref => never,
filter => <<"(objectClass=inetOrgPerson)">>,
pool_tag => default,
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">>}],
search_operator => 'and',
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">>}],
uids => [{<<"uid">>,<<"%u">>}],
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@19371561ec7c.2024-04-15_16.44.55"
=== Started at 2024-04-15 16:56:40
*** User 2024-04-15 16:56:40.483 ***🔗
alicE_add_contact_and_be_invited_1820@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 16:56:40.486 ***🔗
alicE_add_contact_and_be_invited_1820@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2bb559e8cae0a64c' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:56:40.487 ***🔗
alicE_add_contact_and_be_invited_1820@localhost/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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-15 16:56:40.487 ***🔗
alicE_add_contact_and_be_invited_1820@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzE4MjAAbWF0eWdyeXNh</auth>
*** User 2024-04-15 16:56:40.505 ***🔗
alicE_add_contact_and_be_invited_1820@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:56:40.506 ***🔗
alicE_add_contact_and_be_invited_1820@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 16:56:40.508 ***🔗
alicE_add_contact_and_be_invited_1820@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1913199bb7d13c4c' from='localhost' version='1.0' xml:lang='en' to='alice_add_contact_and_be_invited_1820@localhost'>
*** User 2024-04-15 16:56:40.508 ***🔗
alicE_add_contact_and_be_invited_1820@localhost/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-04-15 16:56:40.508 ***🔗
alicE_add_contact_and_be_invited_1820@localhost/res1 out
<iq type='set' id='c95f115d2eead3a22cfd8a15ac48a8ff'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:56:40.509 ***🔗
alicE_add_contact_and_be_invited_1820@localhost/res1 in
<iq id='c95f115d2eead3a22cfd8a15ac48a8ff' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>alice_add_contact_and_be_invited_1820@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:56:40.510 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 out
<iq type='set' id='3043bd9c7324ae0cc2d7613d28097a11'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.515 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 in
<iq from='localhost' to='alice_add_contact_and_be_invited_1820@localhost/res1' id='3043bd9c7324ae0cc2d7613d28097a11' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.516 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 out
<presence/>
*** User 2024-04-15 16:56:40.517 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 in
<presence from='alice_add_contact_and_be_invited_1820@localhost/res1' to='alice_add_contact_and_be_invited_1820@localhost/res1'/>
*** User 2024-04-15 16:56:40.517 ***🔗
bOb_add_contact_and_be_invited_1820@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 16:56:40.518 ***🔗
bOb_add_contact_and_be_invited_1820@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6aed3b82ab2a7dc0' from='localhost' version='1.0' xml:lang='en'>
*** User 2024-04-15 16:56:40.519 ***🔗
bOb_add_contact_and_be_invited_1820@localhost/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>PLAIN</mechanism>
</mechanisms>
<amp xmlns='http://jabber.org/feature/amp'/>
<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>
*** User 2024-04-15 16:56:40.519 ***🔗
bOb_add_contact_and_be_invited_1820@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9hZGRfY29udGFjdF9hbmRfYmVfaW52aXRlZF8xODIwAG1ha3JvbGlrYQ==</auth>
*** User 2024-04-15 16:56:40.522 ***🔗
bOb_add_contact_and_be_invited_1820@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-04-15 16:56:40.523 ***🔗
bOb_add_contact_and_be_invited_1820@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
*** User 2024-04-15 16:56:40.523 ***🔗
bOb_add_contact_and_be_invited_1820@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='440c5fa247f9e635' from='localhost' version='1.0' xml:lang='en' to='bob_add_contact_and_be_invited_1820@localhost'>
*** User 2024-04-15 16:56:40.523 ***🔗
bOb_add_contact_and_be_invited_1820@localhost/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-04-15 16:56:40.523 ***🔗
bOb_add_contact_and_be_invited_1820@localhost/res1 out
<iq type='set' id='fe59aa82e0c719f9ab0a9d059df9d647'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<resource>res1</resource>
</bind>
</iq>
*** User 2024-04-15 16:56:40.525 ***🔗
bOb_add_contact_and_be_invited_1820@localhost/res1 in
<iq id='fe59aa82e0c719f9ab0a9d059df9d647' type='result'>
<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
<jid>bob_add_contact_and_be_invited_1820@localhost/res1</jid>
</bind>
</iq>
*** User 2024-04-15 16:56:40.525 ***🔗
bob_add_contact_and_be_invited_1820@localhost/res1 out
<iq type='set' id='158e1d2d7b10a4060afa97edc7e16ca1'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.535 ***🔗
bob_add_contact_and_be_invited_1820@localhost/res1 in
<iq from='localhost' to='bob_add_contact_and_be_invited_1820@localhost/res1' id='158e1d2d7b10a4060afa97edc7e16ca1' type='result'>
<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>
*** User 2024-04-15 16:56:40.535 ***🔗
bob_add_contact_and_be_invited_1820@localhost/res1 out
<presence/>
*** User 2024-04-15 16:56:40.538 ***🔗
bob_add_contact_and_be_invited_1820@localhost/res1 in
<presence from='bob_add_contact_and_be_invited_1820@localhost/res1' to='bob_add_contact_and_be_invited_1820@localhost/res1'/>
*** User 2024-04-15 16:56:40.573 ***🔗
REST request:
Code: 200
Req: {<0.21289.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"35c85ed819ff4902">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzE4MjBAbG9jYWxob3N0Om1ha3JvbGlrYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 15 Apr 2024 16:56:39 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"2">>}],
<<"[]">>,125,7677}
Params: #{body => <<>>,
creds =>
{<<"bob_add_contact_and_be_invited_1820@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-04-15 16:56:40.614 ***🔗
REST request:
Code: 204
Req: {<0.21307.1>,<<"/api/contacts">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"a6305d361f3f3f07">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzE4MjBAbG9jYWxob3N0Om1ha3JvbGlrYQ==">>}],
<<"{\"jid\":\"alice_add_contact_and_be_invited_1820@localhost\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 15 Apr 2024 16:56:39 GMT">>}],
<<>>,80,18388}
Params: #{body =>
<<"{\"jid\":\"alice_add_contact_and_be_invited_1820@localhost\"}">>,
creds =>
{<<"bob_add_contact_and_be_invited_1820@localhost">>,
<<"makrolika">>},
method => <<"POST">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-04-15 16:56:40.614 ***🔗
bob_add_contact_and_be_invited_1820@localhost/res1 in
<iq from='bob_add_contact_and_be_invited_1820@localhost' to='bob_add_contact_and_be_invited_1820@localhost/res1' id='push8eb5561aee83ba0b' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_contact_and_be_invited_1820@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-15 16:56:40.646 ***🔗
REST request:
Code: 200
Req: {<0.21345.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"18389a5595e13d2b">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzE4MjBAbG9jYWxob3N0Om1ha3JvbGlrYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 15 Apr 2024 16:56:39 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"94">>}],
<<"[{\"subscription\":\"none\",\"jid\":\"alice_add_contact_and_be_invited_1820@localhost\",\"ask\":\"none\"}]">>,
218,16347}
Params: #{body => <<>>,
creds =>
{<<"bob_add_contact_and_be_invited_1820@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-04-15 16:56:40.646 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 out
<iq type='set' id='4d520a596c06d64d04619e203afe4a67'>
<query xmlns='jabber:iq:roster'>
<item jid='bob_add_contact_and_be_invited_1820@localhost' name='Bobek'/>
</query>
</iq>
*** User 2024-04-15 16:56:40.649 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 in
<iq from='alice_add_contact_and_be_invited_1820@localhost' to='alice_add_contact_and_be_invited_1820@localhost/res1' id='push3409630481fa2470' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobek' jid='bob_add_contact_and_be_invited_1820@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-15 16:56:40.649 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 in
<iq from='alice_add_contact_and_be_invited_1820@localhost' to='alice_add_contact_and_be_invited_1820@localhost/res1' id='4d520a596c06d64d04619e203afe4a67' type='result'/>
*** User 2024-04-15 16:56:40.649 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 out
<presence type='subscribe' to='bob_add_contact_and_be_invited_1820@localhost'/>
*** User 2024-04-15 16:56:40.656 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 in
<iq from='alice_add_contact_and_be_invited_1820@localhost' to='alice_add_contact_and_be_invited_1820@localhost/res1' id='pusha3b469e739276ff8' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobek' ask='subscribe' jid='bob_add_contact_and_be_invited_1820@localhost' subscription='none'/>
</query>
</iq>
*** User 2024-04-15 16:56:40.659 ***🔗
bob_add_contact_and_be_invited_1820@localhost/res1 in
<presence from='alice_add_contact_and_be_invited_1820@localhost' to='bob_add_contact_and_be_invited_1820@localhost/res1' type='subscribe'/>
*** User 2024-04-15 16:56:40.690 ***🔗
REST request:
Code: 200
Req: {<0.21375.1>,<<"/api/contacts">>,<<"GET">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"aa754501ef0f784d">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzE4MjBAbG9jYWxob3N0Om1ha3JvbGlrYQ==">>}],
<<>>}
Result: {{<<"200">>,<<"OK">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 15 Apr 2024 16:56:39 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"92">>}],
<<"[{\"subscription\":\"none\",\"jid\":\"alice_add_contact_and_be_invited_1820@localhost\",\"ask\":\"in\"}]">>,
216,9238}
Params: #{body => <<>>,
creds =>
{<<"bob_add_contact_and_be_invited_1820@localhost">>,
<<"makrolika">>},
method => <<"GET">>,path => <<"/api/contacts">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-04-15 16:56:40.777 ***🔗
REST request:
Code: 204
Req: {<0.21398.1>,
<<"/api/contacts/alice_add_contact_and_be_invited_1820@localhost">>,
<<"PUT">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"1cb4e4477f405b05">>},
{<<"authorization">>,
<<"Basic Ym9iX2FkZF9jb250YWN0X2FuZF9iZV9pbnZpdGVkXzE4MjBAbG9jYWxob3N0Om1ha3JvbGlrYQ==">>}],
<<"{\"action\":\"accept\"}">>}
Result: {{<<"204">>,<<"No Content">>},
[{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 15 Apr 2024 16:56:39 GMT">>}],
<<>>,80,51668}
Params: #{body => <<"{\"action\":\"accept\"}">>,
creds =>
{<<"bob_add_contact_and_be_invited_1820@localhost">>,
<<"makrolika">>},
method => <<"PUT">>,
path =>
<<"/api/contacts/alice_add_contact_and_be_invited_1820@localhost">>,
return_headers => true,role => client,
server => #{node => mongooseim@localhost}}
*** User 2024-04-15 16:56:40.777 ***🔗
bob_add_contact_and_be_invited_1820@localhost/res1 in
<iq from='bob_add_contact_and_be_invited_1820@localhost' to='bob_add_contact_and_be_invited_1820@localhost/res1' id='pushb47588781043d565' type='set'>
<query xmlns='jabber:iq:roster'>
<item jid='alice_add_contact_and_be_invited_1820@localhost' subscription='from'/>
</query>
</iq>
*** User 2024-04-15 16:56:40.777 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 in
<presence from='bob_add_contact_and_be_invited_1820@localhost/res1' to='alice_add_contact_and_be_invited_1820@localhost/res1'/>
*** User 2024-04-15 16:56:40.777 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 in
<iq from='alice_add_contact_and_be_invited_1820@localhost' to='alice_add_contact_and_be_invited_1820@localhost/res1' id='pushd5cc6a1dd1be30cb' type='set'>
<query xmlns='jabber:iq:roster'>
<item name='Bobek' jid='bob_add_contact_and_be_invited_1820@localhost' subscription='to'/>
</query>
</iq>
*** User 2024-04-15 16:56:40.782 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 in
<presence from='bob_add_contact_and_be_invited_1820@localhost' to='alice_add_contact_and_be_invited_1820@localhost/res1' type='subscribed'/>
*** User 2024-04-15 16:56:40.782 ***🔗
bob_add_contact_and_be_invited_1820@localhost/res1 out
</stream:stream>
*** User 2024-04-15 16:56:40.784 ***🔗
bob_add_contact_and_be_invited_1820@localhost/res1 in
</stream:stream>
*** User 2024-04-15 16:56:40.784 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 out
</stream:stream>
*** User 2024-04-15 16:56:40.785 ***🔗
alice_add_contact_and_be_invited_1820@localhost/res1 in
</stream:stream>
=== Ended at 2024-04-15 16:56:40
=== successfully completed test case
=== === Returned value: ok