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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.15707.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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.graphql_sse_SUITE.logs/run.2024-02-22_12.41.01/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@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.graphql_sse_SUITE.logs/run.2024-02-22_12.41.01/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fb43d4252d17.2024-02-22_12.37.44"

=== Started at 2024-02-22 12:41:02


*** CT 2024-02-22 12:41:02.071 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1520.html

*** User 2024-02-22 12:41:02.081 ***🔗
alicE_sse_should_not_get_timeout_791@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-02-22 12:41:02.082 ***🔗
alicE_sse_should_not_get_timeout_791@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='038c414581a65d12' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:41:02.082 ***🔗
alicE_sse_should_not_get_timeout_791@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-02-22 12:41:02.082 ***🔗
alicE_sse_should_not_get_timeout_791@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0Xzc5MQBtYXR5Z3J5c2E=</auth>



*** User 2024-02-22 12:41:02.083 ***🔗
alicE_sse_should_not_get_timeout_791@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 12:41:02.083 ***🔗
alicE_sse_should_not_get_timeout_791@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-02-22 12:41:02.084 ***🔗
alicE_sse_should_not_get_timeout_791@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b9452738b414b1d7' from='localhost' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_791@localhost'>

*** User 2024-02-22 12:41:02.084 ***🔗
alicE_sse_should_not_get_timeout_791@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-02-22 12:41:02.084 ***🔗
alicE_sse_should_not_get_timeout_791@localhost/res1 out
<iq type='set' id='a7b1fc3f7d4891782b624d57b2ab93b6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 12:41:02.084 ***🔗
alicE_sse_should_not_get_timeout_791@localhost/res1 in
<iq id='a7b1fc3f7d4891782b624d57b2ab93b6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_791@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 12:41:02.084 ***🔗
alice_sse_should_not_get_timeout_791@localhost/res1 out
<iq type='set' id='526586f9484de5238818b396c5af09d8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:41:02.085 ***🔗
alice_sse_should_not_get_timeout_791@localhost/res1 in
<iq from='localhost' to='alice_sse_should_not_get_timeout_791@localhost/res1' id='526586f9484de5238818b396c5af09d8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:41:02.085 ***🔗
alice_sse_should_not_get_timeout_791@localhost/res1 out
<presence/>



*** User 2024-02-22 12:41:02.086 ***🔗
alice_sse_should_not_get_timeout_791@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_791@localhost/res1' to='alice_sse_should_not_get_timeout_791@localhost/res1'/>



*** User 2024-02-22 12:41:02.087 ***🔗
bOb_sse_should_not_get_timeout_791@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-02-22 12:41:02.088 ***🔗
bOb_sse_should_not_get_timeout_791@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e8d97d63596594b3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:41:02.088 ***🔗
bOb_sse_should_not_get_timeout_791@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-02-22 12:41:02.088 ***🔗
bOb_sse_should_not_get_timeout_791@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF83OTEAbWFrcm9saWth</auth>



*** User 2024-02-22 12:41:02.089 ***🔗
bOb_sse_should_not_get_timeout_791@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 12:41:02.089 ***🔗
bOb_sse_should_not_get_timeout_791@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-02-22 12:41:02.089 ***🔗
bOb_sse_should_not_get_timeout_791@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77fe12eee89b1f9b' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_791@localhost'>

*** User 2024-02-22 12:41:02.090 ***🔗
bOb_sse_should_not_get_timeout_791@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-02-22 12:41:02.090 ***🔗
bOb_sse_should_not_get_timeout_791@localhost/res1 out
<iq type='set' id='33caad58f02abb2b5e89031b666da398'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 12:41:02.090 ***🔗
bOb_sse_should_not_get_timeout_791@localhost/res1 in
<iq id='33caad58f02abb2b5e89031b666da398' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_791@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 12:41:02.090 ***🔗
bob_sse_should_not_get_timeout_791@localhost/res1 out
<iq type='set' id='26c7dafd5836c72619cfa6513622c03a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:41:02.091 ***🔗
bob_sse_should_not_get_timeout_791@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_791@localhost/res1' id='26c7dafd5836c72619cfa6513622c03a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:41:02.091 ***🔗
bob_sse_should_not_get_timeout_791@localhost/res1 out
<presence/>



*** User 2024-02-22 12:41:02.092 ***🔗
bob_sse_should_not_get_timeout_791@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_791@localhost/res1' to='bob_sse_should_not_get_timeout_791@localhost/res1'/>



*** User 2024-02-22 12:41:02.093 ***🔗
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_791@localhost">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-02-22 12:41:02.095 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Thu, 22 Feb 2024 12:41:01 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.15718.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.2395113644.2396782593.170391>}

*** User 2024-02-22 12:41:02.095 ***🔗
bob_sse_should_not_get_timeout_791@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_791@localhost/res1' to='alice_sse_should_not_get_timeout_791@localhost'>
	<body>Hello!</body>
</message>



*** User 2024-02-22 12:41:02.107 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-02-22T12:41:02.096208Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_791@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-02-22 12:41:04.107 ***🔗
bob_sse_should_not_get_timeout_791@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_791@localhost/res1' to='alice_sse_should_not_get_timeout_791@localhost'>
	<body>Hello again!</body>
</message>



*** User 2024-02-22 12:41:04.108 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-02-22T12:41:04.108433Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_791@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-02-22 12:41:04.109 ***🔗
bob_sse_should_not_get_timeout_791@localhost/res1 out
</stream:stream>

*** User 2024-02-22 12:41:04.109 ***🔗
bob_sse_should_not_get_timeout_791@localhost/res1 in
</stream:stream>

*** User 2024-02-22 12:41:04.109 ***🔗
alice_sse_should_not_get_timeout_791@localhost/res1 out
</stream:stream>

*** User 2024-02-22 12:41:04.109 ***🔗
alice_sse_should_not_get_timeout_791@localhost/res1 in
</stream:stream>
*** CT 2024-02-22 12:41:04.111 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1520.html



=== Ended at 2024-02-22 12:41:04
=== successfully completed test case
=== === Returned value: ok


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