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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.16078.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@aa1f3930c8b7.2024-04-15_16.45.02/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-15_16.48.00/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@aa1f3930c8b7.2024-04-15_16.45.02/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-15_16.48.00/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@aa1f3930c8b7.2024-04-15_16.45.02"

=== Started at 2024-04-15 16:48:00


*** CT 2024-04-15 16:48:00.805 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1512.html

*** User 2024-04-15 16:48:00.810 ***🔗
alicE_sse_should_not_get_timeout_789@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-15 16:48:00.810 ***🔗
alicE_sse_should_not_get_timeout_789@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ce91ae70afcb6c03' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:48:00.811 ***🔗
alicE_sse_should_not_get_timeout_789@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-15 16:48:00.811 ***🔗
alicE_sse_should_not_get_timeout_789@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0Xzc4OQBtYXR5Z3J5c2E=</auth>



*** User 2024-04-15 16:48:00.812 ***🔗
alicE_sse_should_not_get_timeout_789@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:48:00.812 ***🔗
alicE_sse_should_not_get_timeout_789@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-15 16:48:00.812 ***🔗
alicE_sse_should_not_get_timeout_789@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='db1a53fd224c34b1' from='localhost' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_789@localhost'>

*** User 2024-04-15 16:48:00.812 ***🔗
alicE_sse_should_not_get_timeout_789@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-15 16:48:00.812 ***🔗
alicE_sse_should_not_get_timeout_789@localhost/res1 out
<iq type='set' id='dcea6a66bda85c37f916ecfc07ec5ac0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:48:00.813 ***🔗
alicE_sse_should_not_get_timeout_789@localhost/res1 in
<iq id='dcea6a66bda85c37f916ecfc07ec5ac0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_789@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:48:00.813 ***🔗
alice_sse_should_not_get_timeout_789@localhost/res1 out
<iq type='set' id='2c52c8b02d0197d28afb8086622d5436'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:48:00.813 ***🔗
alice_sse_should_not_get_timeout_789@localhost/res1 in
<iq from='localhost' to='alice_sse_should_not_get_timeout_789@localhost/res1' id='2c52c8b02d0197d28afb8086622d5436' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:48:00.814 ***🔗
alice_sse_should_not_get_timeout_789@localhost/res1 out
<presence/>



*** User 2024-04-15 16:48:00.815 ***🔗
alice_sse_should_not_get_timeout_789@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_789@localhost/res1' to='alice_sse_should_not_get_timeout_789@localhost/res1'/>



*** User 2024-04-15 16:48:00.815 ***🔗
bOb_sse_should_not_get_timeout_789@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-15 16:48:00.816 ***🔗
bOb_sse_should_not_get_timeout_789@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0858423733e04c1a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:48:00.816 ***🔗
bOb_sse_should_not_get_timeout_789@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-15 16:48:00.816 ***🔗
bOb_sse_should_not_get_timeout_789@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF83ODkAbWFrcm9saWth</auth>



*** User 2024-04-15 16:48:00.817 ***🔗
bOb_sse_should_not_get_timeout_789@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:48:00.817 ***🔗
bOb_sse_should_not_get_timeout_789@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-15 16:48:00.817 ***🔗
bOb_sse_should_not_get_timeout_789@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b0ce2b243a7f4488' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_789@localhost'>

*** User 2024-04-15 16:48:00.818 ***🔗
bOb_sse_should_not_get_timeout_789@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-15 16:48:00.818 ***🔗
bOb_sse_should_not_get_timeout_789@localhost/res1 out
<iq type='set' id='a00fcffdb3ce7790c60e69d57da97aec'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:48:00.818 ***🔗
bOb_sse_should_not_get_timeout_789@localhost/res1 in
<iq id='a00fcffdb3ce7790c60e69d57da97aec' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_789@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:48:00.818 ***🔗
bob_sse_should_not_get_timeout_789@localhost/res1 out
<iq type='set' id='d13868119a170ccb53d3e9be3f1aa001'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:48:00.819 ***🔗
bob_sse_should_not_get_timeout_789@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_789@localhost/res1' id='d13868119a170ccb53d3e9be3f1aa001' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:48:00.819 ***🔗
bob_sse_should_not_get_timeout_789@localhost/res1 out
<presence/>



*** User 2024-04-15 16:48:00.820 ***🔗
bob_sse_should_not_get_timeout_789@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_789@localhost/res1' to='bob_sse_should_not_get_timeout_789@localhost/res1'/>



*** User 2024-04-15 16:48:00.821 ***🔗
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_789@localhost">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-04-15 16:48:00.823 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Mon, 15 Apr 2024 16:48:00 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.16089.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.1876467631.2721054721.256004>}

*** User 2024-04-15 16:48:00.828 ***🔗
bob_sse_should_not_get_timeout_789@localhost/res1 out
<message from='bob_sse_should_not_get_timeout_789@localhost/res1' to='alice_sse_should_not_get_timeout_789@localhost' type='chat'>
	<body>Hello!</body>
</message>



*** User 2024-04-15 16:48:00.834 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-15T16:48:00.829270Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_789@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-04-15 16:48:02.835 ***🔗
bob_sse_should_not_get_timeout_789@localhost/res1 out
<message from='bob_sse_should_not_get_timeout_789@localhost/res1' to='alice_sse_should_not_get_timeout_789@localhost' type='chat'>
	<body>Hello again!</body>
</message>



*** User 2024-04-15 16:48:02.836 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-15T16:48:02.835911Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_789@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-04-15 16:48:02.836 ***🔗
bob_sse_should_not_get_timeout_789@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:48:02.836 ***🔗
bob_sse_should_not_get_timeout_789@localhost/res1 in
</stream:stream>

*** User 2024-04-15 16:48:02.837 ***🔗
alice_sse_should_not_get_timeout_789@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:48:02.837 ***🔗
alice_sse_should_not_get_timeout_789@localhost/res1 in
</stream:stream>
*** CT 2024-04-15 16:48:02.838 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1512.html



=== Ended at 2024-04-15 16:48:02
=== successfully completed test case
=== === Returned value: ok


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