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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.15763.0>},
     {preset,"pgsql_cets"},
     {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@8ba0dd56aa70.2024-04-15_16.45.39/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-15_16.47.44/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@8ba0dd56aa70.2024-04-15_16.45.39/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-15_16.47.44/log_private/"}]

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

=== Started at 2024-04-15 16:47:45


*** CT 2024-04-15 16:47:45.434 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1391.html

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

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



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



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

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



*** User 2024-04-15 16:47:45.440 ***🔗
alicE_sse_should_not_get_timeout_759@localhost/res1 in
<iq id='9b6fac183b9175d4b696fd448df04e84' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_759@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:47:45.440 ***🔗
alice_sse_should_not_get_timeout_759@localhost/res1 out
<iq type='set' id='5214f4ac12d6b3ebc3bb0a7fec668826'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:47:45.441 ***🔗
alice_sse_should_not_get_timeout_759@localhost/res1 in
<iq from='localhost' to='alice_sse_should_not_get_timeout_759@localhost/res1' id='5214f4ac12d6b3ebc3bb0a7fec668826' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:47:45.441 ***🔗
alice_sse_should_not_get_timeout_759@localhost/res1 out
<presence/>



*** User 2024-04-15 16:47:45.442 ***🔗
alice_sse_should_not_get_timeout_759@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_759@localhost/res1' to='alice_sse_should_not_get_timeout_759@localhost/res1'/>



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

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



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



*** User 2024-04-15 16:47:45.444 ***🔗
bOb_sse_should_not_get_timeout_759@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:47:45.444 ***🔗
bOb_sse_should_not_get_timeout_759@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1ca17766a456ae19' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_759@localhost'>

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



*** User 2024-04-15 16:47:45.445 ***🔗
bOb_sse_should_not_get_timeout_759@localhost/res1 in
<iq id='d13e8b95c1d7d8d09871e985963321c3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_759@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:47:45.445 ***🔗
bob_sse_should_not_get_timeout_759@localhost/res1 out
<iq type='set' id='9cd150d7aea8efab63bf3846d86484f3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:47:45.445 ***🔗
bob_sse_should_not_get_timeout_759@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_759@localhost/res1' id='9cd150d7aea8efab63bf3846d86484f3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:47:45.445 ***🔗
bob_sse_should_not_get_timeout_759@localhost/res1 out
<presence/>



*** User 2024-04-15 16:47:45.446 ***🔗
bob_sse_should_not_get_timeout_759@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_759@localhost/res1' to='bob_sse_should_not_get_timeout_759@localhost/res1'/>



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

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

*** User 2024-04-15 16:47:45.450 ***🔗
bob_sse_should_not_get_timeout_759@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_759@localhost/res1' to='alice_sse_should_not_get_timeout_759@localhost'>
	<body>Hello!</body>
</message>



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

*** User 2024-04-15 16:47:47.459 ***🔗
bob_sse_should_not_get_timeout_759@localhost/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_759@localhost/res1' to='alice_sse_should_not_get_timeout_759@localhost'>
	<body>Hello again!</body>
</message>



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

*** User 2024-04-15 16:47:47.460 ***🔗
bob_sse_should_not_get_timeout_759@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:47:47.460 ***🔗
bob_sse_should_not_get_timeout_759@localhost/res1 in
</stream:stream>

*** User 2024-04-15 16:47:47.460 ***🔗
alice_sse_should_not_get_timeout_759@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:47:47.460 ***🔗
alice_sse_should_not_get_timeout_759@localhost/res1 in
</stream:stream>
*** CT 2024-04-15 16:47:47.462 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1391.html



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


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