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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.15593.0>},
     {preset,"mysql_redis"},
     {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@0f4b8e8076be.2024-04-23_10.53.40/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-23_10.55.55/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@0f4b8e8076be.2024-04-23_10.53.40/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-23_10.55.55/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@0f4b8e8076be.2024-04-23_10.53.40"

=== Started at 2024-04-23 10:55:56


*** CT 2024-04-23 10:55:56.234 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1354.html

*** User 2024-04-23 10:55:56.244 ***🔗
alicE_sse_should_not_get_timeout_756@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-04-23 10:55:56.245 ***🔗
alicE_sse_should_not_get_timeout_756@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8b2213b0bef210be' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 10:55:56.245 ***🔗
alicE_sse_should_not_get_timeout_756@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-04-23 10:55:56.245 ***🔗
alicE_sse_should_not_get_timeout_756@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0Xzc1NgBtYXR5Z3J5c2E=</auth>



*** User 2024-04-23 10:55:56.251 ***🔗
alicE_sse_should_not_get_timeout_756@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 10:55:56.260 ***🔗
alicE_sse_should_not_get_timeout_756@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-04-23 10:55:56.292 ***🔗
alicE_sse_should_not_get_timeout_756@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a6ff4b9345ad3264' from='domain.example.com' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_756@domain.example.com'>

*** User 2024-04-23 10:55:56.297 ***🔗
alicE_sse_should_not_get_timeout_756@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-04-23 10:55:56.298 ***🔗
alicE_sse_should_not_get_timeout_756@domain.example.com/res1 out
<iq type='set' id='74e9e65324939ee1ebd6f75e32e2538f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 10:55:56.299 ***🔗
alicE_sse_should_not_get_timeout_756@domain.example.com/res1 in
<iq id='74e9e65324939ee1ebd6f75e32e2538f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_756@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 10:55:56.299 ***🔗
alice_sse_should_not_get_timeout_756@domain.example.com/res1 out
<iq type='set' id='4b66a416060621d6d251791b2b664fec'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 10:55:56.301 ***🔗
alice_sse_should_not_get_timeout_756@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_sse_should_not_get_timeout_756@domain.example.com/res1' id='4b66a416060621d6d251791b2b664fec' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 10:55:56.301 ***🔗
alice_sse_should_not_get_timeout_756@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 10:55:56.303 ***🔗
alice_sse_should_not_get_timeout_756@domain.example.com/res1 in
<presence from='alice_sse_should_not_get_timeout_756@domain.example.com/res1' to='alice_sse_should_not_get_timeout_756@domain.example.com/res1'/>



*** User 2024-04-23 10:55:56.303 ***🔗
bOb_sse_should_not_get_timeout_756@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-04-23 10:55:56.304 ***🔗
bOb_sse_should_not_get_timeout_756@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d05dee4117e434a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 10:55:56.304 ***🔗
bOb_sse_should_not_get_timeout_756@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-04-23 10:55:56.304 ***🔗
bOb_sse_should_not_get_timeout_756@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF83NTYAbWFrcm9saWth</auth>



*** User 2024-04-23 10:55:56.305 ***🔗
bOb_sse_should_not_get_timeout_756@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 10:55:56.305 ***🔗
bOb_sse_should_not_get_timeout_756@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-04-23 10:55:56.305 ***🔗
bOb_sse_should_not_get_timeout_756@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3aca1c15129c23d2' from='domain.example.com' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_756@domain.example.com'>

*** User 2024-04-23 10:55:56.306 ***🔗
bOb_sse_should_not_get_timeout_756@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-04-23 10:55:56.306 ***🔗
bOb_sse_should_not_get_timeout_756@domain.example.com/res1 out
<iq type='set' id='830ddc4199c292e0af836bb49212410a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 10:55:56.306 ***🔗
bOb_sse_should_not_get_timeout_756@domain.example.com/res1 in
<iq id='830ddc4199c292e0af836bb49212410a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_756@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 10:55:56.306 ***🔗
bob_sse_should_not_get_timeout_756@domain.example.com/res1 out
<iq type='set' id='a4e8f364012276c371eba1ee0cf7caba'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 10:55:56.307 ***🔗
bob_sse_should_not_get_timeout_756@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_sse_should_not_get_timeout_756@domain.example.com/res1' id='a4e8f364012276c371eba1ee0cf7caba' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 10:55:56.307 ***🔗
bob_sse_should_not_get_timeout_756@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 10:55:56.309 ***🔗
bob_sse_should_not_get_timeout_756@domain.example.com/res1 in
<presence from='bob_sse_should_not_get_timeout_756@domain.example.com/res1' to='bob_sse_should_not_get_timeout_756@domain.example.com/res1'/>



*** User 2024-04-23 10:55:56.309 ***🔗
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_756@domain.example.com">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-04-23 10:55:56.311 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Tue, 23 Apr 2024 10:55:55 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.15604.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.3995834227.2572156931.112740>}

*** User 2024-04-23 10:55:56.311 ***🔗
bob_sse_should_not_get_timeout_756@domain.example.com/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_756@domain.example.com/res1' to='alice_sse_should_not_get_timeout_756@domain.example.com'>
	<body>Hello!</body>
</message>



*** User 2024-04-23 10:55:56.320 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-23T10:55:56.312409Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_756@domain.example.com/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-04-23 10:55:58.321 ***🔗
bob_sse_should_not_get_timeout_756@domain.example.com/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_756@domain.example.com/res1' to='alice_sse_should_not_get_timeout_756@domain.example.com'>
	<body>Hello again!</body>
</message>



*** User 2024-04-23 10:55:58.322 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-23T10:55:58.322657Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_756@domain.example.com/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-04-23 10:55:58.323 ***🔗
bob_sse_should_not_get_timeout_756@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 10:55:58.323 ***🔗
bob_sse_should_not_get_timeout_756@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 10:55:58.323 ***🔗
alice_sse_should_not_get_timeout_756@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 10:55:58.323 ***🔗
alice_sse_should_not_get_timeout_756@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-23 10:55:58.325 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1354.html



=== Ended at 2024-04-23 10:55:58
=== successfully completed test case
=== === Returned value: ok


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