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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.15690.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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.graphql_sse_SUITE.logs/run.2024-02-26_15.43.19/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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.graphql_sse_SUITE.logs/run.2024-02-26_15.43.19/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@c558b6ad2bd8.2024-02-26_15.40.27"

=== Started at 2024-02-26 15:43:20


*** CT 2024-02-26 15:43:20.043 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1478.html

*** User 2024-02-26 15:43:20.051 ***🔗
alicE_sse_should_not_get_timeout_757@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-02-26 15:43:20.051 ***🔗
alicE_sse_should_not_get_timeout_757@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3da46cb65f480f36' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 15:43:20.051 ***🔗
alicE_sse_should_not_get_timeout_757@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-02-26 15:43:20.052 ***🔗
alicE_sse_should_not_get_timeout_757@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0Xzc1NwBtYXR5Z3J5c2E=</auth>



*** User 2024-02-26 15:43:20.053 ***🔗
alicE_sse_should_not_get_timeout_757@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 15:43:20.054 ***🔗
alicE_sse_should_not_get_timeout_757@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-02-26 15:43:20.054 ***🔗
alicE_sse_should_not_get_timeout_757@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b2719155bfddb719' from='domain.example.com' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_757@domain.example.com'>

*** User 2024-02-26 15:43:20.054 ***🔗
alicE_sse_should_not_get_timeout_757@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-02-26 15:43:20.054 ***🔗
alicE_sse_should_not_get_timeout_757@domain.example.com/res1 out
<iq type='set' id='60a48392599bdf87171e5e3f6afd4cc1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 15:43:20.055 ***🔗
alicE_sse_should_not_get_timeout_757@domain.example.com/res1 in
<iq id='60a48392599bdf87171e5e3f6afd4cc1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_757@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 15:43:20.055 ***🔗
alice_sse_should_not_get_timeout_757@domain.example.com/res1 out
<iq type='set' id='95e80468bb3f987c91d6e7c85c647dc6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:43:20.055 ***🔗
alice_sse_should_not_get_timeout_757@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_sse_should_not_get_timeout_757@domain.example.com/res1' id='95e80468bb3f987c91d6e7c85c647dc6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:43:20.055 ***🔗
alice_sse_should_not_get_timeout_757@domain.example.com/res1 out
<presence/>



*** User 2024-02-26 15:43:20.057 ***🔗
alice_sse_should_not_get_timeout_757@domain.example.com/res1 in
<presence from='alice_sse_should_not_get_timeout_757@domain.example.com/res1' to='alice_sse_should_not_get_timeout_757@domain.example.com/res1'/>



*** User 2024-02-26 15:43:20.058 ***🔗
bOb_sse_should_not_get_timeout_757@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-02-26 15:43:20.058 ***🔗
bOb_sse_should_not_get_timeout_757@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f285fb2221ae85e4' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 15:43:20.058 ***🔗
bOb_sse_should_not_get_timeout_757@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-02-26 15:43:20.058 ***🔗
bOb_sse_should_not_get_timeout_757@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF83NTcAbWFrcm9saWth</auth>



*** User 2024-02-26 15:43:20.060 ***🔗
bOb_sse_should_not_get_timeout_757@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 15:43:20.060 ***🔗
bOb_sse_should_not_get_timeout_757@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-02-26 15:43:20.060 ***🔗
bOb_sse_should_not_get_timeout_757@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a5dc4a182c70e18' from='domain.example.com' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_757@domain.example.com'>

*** User 2024-02-26 15:43:20.060 ***🔗
bOb_sse_should_not_get_timeout_757@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-02-26 15:43:20.061 ***🔗
bOb_sse_should_not_get_timeout_757@domain.example.com/res1 out
<iq type='set' id='b924e244a6ce3ad9c47edb25ed07bf0e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 15:43:20.061 ***🔗
bOb_sse_should_not_get_timeout_757@domain.example.com/res1 in
<iq id='b924e244a6ce3ad9c47edb25ed07bf0e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_757@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 15:43:20.061 ***🔗
bob_sse_should_not_get_timeout_757@domain.example.com/res1 out
<iq type='set' id='a39432231793c18a347df94deb868da8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:43:20.061 ***🔗
bob_sse_should_not_get_timeout_757@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_sse_should_not_get_timeout_757@domain.example.com/res1' id='a39432231793c18a347df94deb868da8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:43:20.062 ***🔗
bob_sse_should_not_get_timeout_757@domain.example.com/res1 out
<presence/>



*** User 2024-02-26 15:43:20.063 ***🔗
bob_sse_should_not_get_timeout_757@domain.example.com/res1 in
<presence from='bob_sse_should_not_get_timeout_757@domain.example.com/res1' to='bob_sse_should_not_get_timeout_757@domain.example.com/res1'/>



*** User 2024-02-26 15:43:20.064 ***🔗
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_757@domain.example.com">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-02-26 15:43:20.066 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Mon, 26 Feb 2024 15:43:20 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.15701.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.1760484387.365428738.247821>}

*** User 2024-02-26 15:43:20.066 ***🔗
bob_sse_should_not_get_timeout_757@domain.example.com/res1 out
<message type='chat' to='alice_sse_should_not_get_timeout_757@domain.example.com' from='bob_sse_should_not_get_timeout_757@domain.example.com/res1'>
	<body>Hello!</body>
</message>



*** User 2024-02-26 15:43:20.077 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-02-26T15:43:20.066888Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_757@domain.example.com/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-02-26 15:43:22.078 ***🔗
bob_sse_should_not_get_timeout_757@domain.example.com/res1 out
<message type='chat' to='alice_sse_should_not_get_timeout_757@domain.example.com' from='bob_sse_should_not_get_timeout_757@domain.example.com/res1'>
	<body>Hello again!</body>
</message>



*** User 2024-02-26 15:43:22.079 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-02-26T15:43:22.079039Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_757@domain.example.com/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-02-26 15:43:22.079 ***🔗
bob_sse_should_not_get_timeout_757@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-26 15:43:22.079 ***🔗
bob_sse_should_not_get_timeout_757@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-26 15:43:22.080 ***🔗
alice_sse_should_not_get_timeout_757@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-26 15:43:22.080 ***🔗
alice_sse_should_not_get_timeout_757@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-26 15:43:22.081 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1478.html



=== Ended at 2024-02-26 15:43:22
=== successfully completed test case
=== === Returned value: ok


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