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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.15847.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@de34115c687f.2024-04-10_12.44.09/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-10_12.46.16/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@de34115c687f.2024-04-10_12.44.09/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-10_12.46.16/log_private/"}]

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

=== Started at 2024-04-10 12:46:16


*** CT 2024-04-10 12:46:16.892 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1384.html

*** User 2024-04-10 12:46:16.897 ***🔗
alicE_sse_should_not_get_timeout_769@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:46:16.897 ***🔗
alicE_sse_should_not_get_timeout_769@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='559bb1f8361ebf5f' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-10 12:46:16.898 ***🔗
alicE_sse_should_not_get_timeout_769@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:46:16.898 ***🔗
alicE_sse_should_not_get_timeout_769@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7cf666bef05e1366' from='localhost' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_769@localhost'>

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



*** User 2024-04-10 12:46:16.898 ***🔗
alicE_sse_should_not_get_timeout_769@localhost/res1 in
<iq id='700e7c747a2a279e8acaadf77c334513' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_769@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:46:16.899 ***🔗
alice_sse_should_not_get_timeout_769@localhost/res1 out
<iq type='set' id='ce3baceab80b1f7d615647d842b5de15'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



*** User 2024-04-10 12:46:16.899 ***🔗
alice_sse_should_not_get_timeout_769@localhost/res1 out
<presence/>



*** User 2024-04-10 12:46:16.900 ***🔗
alice_sse_should_not_get_timeout_769@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_769@localhost/res1' to='alice_sse_should_not_get_timeout_769@localhost/res1'/>



*** User 2024-04-10 12:46:16.901 ***🔗
bOb_sse_should_not_get_timeout_769@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:46:16.901 ***🔗
bOb_sse_should_not_get_timeout_769@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6f3f0164433092a9' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-10 12:46:16.902 ***🔗
bOb_sse_should_not_get_timeout_769@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:46:16.903 ***🔗
bOb_sse_should_not_get_timeout_769@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8bddf48602d7bca' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_769@localhost'>

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



*** User 2024-04-10 12:46:16.903 ***🔗
bOb_sse_should_not_get_timeout_769@localhost/res1 in
<iq id='2790b30a4b70d6d2e6578a46d78a457c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_769@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:46:16.903 ***🔗
bob_sse_should_not_get_timeout_769@localhost/res1 out
<iq type='set' id='82f9989fdb355cd5a2839f46d0a81dfe'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:46:16.904 ***🔗
bob_sse_should_not_get_timeout_769@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_769@localhost/res1' id='82f9989fdb355cd5a2839f46d0a81dfe' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:46:16.904 ***🔗
bob_sse_should_not_get_timeout_769@localhost/res1 out
<presence/>



*** User 2024-04-10 12:46:16.905 ***🔗
bob_sse_should_not_get_timeout_769@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_769@localhost/res1' to='bob_sse_should_not_get_timeout_769@localhost/res1'/>



*** User 2024-04-10 12:46:16.905 ***🔗
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_769@localhost">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

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

*** User 2024-04-10 12:46:16.907 ***🔗
bob_sse_should_not_get_timeout_769@localhost/res1 out
<message type='chat' to='alice_sse_should_not_get_timeout_769@localhost' from='bob_sse_should_not_get_timeout_769@localhost/res1'>
	<body>Hello!</body>
</message>



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

*** User 2024-04-10 12:46:18.915 ***🔗
bob_sse_should_not_get_timeout_769@localhost/res1 out
<message type='chat' to='alice_sse_should_not_get_timeout_769@localhost' from='bob_sse_should_not_get_timeout_769@localhost/res1'>
	<body>Hello again!</body>
</message>



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

*** User 2024-04-10 12:46:18.916 ***🔗
bob_sse_should_not_get_timeout_769@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:46:18.917 ***🔗
bob_sse_should_not_get_timeout_769@localhost/res1 in
</stream:stream>

*** User 2024-04-10 12:46:18.917 ***🔗
alice_sse_should_not_get_timeout_769@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:46:18.917 ***🔗
alice_sse_should_not_get_timeout_769@localhost/res1 in
</stream:stream>
*** CT 2024-04-10 12:46:18.918 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1384.html



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


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