=== Test case: graphql_sse_SUITE:sse_should_not_get_timeout/1 (click for source code)

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.14179.0>},
     {preset,"ldap_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_sse_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-10_12.45.09/graphql_sse_suite.sse_should_not_get_timeout.html"},
     {tc_group_properties,[{name,timeout}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_sse_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-10_12.45.09/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18"

=== Started at 2024-04-10 12:45:09


*** CT 2024-04-10 12:45:09.729 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1514.html

*** User 2024-04-10 12:45:09.756 ***🔗
alicE_sse_should_not_get_timeout_627@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-10 12:45:09.757 ***🔗
alicE_sse_should_not_get_timeout_627@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5d02f4b780269e0c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:45:09.757 ***🔗
alicE_sse_should_not_get_timeout_627@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-10 12:45:09.757 ***🔗
alicE_sse_should_not_get_timeout_627@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0XzYyNwBtYXR5Z3J5c2E=</auth>



*** User 2024-04-10 12:45:09.758 ***🔗
alicE_sse_should_not_get_timeout_627@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:45:09.758 ***🔗
alicE_sse_should_not_get_timeout_627@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-10 12:45:09.759 ***🔗
alicE_sse_should_not_get_timeout_627@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4fc00717f1d398ff' from='localhost' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_627@localhost'>

*** User 2024-04-10 12:45:09.759 ***🔗
alicE_sse_should_not_get_timeout_627@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-10 12:45:09.759 ***🔗
alicE_sse_should_not_get_timeout_627@localhost/res1 out
<iq type='set' id='ed5b85ae28967525fe5bf67235164169'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:45:09.759 ***🔗
alicE_sse_should_not_get_timeout_627@localhost/res1 in
<iq id='ed5b85ae28967525fe5bf67235164169' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_627@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:45:09.759 ***🔗
alice_sse_should_not_get_timeout_627@localhost/res1 out
<iq type='set' id='5de654d212cc81e73e0e02e1d02829aa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:45:09.760 ***🔗
alice_sse_should_not_get_timeout_627@localhost/res1 in
<iq from='localhost' to='alice_sse_should_not_get_timeout_627@localhost/res1' id='5de654d212cc81e73e0e02e1d02829aa' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:45:09.760 ***🔗
alice_sse_should_not_get_timeout_627@localhost/res1 out
<presence/>



*** User 2024-04-10 12:45:09.760 ***🔗
alice_sse_should_not_get_timeout_627@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_627@localhost/res1' to='alice_sse_should_not_get_timeout_627@localhost/res1'/>



*** User 2024-04-10 12:45:09.761 ***🔗
bOb_sse_should_not_get_timeout_627@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-10 12:45:09.762 ***🔗
bOb_sse_should_not_get_timeout_627@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5bd1af719397777d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:45:09.762 ***🔗
bOb_sse_should_not_get_timeout_627@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-10 12:45:09.762 ***🔗
bOb_sse_should_not_get_timeout_627@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF82MjcAbWFrcm9saWth</auth>



*** User 2024-04-10 12:45:09.763 ***🔗
bOb_sse_should_not_get_timeout_627@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:45:09.763 ***🔗
bOb_sse_should_not_get_timeout_627@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-10 12:45:09.763 ***🔗
bOb_sse_should_not_get_timeout_627@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='503826c8c0319115' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_627@localhost'>

*** User 2024-04-10 12:45:09.763 ***🔗
bOb_sse_should_not_get_timeout_627@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-10 12:45:09.763 ***🔗
bOb_sse_should_not_get_timeout_627@localhost/res1 out
<iq type='set' id='721987821c6aac641b75ced0ec17d895'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:45:09.764 ***🔗
bOb_sse_should_not_get_timeout_627@localhost/res1 in
<iq id='721987821c6aac641b75ced0ec17d895' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_627@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:45:09.764 ***🔗
bob_sse_should_not_get_timeout_627@localhost/res1 out
<iq type='set' id='cc874c98c63478b00f8ddf728a27f4c5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:45:09.764 ***🔗
bob_sse_should_not_get_timeout_627@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_627@localhost/res1' id='cc874c98c63478b00f8ddf728a27f4c5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:45:09.764 ***🔗
bob_sse_should_not_get_timeout_627@localhost/res1 out
<presence/>



*** User 2024-04-10 12:45:09.765 ***🔗
bob_sse_should_not_get_timeout_627@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_627@localhost/res1' to='bob_sse_should_not_get_timeout_627@localhost/res1'/>



*** User 2024-04-10 12:45:09.765 ***🔗
Connect to SSE, port: 5561, path: /api/graphql/sse?query=subscription+%7B+stanza+%7B+subscribeForMessages+%7B+sender+stanza+stanza_id+timestamp+%7D+%7D+%7D&variables=%7B%7D, creds: {<<"alice_sse_should_not_get_timeout_627@localhost">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-04-10 12:45:09.767 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Wed, 10 Apr 2024 12:45:09 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.14190.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.1878966830.1298661378.48140>}

*** User 2024-04-10 12:45:09.772 ***🔗
bob_sse_should_not_get_timeout_627@localhost/res1 out
<message from='bob_sse_should_not_get_timeout_627@localhost/res1' to='alice_sse_should_not_get_timeout_627@localhost' type='chat'>
	<body>Hello!</body>
</message>



*** User 2024-04-10 12:45:09.778 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-10T12:45:09.772997Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_627@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-04-10 12:45:11.778 ***🔗
bob_sse_should_not_get_timeout_627@localhost/res1 out
<message from='bob_sse_should_not_get_timeout_627@localhost/res1' to='alice_sse_should_not_get_timeout_627@localhost' type='chat'>
	<body>Hello again!</body>
</message>



*** User 2024-04-10 12:45:11.779 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-10T12:45:11.779318Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_627@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-04-10 12:45:11.779 ***🔗
bob_sse_should_not_get_timeout_627@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:45:11.780 ***🔗
bob_sse_should_not_get_timeout_627@localhost/res1 in
</stream:stream>

*** User 2024-04-10 12:45:11.780 ***🔗
alice_sse_should_not_get_timeout_627@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:45:11.780 ***🔗
alice_sse_should_not_get_timeout_627@localhost/res1 in
</stream:stream>
*** CT 2024-04-10 12:45:11.781 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1514.html



=== Ended at 2024-04-10 12:45:11
=== successfully completed test case
=== === Returned value: ok


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