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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.14293.0>},
     {preset,"ldap_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@85680c760e4e.2024-04-25_16.15.48/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-25_16.17.36/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@85680c760e4e.2024-04-25_16.15.48/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-25_16.17.36/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@85680c760e4e.2024-04-25_16.15.48"

=== Started at 2024-04-25 16:17:37


*** CT 2024-04-25 16:17:37.333 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1515.html

*** User 2024-04-25 16:17:37.341 ***🔗
alicE_sse_should_not_get_timeout_631@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-25 16:17:37.342 ***🔗
alicE_sse_should_not_get_timeout_631@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81c9c3484ff2098e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 16:17:37.342 ***🔗
alicE_sse_should_not_get_timeout_631@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 16:17:37.342 ***🔗
alicE_sse_should_not_get_timeout_631@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0XzYzMQBtYXR5Z3J5c2E=</auth>



*** User 2024-04-25 16:17:37.343 ***🔗
alicE_sse_should_not_get_timeout_631@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 16:17:37.343 ***🔗
alicE_sse_should_not_get_timeout_631@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-25 16:17:37.343 ***🔗
alicE_sse_should_not_get_timeout_631@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5587e11888bcca42' from='localhost' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_631@localhost'>

*** User 2024-04-25 16:17:37.343 ***🔗
alicE_sse_should_not_get_timeout_631@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-25 16:17:37.344 ***🔗
alicE_sse_should_not_get_timeout_631@localhost/res1 out
<iq type='set' id='1806ba7228e38d5f0e4608abdeaa53fa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 16:17:37.344 ***🔗
alicE_sse_should_not_get_timeout_631@localhost/res1 in
<iq id='1806ba7228e38d5f0e4608abdeaa53fa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_631@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 16:17:37.344 ***🔗
alice_sse_should_not_get_timeout_631@localhost/res1 out
<iq type='set' id='40746385b14968ae1ba6aa35aea1908c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:17:37.344 ***🔗
alice_sse_should_not_get_timeout_631@localhost/res1 in
<iq from='localhost' to='alice_sse_should_not_get_timeout_631@localhost/res1' id='40746385b14968ae1ba6aa35aea1908c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:17:37.345 ***🔗
alice_sse_should_not_get_timeout_631@localhost/res1 out
<presence/>



*** User 2024-04-25 16:17:37.345 ***🔗
alice_sse_should_not_get_timeout_631@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_631@localhost/res1' to='alice_sse_should_not_get_timeout_631@localhost/res1'/>



*** User 2024-04-25 16:17:37.346 ***🔗
bOb_sse_should_not_get_timeout_631@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-25 16:17:37.346 ***🔗
bOb_sse_should_not_get_timeout_631@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f89f312b0b716747' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 16:17:37.346 ***🔗
bOb_sse_should_not_get_timeout_631@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-25 16:17:37.346 ***🔗
bOb_sse_should_not_get_timeout_631@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF82MzEAbWFrcm9saWth</auth>



*** User 2024-04-25 16:17:37.348 ***🔗
bOb_sse_should_not_get_timeout_631@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 16:17:37.348 ***🔗
bOb_sse_should_not_get_timeout_631@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-25 16:17:37.348 ***🔗
bOb_sse_should_not_get_timeout_631@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='189fca1d533b6352' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_631@localhost'>

*** User 2024-04-25 16:17:37.348 ***🔗
bOb_sse_should_not_get_timeout_631@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-25 16:17:37.348 ***🔗
bOb_sse_should_not_get_timeout_631@localhost/res1 out
<iq type='set' id='1a8a90740de36d8e19f9e61806c17db4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 16:17:37.348 ***🔗
bOb_sse_should_not_get_timeout_631@localhost/res1 in
<iq id='1a8a90740de36d8e19f9e61806c17db4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_631@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 16:17:37.348 ***🔗
bob_sse_should_not_get_timeout_631@localhost/res1 out
<iq type='set' id='2fce23d9e06f149eedb001f050298006'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:17:37.349 ***🔗
bob_sse_should_not_get_timeout_631@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_631@localhost/res1' id='2fce23d9e06f149eedb001f050298006' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:17:37.349 ***🔗
bob_sse_should_not_get_timeout_631@localhost/res1 out
<presence/>



*** User 2024-04-25 16:17:37.349 ***🔗
bob_sse_should_not_get_timeout_631@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_631@localhost/res1' to='bob_sse_should_not_get_timeout_631@localhost/res1'/>



*** User 2024-04-25 16:17:37.350 ***🔗
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_631@localhost">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-04-25 16:17:37.352 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Thu, 25 Apr 2024 16:17:36 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.14304.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.996629141.3873439748.226410>}

*** User 2024-04-25 16:17:37.355 ***🔗
bob_sse_should_not_get_timeout_631@localhost/res1 out
<message from='bob_sse_should_not_get_timeout_631@localhost/res1' to='alice_sse_should_not_get_timeout_631@localhost' type='chat'>
	<body>Hello!</body>
</message>



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

*** User 2024-04-25 16:17:39.359 ***🔗
bob_sse_should_not_get_timeout_631@localhost/res1 out
<message from='bob_sse_should_not_get_timeout_631@localhost/res1' to='alice_sse_should_not_get_timeout_631@localhost' type='chat'>
	<body>Hello again!</body>
</message>



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

*** User 2024-04-25 16:17:39.361 ***🔗
bob_sse_should_not_get_timeout_631@localhost/res1 out
</stream:stream>

*** User 2024-04-25 16:17:39.361 ***🔗
bob_sse_should_not_get_timeout_631@localhost/res1 in
</stream:stream>

*** User 2024-04-25 16:17:39.361 ***🔗
alice_sse_should_not_get_timeout_631@localhost/res1 out
</stream:stream>

*** User 2024-04-25 16:17:39.361 ***🔗
alice_sse_should_not_get_timeout_631@localhost/res1 in
</stream:stream>
*** CT 2024-04-25 16:17:39.362 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1515.html



=== Ended at 2024-04-25 16:17:39
=== successfully completed test case
=== === Returned value: ok


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