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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.16050.0>},
     {preset,"odbc_mssql_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@08e20f3a1f6a.2024-04-26_12.39.28/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-26_12.42.13/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@08e20f3a1f6a.2024-04-26_12.39.28/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-26_12.42.13/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@08e20f3a1f6a.2024-04-26_12.39.28"

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


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

*** User 2024-04-26 12:42:13.618 ***🔗
alicE_sse_should_not_get_timeout_774@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-26 12:42:13.618 ***🔗
alicE_sse_should_not_get_timeout_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec0e3aed4b120bdf' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:42:13.619 ***🔗
alicE_sse_should_not_get_timeout_774@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-26 12:42:13.619 ***🔗
alicE_sse_should_not_get_timeout_774@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0Xzc3NABtYXR5Z3J5c2E=</auth>



*** User 2024-04-26 12:42:13.622 ***🔗
alicE_sse_should_not_get_timeout_774@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:42:13.622 ***🔗
alicE_sse_should_not_get_timeout_774@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-26 12:42:13.622 ***🔗
alicE_sse_should_not_get_timeout_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d94c2beac9744424' from='localhost' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_774@localhost'>

*** User 2024-04-26 12:42:13.623 ***🔗
alicE_sse_should_not_get_timeout_774@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-26 12:42:13.623 ***🔗
alicE_sse_should_not_get_timeout_774@localhost/res1 out
<iq type='set' id='dcde09f9c5b8512041f77773596503a6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:42:13.623 ***🔗
alicE_sse_should_not_get_timeout_774@localhost/res1 in
<iq id='dcde09f9c5b8512041f77773596503a6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_774@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:42:13.623 ***🔗
alice_sse_should_not_get_timeout_774@localhost/res1 out
<iq type='set' id='b1ee140484958673f8e411e582c764e8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:42:13.624 ***🔗
alice_sse_should_not_get_timeout_774@localhost/res1 in
<iq from='localhost' to='alice_sse_should_not_get_timeout_774@localhost/res1' id='b1ee140484958673f8e411e582c764e8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:42:13.624 ***🔗
alice_sse_should_not_get_timeout_774@localhost/res1 out
<presence/>



*** User 2024-04-26 12:42:13.626 ***🔗
alice_sse_should_not_get_timeout_774@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_774@localhost/res1' to='alice_sse_should_not_get_timeout_774@localhost/res1'/>



*** User 2024-04-26 12:42:13.626 ***🔗
bOb_sse_should_not_get_timeout_774@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-26 12:42:13.627 ***🔗
bOb_sse_should_not_get_timeout_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='42b9e06d8cf8ce34' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:42:13.627 ***🔗
bOb_sse_should_not_get_timeout_774@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-26 12:42:13.627 ***🔗
bOb_sse_should_not_get_timeout_774@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF83NzQAbWFrcm9saWth</auth>



*** User 2024-04-26 12:42:13.628 ***🔗
bOb_sse_should_not_get_timeout_774@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:42:13.628 ***🔗
bOb_sse_should_not_get_timeout_774@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-26 12:42:13.628 ***🔗
bOb_sse_should_not_get_timeout_774@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ece1c8bb16950c7' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_774@localhost'>

*** User 2024-04-26 12:42:13.629 ***🔗
bOb_sse_should_not_get_timeout_774@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-26 12:42:13.629 ***🔗
bOb_sse_should_not_get_timeout_774@localhost/res1 out
<iq type='set' id='b87a0a27a69a4f5e218026670fb77b64'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:42:13.629 ***🔗
bOb_sse_should_not_get_timeout_774@localhost/res1 in
<iq id='b87a0a27a69a4f5e218026670fb77b64' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_774@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:42:13.629 ***🔗
bob_sse_should_not_get_timeout_774@localhost/res1 out
<iq type='set' id='84f880cb4cbc89e25202e15e41bda60d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:42:13.629 ***🔗
bob_sse_should_not_get_timeout_774@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_774@localhost/res1' id='84f880cb4cbc89e25202e15e41bda60d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:42:13.630 ***🔗
bob_sse_should_not_get_timeout_774@localhost/res1 out
<presence/>



*** User 2024-04-26 12:42:13.631 ***🔗
bob_sse_should_not_get_timeout_774@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_774@localhost/res1' to='bob_sse_should_not_get_timeout_774@localhost/res1'/>



*** User 2024-04-26 12:42:13.631 ***🔗
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_774@localhost">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

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

*** User 2024-04-26 12:42:13.633 ***🔗
bob_sse_should_not_get_timeout_774@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_774@localhost/res1' to='alice_sse_should_not_get_timeout_774@localhost'>
	<body>Hello!</body>
</message>



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

*** User 2024-04-26 12:42:15.642 ***🔗
bob_sse_should_not_get_timeout_774@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_774@localhost/res1' to='alice_sse_should_not_get_timeout_774@localhost'>
	<body>Hello again!</body>
</message>



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

*** User 2024-04-26 12:42:15.643 ***🔗
bob_sse_should_not_get_timeout_774@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:42:15.643 ***🔗
bob_sse_should_not_get_timeout_774@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:42:15.644 ***🔗
alice_sse_should_not_get_timeout_774@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:42:15.644 ***🔗
alice_sse_should_not_get_timeout_774@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:42:15.645 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1508.html



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


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