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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.15742.0>},
     {preset,"mysql_redis"},
     {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@eb6fc23ce6f4.2024-04-23_08.56.42/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-23_08.58.50/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@eb6fc23ce6f4.2024-04-23_08.56.42/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-23_08.58.50/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@eb6fc23ce6f4.2024-04-23_08.56.42"

=== Started at 2024-04-23 08:58:51


*** CT 2024-04-23 08:58:51.161 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1385.html

*** User 2024-04-23 08:58:51.167 ***🔗
alicE_sse_should_not_get_timeout_758@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-23 08:58:51.168 ***🔗
alicE_sse_should_not_get_timeout_758@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0ccdd2e113990b4c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 08:58:51.168 ***🔗
alicE_sse_should_not_get_timeout_758@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>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-04-23 08:58:51.168 ***🔗
alicE_sse_should_not_get_timeout_758@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0Xzc1OABtYXR5Z3J5c2E=</auth>



*** User 2024-04-23 08:58:51.168 ***🔗
alicE_sse_should_not_get_timeout_758@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 08:58:51.168 ***🔗
alicE_sse_should_not_get_timeout_758@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-23 08:58:51.169 ***🔗
alicE_sse_should_not_get_timeout_758@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6a6e06937712ad0' from='localhost' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_758@localhost'>

*** User 2024-04-23 08:58:51.169 ***🔗
alicE_sse_should_not_get_timeout_758@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-23 08:58:51.169 ***🔗
alicE_sse_should_not_get_timeout_758@localhost/res1 out
<iq type='set' id='b9f5e198df38ab6542d7dd43ccaf0dee'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 08:58:51.169 ***🔗
alicE_sse_should_not_get_timeout_758@localhost/res1 in
<iq id='b9f5e198df38ab6542d7dd43ccaf0dee' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_758@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 08:58:51.169 ***🔗
alice_sse_should_not_get_timeout_758@localhost/res1 out
<iq type='set' id='fe9d07165c028f90abe6376360964691'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 08:58:51.170 ***🔗
alice_sse_should_not_get_timeout_758@localhost/res1 in
<iq from='localhost' to='alice_sse_should_not_get_timeout_758@localhost/res1' id='fe9d07165c028f90abe6376360964691' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 08:58:51.170 ***🔗
alice_sse_should_not_get_timeout_758@localhost/res1 out
<presence/>



*** User 2024-04-23 08:58:51.171 ***🔗
alice_sse_should_not_get_timeout_758@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_758@localhost/res1' to='alice_sse_should_not_get_timeout_758@localhost/res1'/>



*** User 2024-04-23 08:58:51.171 ***🔗
bOb_sse_should_not_get_timeout_758@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-23 08:58:51.171 ***🔗
bOb_sse_should_not_get_timeout_758@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e94ebc2be6879444' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 08:58:51.172 ***🔗
bOb_sse_should_not_get_timeout_758@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>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-04-23 08:58:51.172 ***🔗
bOb_sse_should_not_get_timeout_758@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF83NTgAbWFrcm9saWth</auth>



*** User 2024-04-23 08:58:51.172 ***🔗
bOb_sse_should_not_get_timeout_758@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 08:58:51.172 ***🔗
bOb_sse_should_not_get_timeout_758@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-23 08:58:51.172 ***🔗
bOb_sse_should_not_get_timeout_758@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1d17f9794f024881' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_758@localhost'>

*** User 2024-04-23 08:58:51.173 ***🔗
bOb_sse_should_not_get_timeout_758@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-23 08:58:51.173 ***🔗
bOb_sse_should_not_get_timeout_758@localhost/res1 out
<iq type='set' id='54e727687ef3f076196eccd18d29f008'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 08:58:51.173 ***🔗
bOb_sse_should_not_get_timeout_758@localhost/res1 in
<iq id='54e727687ef3f076196eccd18d29f008' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_758@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 08:58:51.173 ***🔗
bob_sse_should_not_get_timeout_758@localhost/res1 out
<iq type='set' id='a30ace3b1f2d91087220c34e25c3bdf5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 08:58:51.173 ***🔗
bob_sse_should_not_get_timeout_758@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_758@localhost/res1' id='a30ace3b1f2d91087220c34e25c3bdf5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 08:58:51.173 ***🔗
bob_sse_should_not_get_timeout_758@localhost/res1 out
<presence/>



*** User 2024-04-23 08:58:51.175 ***🔗
bob_sse_should_not_get_timeout_758@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_758@localhost/res1' to='bob_sse_should_not_get_timeout_758@localhost/res1'/>



*** User 2024-04-23 08:58:51.175 ***🔗
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_758@localhost">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-04-23 08:58:51.177 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Tue, 23 Apr 2024 08:58:50 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.15753.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.2379365627.4164681731.153549>}

*** User 2024-04-23 08:58:51.177 ***🔗
bob_sse_should_not_get_timeout_758@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_758@localhost/res1' to='alice_sse_should_not_get_timeout_758@localhost'>
	<body>Hello!</body>
</message>



*** User 2024-04-23 08:58:51.183 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-23T08:58:51.177505Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_758@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-04-23 08:58:53.184 ***🔗
bob_sse_should_not_get_timeout_758@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_758@localhost/res1' to='alice_sse_should_not_get_timeout_758@localhost'>
	<body>Hello again!</body>
</message>



*** User 2024-04-23 08:58:53.185 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-23T08:58:53.185362Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_758@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-04-23 08:58:53.185 ***🔗
bob_sse_should_not_get_timeout_758@localhost/res1 out
</stream:stream>

*** User 2024-04-23 08:58:53.186 ***🔗
bob_sse_should_not_get_timeout_758@localhost/res1 in
</stream:stream>

*** User 2024-04-23 08:58:53.186 ***🔗
alice_sse_should_not_get_timeout_758@localhost/res1 out
</stream:stream>

*** User 2024-04-23 08:58:53.186 ***🔗
alice_sse_should_not_get_timeout_758@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 08:58:53.187 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1385.html



=== Ended at 2024-04-23 08:58:53
=== successfully completed test case
=== === Returned value: ok


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