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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.15806.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@cec807ac1e64.2024-04-22_17.28.38/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-22_17.31.08/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@cec807ac1e64.2024-04-22_17.28.38/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-22_17.31.08/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@cec807ac1e64.2024-04-22_17.28.38"

=== Started at 2024-04-22 17:31:09


*** CT 2024-04-22 17:31:09.676 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1405.html

*** User 2024-04-22 17:31:09.709 ***🔗
alicE_sse_should_not_get_timeout_760@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-22 17:31:09.710 ***🔗
alicE_sse_should_not_get_timeout_760@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='453d0b65e1642e8c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:31:09.710 ***🔗
alicE_sse_should_not_get_timeout_760@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-22 17:31:09.710 ***🔗
alicE_sse_should_not_get_timeout_760@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0Xzc2MABtYXR5Z3J5c2E=</auth>



*** User 2024-04-22 17:31:09.713 ***🔗
alicE_sse_should_not_get_timeout_760@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:31:09.713 ***🔗
alicE_sse_should_not_get_timeout_760@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-22 17:31:09.713 ***🔗
alicE_sse_should_not_get_timeout_760@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81434789c3ceb5c7' from='localhost' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_760@localhost'>

*** User 2024-04-22 17:31:09.713 ***🔗
alicE_sse_should_not_get_timeout_760@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-22 17:31:09.714 ***🔗
alicE_sse_should_not_get_timeout_760@localhost/res1 out
<iq type='set' id='0477b42f1038c0831fd86be4a0e5b1e0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:31:09.714 ***🔗
alicE_sse_should_not_get_timeout_760@localhost/res1 in
<iq id='0477b42f1038c0831fd86be4a0e5b1e0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_760@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:31:09.714 ***🔗
alice_sse_should_not_get_timeout_760@localhost/res1 out
<iq type='set' id='2a967799f142acbd6f5cd562d4eca58d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:31:09.715 ***🔗
alice_sse_should_not_get_timeout_760@localhost/res1 in
<iq from='localhost' to='alice_sse_should_not_get_timeout_760@localhost/res1' id='2a967799f142acbd6f5cd562d4eca58d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:31:09.716 ***🔗
alice_sse_should_not_get_timeout_760@localhost/res1 out
<presence/>



*** User 2024-04-22 17:31:09.718 ***🔗
alice_sse_should_not_get_timeout_760@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_760@localhost/res1' to='alice_sse_should_not_get_timeout_760@localhost/res1'/>



*** User 2024-04-22 17:31:09.719 ***🔗
bOb_sse_should_not_get_timeout_760@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-22 17:31:09.719 ***🔗
bOb_sse_should_not_get_timeout_760@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3b1d613a2bde00bb' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:31:09.720 ***🔗
bOb_sse_should_not_get_timeout_760@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-22 17:31:09.720 ***🔗
bOb_sse_should_not_get_timeout_760@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF83NjAAbWFrcm9saWth</auth>



*** User 2024-04-22 17:31:09.721 ***🔗
bOb_sse_should_not_get_timeout_760@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:31:09.721 ***🔗
bOb_sse_should_not_get_timeout_760@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-22 17:31:09.722 ***🔗
bOb_sse_should_not_get_timeout_760@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='26cd38c8241327e3' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_760@localhost'>

*** User 2024-04-22 17:31:09.722 ***🔗
bOb_sse_should_not_get_timeout_760@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-22 17:31:09.722 ***🔗
bOb_sse_should_not_get_timeout_760@localhost/res1 out
<iq type='set' id='1039527246effca3f9600e0e59b2a3ce'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:31:09.723 ***🔗
bOb_sse_should_not_get_timeout_760@localhost/res1 in
<iq id='1039527246effca3f9600e0e59b2a3ce' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_760@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:31:09.723 ***🔗
bob_sse_should_not_get_timeout_760@localhost/res1 out
<iq type='set' id='1370b9397b53c4f3392f0a0e7bd94886'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:31:09.724 ***🔗
bob_sse_should_not_get_timeout_760@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_760@localhost/res1' id='1370b9397b53c4f3392f0a0e7bd94886' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:31:09.724 ***🔗
bob_sse_should_not_get_timeout_760@localhost/res1 out
<presence/>



*** User 2024-04-22 17:31:09.726 ***🔗
bob_sse_should_not_get_timeout_760@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_760@localhost/res1' to='bob_sse_should_not_get_timeout_760@localhost/res1'/>



*** User 2024-04-22 17:31:09.727 ***🔗
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_760@localhost">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-04-22 17:31:09.730 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Mon, 22 Apr 2024 17:31:08 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.15817.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.478665360.1336147972.233490>}

*** User 2024-04-22 17:31:09.730 ***🔗
bob_sse_should_not_get_timeout_760@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_760@localhost/res1' to='alice_sse_should_not_get_timeout_760@localhost'>
	<body>Hello!</body>
</message>



*** User 2024-04-22 17:31:09.749 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-22T17:31:09.731517Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_760@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-04-22 17:31:11.750 ***🔗
bob_sse_should_not_get_timeout_760@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_760@localhost/res1' to='alice_sse_should_not_get_timeout_760@localhost'>
	<body>Hello again!</body>
</message>



*** User 2024-04-22 17:31:11.753 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-22T17:31:11.753210Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_760@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-04-22 17:31:11.754 ***🔗
bob_sse_should_not_get_timeout_760@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:31:11.754 ***🔗
bob_sse_should_not_get_timeout_760@localhost/res1 in
</stream:stream>

*** User 2024-04-22 17:31:11.754 ***🔗
alice_sse_should_not_get_timeout_760@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:31:11.755 ***🔗
alice_sse_should_not_get_timeout_760@localhost/res1 in
</stream:stream>
*** CT 2024-04-22 17:31:11.757 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1405.html



=== Ended at 2024-04-22 17:31:11
=== successfully completed test case
=== === Returned value: ok


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