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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.15428.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@f94a1e7ac885.2024-03-11_11.28.43/big_tests.tests.graphql_sse_SUITE.logs/run.2024-03-11_11.30.54/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@f94a1e7ac885.2024-03-11_11.28.43/big_tests.tests.graphql_sse_SUITE.logs/run.2024-03-11_11.30.54/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@f94a1e7ac885.2024-03-11_11.28.43"

=== Started at 2024-03-11 11:30:55


*** CT 2024-03-11 11:30:55.329 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1353.html

*** User 2024-03-11 11:30:55.335 ***🔗
alicE_sse_should_not_get_timeout_748@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-03-11 11:30:55.335 ***🔗
alicE_sse_should_not_get_timeout_748@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4a2a73d20e66d85f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:30:55.336 ***🔗
alicE_sse_should_not_get_timeout_748@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-03-11 11:30:55.336 ***🔗
alicE_sse_should_not_get_timeout_748@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0Xzc0OABtYXR5Z3J5c2E=</auth>



*** User 2024-03-11 11:30:55.337 ***🔗
alicE_sse_should_not_get_timeout_748@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:30:55.337 ***🔗
alicE_sse_should_not_get_timeout_748@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-03-11 11:30:55.337 ***🔗
alicE_sse_should_not_get_timeout_748@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9add87572e0ec985' from='domain.example.com' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_748@domain.example.com'>

*** User 2024-03-11 11:30:55.338 ***🔗
alicE_sse_should_not_get_timeout_748@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-03-11 11:30:55.338 ***🔗
alicE_sse_should_not_get_timeout_748@domain.example.com/res1 out
<iq type='set' id='92358a85e63b9bc5d808bab82c384e71'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:30:55.338 ***🔗
alicE_sse_should_not_get_timeout_748@domain.example.com/res1 in
<iq id='92358a85e63b9bc5d808bab82c384e71' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_748@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:30:55.338 ***🔗
alice_sse_should_not_get_timeout_748@domain.example.com/res1 out
<iq type='set' id='7a57b4352cc498e880a52f835f81d2e2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:30:55.339 ***🔗
alice_sse_should_not_get_timeout_748@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_sse_should_not_get_timeout_748@domain.example.com/res1' id='7a57b4352cc498e880a52f835f81d2e2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:30:55.339 ***🔗
alice_sse_should_not_get_timeout_748@domain.example.com/res1 out
<presence/>



*** User 2024-03-11 11:30:55.341 ***🔗
alice_sse_should_not_get_timeout_748@domain.example.com/res1 in
<presence from='alice_sse_should_not_get_timeout_748@domain.example.com/res1' to='alice_sse_should_not_get_timeout_748@domain.example.com/res1'/>



*** User 2024-03-11 11:30:55.341 ***🔗
bOb_sse_should_not_get_timeout_748@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-03-11 11:30:55.342 ***🔗
bOb_sse_should_not_get_timeout_748@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='60f77ba9cdfea343' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:30:55.342 ***🔗
bOb_sse_should_not_get_timeout_748@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-03-11 11:30:55.342 ***🔗
bOb_sse_should_not_get_timeout_748@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF83NDgAbWFrcm9saWth</auth>



*** User 2024-03-11 11:30:55.343 ***🔗
bOb_sse_should_not_get_timeout_748@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:30:55.343 ***🔗
bOb_sse_should_not_get_timeout_748@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-03-11 11:30:55.344 ***🔗
bOb_sse_should_not_get_timeout_748@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='661423fb1fc88b56' from='domain.example.com' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_748@domain.example.com'>

*** User 2024-03-11 11:30:55.344 ***🔗
bOb_sse_should_not_get_timeout_748@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-03-11 11:30:55.344 ***🔗
bOb_sse_should_not_get_timeout_748@domain.example.com/res1 out
<iq type='set' id='2b28fe8ee80854c5429cb605bb90f9a6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:30:55.344 ***🔗
bOb_sse_should_not_get_timeout_748@domain.example.com/res1 in
<iq id='2b28fe8ee80854c5429cb605bb90f9a6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_748@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:30:55.345 ***🔗
bob_sse_should_not_get_timeout_748@domain.example.com/res1 out
<iq type='set' id='7fc7496e7a07ed2549e00ccfc609d467'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:30:55.345 ***🔗
bob_sse_should_not_get_timeout_748@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_sse_should_not_get_timeout_748@domain.example.com/res1' id='7fc7496e7a07ed2549e00ccfc609d467' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:30:55.346 ***🔗
bob_sse_should_not_get_timeout_748@domain.example.com/res1 out
<presence/>



*** User 2024-03-11 11:30:55.347 ***🔗
bob_sse_should_not_get_timeout_748@domain.example.com/res1 in
<presence from='bob_sse_should_not_get_timeout_748@domain.example.com/res1' to='bob_sse_should_not_get_timeout_748@domain.example.com/res1'/>



*** User 2024-03-11 11:30:55.348 ***🔗
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_748@domain.example.com">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-03-11 11:30:55.350 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Mon, 11 Mar 2024 11:30:55 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.15439.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.1228165165.4255383554.164195>}

*** User 2024-03-11 11:30:55.350 ***🔗
bob_sse_should_not_get_timeout_748@domain.example.com/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_748@domain.example.com/res1' to='alice_sse_should_not_get_timeout_748@domain.example.com'>
	<body>Hello!</body>
</message>



*** User 2024-03-11 11:30:55.360 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-03-11T11:30:55.351581Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_748@domain.example.com/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-03-11 11:30:57.361 ***🔗
bob_sse_should_not_get_timeout_748@domain.example.com/res1 out
<message type='chat' from='bob_sse_should_not_get_timeout_748@domain.example.com/res1' to='alice_sse_should_not_get_timeout_748@domain.example.com'>
	<body>Hello again!</body>
</message>



*** User 2024-03-11 11:30:57.362 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-03-11T11:30:57.362735Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_748@domain.example.com/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-03-11 11:30:57.363 ***🔗
bob_sse_should_not_get_timeout_748@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-11 11:30:57.363 ***🔗
bob_sse_should_not_get_timeout_748@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-11 11:30:57.363 ***🔗
alice_sse_should_not_get_timeout_748@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-11 11:30:57.363 ***🔗
alice_sse_should_not_get_timeout_748@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-11 11:30:57.365 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1353.html



=== Ended at 2024-03-11 11:30:57
=== successfully completed test case
=== === Returned value: ok


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