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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.15826.0>},
     {preset,"pgsql_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@1e8fc18f2236.2024-04-26_12.39.24/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-26_12.42.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@1e8fc18f2236.2024-04-26_12.39.24/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-26_12.42.08/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@1e8fc18f2236.2024-04-26_12.39.24"

=== Started at 2024-04-26 12:42:08


*** CT 2024-04-26 12:42:08.990 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1480.html

*** User 2024-04-26 12:42:08.996 ***🔗
alicE_sse_should_not_get_timeout_776@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:42:08.997 ***🔗
alicE_sse_should_not_get_timeout_776@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39bd2361e570fe19' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:42:08.997 ***🔗
alicE_sse_should_not_get_timeout_776@domain.example.com/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-26 12:42:08.997 ***🔗
alicE_sse_should_not_get_timeout_776@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0Xzc3NgBtYXR5Z3J5c2E=</auth>



*** User 2024-04-26 12:42:08.998 ***🔗
alicE_sse_should_not_get_timeout_776@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:42:08.998 ***🔗
alicE_sse_should_not_get_timeout_776@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:42:08.998 ***🔗
alicE_sse_should_not_get_timeout_776@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98bb446e5d9d69db' from='domain.example.com' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_776@domain.example.com'>

*** User 2024-04-26 12:42:08.998 ***🔗
alicE_sse_should_not_get_timeout_776@domain.example.com/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-26 12:42:08.998 ***🔗
alicE_sse_should_not_get_timeout_776@domain.example.com/res1 out
<iq type='set' id='2c7973ec22c30dcc9ab8d8fb00cb4e93'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:42:08.999 ***🔗
alicE_sse_should_not_get_timeout_776@domain.example.com/res1 in
<iq id='2c7973ec22c30dcc9ab8d8fb00cb4e93' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_776@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:42:08.999 ***🔗
alice_sse_should_not_get_timeout_776@domain.example.com/res1 out
<iq type='set' id='26991e00257aa3a00919e4ff75ab19ed'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:42:08.999 ***🔗
alice_sse_should_not_get_timeout_776@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_sse_should_not_get_timeout_776@domain.example.com/res1' id='26991e00257aa3a00919e4ff75ab19ed' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:42:08.999 ***🔗
alice_sse_should_not_get_timeout_776@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 12:42:09.000 ***🔗
alice_sse_should_not_get_timeout_776@domain.example.com/res1 in
<presence from='alice_sse_should_not_get_timeout_776@domain.example.com/res1' to='alice_sse_should_not_get_timeout_776@domain.example.com/res1'/>



*** User 2024-04-26 12:42:09.001 ***🔗
bOb_sse_should_not_get_timeout_776@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:42:09.002 ***🔗
bOb_sse_should_not_get_timeout_776@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bdfa159e64148944' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:42:09.002 ***🔗
bOb_sse_should_not_get_timeout_776@domain.example.com/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-26 12:42:09.002 ***🔗
bOb_sse_should_not_get_timeout_776@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF83NzYAbWFrcm9saWth</auth>



*** User 2024-04-26 12:42:09.003 ***🔗
bOb_sse_should_not_get_timeout_776@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:42:09.003 ***🔗
bOb_sse_should_not_get_timeout_776@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-26 12:42:09.003 ***🔗
bOb_sse_should_not_get_timeout_776@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82266161942dcdb0' from='domain.example.com' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_776@domain.example.com'>

*** User 2024-04-26 12:42:09.004 ***🔗
bOb_sse_should_not_get_timeout_776@domain.example.com/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-26 12:42:09.004 ***🔗
bOb_sse_should_not_get_timeout_776@domain.example.com/res1 out
<iq type='set' id='80701e5f53501d02fa62ec2b82f696bb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:42:09.004 ***🔗
bOb_sse_should_not_get_timeout_776@domain.example.com/res1 in
<iq id='80701e5f53501d02fa62ec2b82f696bb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_776@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:42:09.004 ***🔗
bob_sse_should_not_get_timeout_776@domain.example.com/res1 out
<iq type='set' id='6f4408727eee0c1d94bd18955ac7595e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:42:09.004 ***🔗
bob_sse_should_not_get_timeout_776@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_sse_should_not_get_timeout_776@domain.example.com/res1' id='6f4408727eee0c1d94bd18955ac7595e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:42:09.005 ***🔗
bob_sse_should_not_get_timeout_776@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 12:42:09.006 ***🔗
bob_sse_should_not_get_timeout_776@domain.example.com/res1 in
<presence from='bob_sse_should_not_get_timeout_776@domain.example.com/res1' to='bob_sse_should_not_get_timeout_776@domain.example.com/res1'/>



*** User 2024-04-26 12:42:09.006 ***🔗
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_776@domain.example.com">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-04-26 12:42:09.008 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Fri, 26 Apr 2024 12:42:08 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.15837.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.4075998495.573833217.54328>}

*** User 2024-04-26 12:42:09.008 ***🔗
bob_sse_should_not_get_timeout_776@domain.example.com/res1 out
<message type='chat' to='alice_sse_should_not_get_timeout_776@domain.example.com' from='bob_sse_should_not_get_timeout_776@domain.example.com/res1'>
	<body>Hello!</body>
</message>



*** User 2024-04-26 12:42:09.021 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-26T12:42:09.009186Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_776@domain.example.com/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-04-26 12:42:11.021 ***🔗
bob_sse_should_not_get_timeout_776@domain.example.com/res1 out
<message type='chat' to='alice_sse_should_not_get_timeout_776@domain.example.com' from='bob_sse_should_not_get_timeout_776@domain.example.com/res1'>
	<body>Hello again!</body>
</message>



*** User 2024-04-26 12:42:11.022 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-26T12:42:11.022669Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_776@domain.example.com/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-04-26 12:42:11.023 ***🔗
bob_sse_should_not_get_timeout_776@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 12:42:11.023 ***🔗
bob_sse_should_not_get_timeout_776@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-26 12:42:11.023 ***🔗
alice_sse_should_not_get_timeout_776@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 12:42:11.024 ***🔗
alice_sse_should_not_get_timeout_776@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-26 12:42:11.025 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1480.html



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


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