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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.14165.0>},
     {preset,"internal_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@b67e57153976.2024-03-21_07.46.15/big_tests.tests.graphql_sse_SUITE.logs/run.2024-03-21_07.48.18/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@b67e57153976.2024-03-21_07.46.15/big_tests.tests.graphql_sse_SUITE.logs/run.2024-03-21_07.48.18/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@b67e57153976.2024-03-21_07.46.15"

=== Started at 2024-03-21 07:48:19


*** CT 2024-03-21 07:48:19.133 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1521.html

*** User 2024-03-21 07:48:19.136 ***🔗
alicE_sse_should_not_get_timeout_635@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-03-21 07:48:19.136 ***🔗
alicE_sse_should_not_get_timeout_635@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='79e5f876b199b39c' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:48:19.136 ***🔗
alicE_sse_should_not_get_timeout_635@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-03-21 07:48:19.136 ***🔗
alicE_sse_should_not_get_timeout_635@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0XzYzNQBtYXR5Z3J5c2E=</auth>



*** User 2024-03-21 07:48:19.137 ***🔗
alicE_sse_should_not_get_timeout_635@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:48:19.137 ***🔗
alicE_sse_should_not_get_timeout_635@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-03-21 07:48:19.137 ***🔗
alicE_sse_should_not_get_timeout_635@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='86a021deddbc5ef2' from='localhost' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_635@localhost'>

*** User 2024-03-21 07:48:19.137 ***🔗
alicE_sse_should_not_get_timeout_635@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-03-21 07:48:19.137 ***🔗
alicE_sse_should_not_get_timeout_635@localhost/res1 out
<iq type='set' id='9052f287e8c932d72b9b449d6e6f6504'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:48:19.137 ***🔗
alicE_sse_should_not_get_timeout_635@localhost/res1 in
<iq id='9052f287e8c932d72b9b449d6e6f6504' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_635@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:48:19.137 ***🔗
alice_sse_should_not_get_timeout_635@localhost/res1 out
<iq type='set' id='628e9af239cf42624d99f5414fc36989'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:48:19.138 ***🔗
alice_sse_should_not_get_timeout_635@localhost/res1 in
<iq from='localhost' to='alice_sse_should_not_get_timeout_635@localhost/res1' id='628e9af239cf42624d99f5414fc36989' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:48:19.138 ***🔗
alice_sse_should_not_get_timeout_635@localhost/res1 out
<presence/>



*** User 2024-03-21 07:48:19.138 ***🔗
alice_sse_should_not_get_timeout_635@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_635@localhost/res1' to='alice_sse_should_not_get_timeout_635@localhost/res1'/>



*** User 2024-03-21 07:48:19.139 ***🔗
bOb_sse_should_not_get_timeout_635@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-03-21 07:48:19.139 ***🔗
bOb_sse_should_not_get_timeout_635@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8744b2c1ffe3e5d8' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:48:19.139 ***🔗
bOb_sse_should_not_get_timeout_635@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-03-21 07:48:19.139 ***🔗
bOb_sse_should_not_get_timeout_635@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF82MzUAbWFrcm9saWth</auth>



*** User 2024-03-21 07:48:19.140 ***🔗
bOb_sse_should_not_get_timeout_635@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:48:19.140 ***🔗
bOb_sse_should_not_get_timeout_635@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-03-21 07:48:19.140 ***🔗
bOb_sse_should_not_get_timeout_635@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='592ac9030349e4b3' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_635@localhost'>

*** User 2024-03-21 07:48:19.140 ***🔗
bOb_sse_should_not_get_timeout_635@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-03-21 07:48:19.140 ***🔗
bOb_sse_should_not_get_timeout_635@localhost/res1 out
<iq type='set' id='8021d53920729b4473eeefacb0fa845e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:48:19.140 ***🔗
bOb_sse_should_not_get_timeout_635@localhost/res1 in
<iq id='8021d53920729b4473eeefacb0fa845e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_635@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:48:19.140 ***🔗
bob_sse_should_not_get_timeout_635@localhost/res1 out
<iq type='set' id='4689ce885e8585b20e1ad0b917c1c910'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:48:19.141 ***🔗
bob_sse_should_not_get_timeout_635@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_635@localhost/res1' id='4689ce885e8585b20e1ad0b917c1c910' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:48:19.141 ***🔗
bob_sse_should_not_get_timeout_635@localhost/res1 out
<presence/>



*** User 2024-03-21 07:48:19.141 ***🔗
bob_sse_should_not_get_timeout_635@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_635@localhost/res1' to='bob_sse_should_not_get_timeout_635@localhost/res1'/>



*** User 2024-03-21 07:48:19.142 ***🔗
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_635@localhost">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-03-21 07:48:19.143 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Thu, 21 Mar 2024 07:48:18 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.14176.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.3236358530.816054274.188579>}

*** User 2024-03-21 07:48:19.143 ***🔗
bob_sse_should_not_get_timeout_635@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_635@localhost/res1' to='alice_sse_should_not_get_timeout_635@localhost'>
	<body>Hello!</body>
</message>



*** User 2024-03-21 07:48:19.150 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-03-21T07:48:19.143692Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_635@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-03-21 07:48:21.151 ***🔗
bob_sse_should_not_get_timeout_635@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_635@localhost/res1' to='alice_sse_should_not_get_timeout_635@localhost'>
	<body>Hello again!</body>
</message>



*** User 2024-03-21 07:48:21.152 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-03-21T07:48:21.151877Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_635@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-03-21 07:48:21.152 ***🔗
bob_sse_should_not_get_timeout_635@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:48:21.152 ***🔗
bob_sse_should_not_get_timeout_635@localhost/res1 in
</stream:stream>

*** User 2024-03-21 07:48:21.152 ***🔗
alice_sse_should_not_get_timeout_635@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:48:21.152 ***🔗
alice_sse_should_not_get_timeout_635@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 07:48:21.154 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1521.html



=== Ended at 2024-03-21 07:48:21
=== successfully completed test case
=== === Returned value: ok


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