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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.14200.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@d38f243b9b3e.2024-04-10_14.22.48/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-10_14.24.37/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@d38f243b9b3e.2024-04-10_14.22.48/big_tests.tests.graphql_sse_SUITE.logs/run.2024-04-10_14.24.37/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d38f243b9b3e.2024-04-10_14.22.48"

=== Started at 2024-04-10 14:24:37


*** CT 2024-04-10 14:24:37.562 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1517.html

*** User 2024-04-10 14:24:37.566 ***🔗
alicE_sse_should_not_get_timeout_619@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-10 14:24:37.567 ***🔗
alicE_sse_should_not_get_timeout_619@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a4378da1c8f3cb0' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 14:24:37.567 ***🔗
alicE_sse_should_not_get_timeout_619@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-10 14:24:37.567 ***🔗
alicE_sse_should_not_get_timeout_619@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0XzYxOQBtYXR5Z3J5c2E=</auth>



*** User 2024-04-10 14:24:37.568 ***🔗
alicE_sse_should_not_get_timeout_619@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 14:24:37.568 ***🔗
alicE_sse_should_not_get_timeout_619@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-10 14:24:37.568 ***🔗
alicE_sse_should_not_get_timeout_619@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef02dea01fd82ed0' from='localhost' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_619@localhost'>

*** User 2024-04-10 14:24:37.568 ***🔗
alicE_sse_should_not_get_timeout_619@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-10 14:24:37.568 ***🔗
alicE_sse_should_not_get_timeout_619@localhost/res1 out
<iq type='set' id='50919bf82b8dd235212e437b05a0db11'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 14:24:37.569 ***🔗
alicE_sse_should_not_get_timeout_619@localhost/res1 in
<iq id='50919bf82b8dd235212e437b05a0db11' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_sse_should_not_get_timeout_619@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 14:24:37.569 ***🔗
alice_sse_should_not_get_timeout_619@localhost/res1 out
<iq type='set' id='77bdaaac5ef86a5d9e3063c736a5ca47'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 14:24:37.569 ***🔗
alice_sse_should_not_get_timeout_619@localhost/res1 in
<iq from='localhost' to='alice_sse_should_not_get_timeout_619@localhost/res1' id='77bdaaac5ef86a5d9e3063c736a5ca47' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 14:24:37.569 ***🔗
alice_sse_should_not_get_timeout_619@localhost/res1 out
<presence/>



*** User 2024-04-10 14:24:37.570 ***🔗
alice_sse_should_not_get_timeout_619@localhost/res1 in
<presence from='alice_sse_should_not_get_timeout_619@localhost/res1' to='alice_sse_should_not_get_timeout_619@localhost/res1'/>



*** User 2024-04-10 14:24:37.570 ***🔗
bOb_sse_should_not_get_timeout_619@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-10 14:24:37.570 ***🔗
bOb_sse_should_not_get_timeout_619@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d2ee84c6d861e317' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 14:24:37.571 ***🔗
bOb_sse_should_not_get_timeout_619@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-10 14:24:37.571 ***🔗
bOb_sse_should_not_get_timeout_619@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF82MTkAbWFrcm9saWth</auth>



*** User 2024-04-10 14:24:37.572 ***🔗
bOb_sse_should_not_get_timeout_619@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 14:24:37.572 ***🔗
bOb_sse_should_not_get_timeout_619@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-10 14:24:37.572 ***🔗
bOb_sse_should_not_get_timeout_619@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='be50e4feceec68c4' from='localhost' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_619@localhost'>

*** User 2024-04-10 14:24:37.572 ***🔗
bOb_sse_should_not_get_timeout_619@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-10 14:24:37.572 ***🔗
bOb_sse_should_not_get_timeout_619@localhost/res1 out
<iq type='set' id='1d93631ba5ddef606e5610d17b75b7a5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 14:24:37.572 ***🔗
bOb_sse_should_not_get_timeout_619@localhost/res1 in
<iq id='1d93631ba5ddef606e5610d17b75b7a5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_sse_should_not_get_timeout_619@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 14:24:37.573 ***🔗
bob_sse_should_not_get_timeout_619@localhost/res1 out
<iq type='set' id='8d2df2c32eb795d280bfbc236a180478'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 14:24:37.573 ***🔗
bob_sse_should_not_get_timeout_619@localhost/res1 in
<iq from='localhost' to='bob_sse_should_not_get_timeout_619@localhost/res1' id='8d2df2c32eb795d280bfbc236a180478' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 14:24:37.573 ***🔗
bob_sse_should_not_get_timeout_619@localhost/res1 out
<presence/>



*** User 2024-04-10 14:24:37.574 ***🔗
bob_sse_should_not_get_timeout_619@localhost/res1 in
<presence from='bob_sse_should_not_get_timeout_619@localhost/res1' to='bob_sse_should_not_get_timeout_619@localhost/res1'/>



*** User 2024-04-10 14:24:37.574 ***🔗
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_619@localhost">>,
                                                                                                                                                                                      <<"matygrysa">>}, extra opts: #{}

*** User 2024-04-10 14:24:37.576 ***🔗
SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>},
                                  {<<"content-type">>,<<"text/event-stream">>},
                                  {<<"date">>,
                                   <<"Wed, 10 Apr 2024 14:24:37 GMT">>},
                                  {<<"server">>,<<"Cowboy">>},
                                  {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid =>
                                                                                          <0.14211.0>,
                                                                                      stream_ref =>
                                                                                          #Ref<0.3621091745.1314390020.93093>}

*** User 2024-04-10 14:24:37.579 ***🔗
bob_sse_should_not_get_timeout_619@localhost/res1 out
<message from='bob_sse_should_not_get_timeout_619@localhost/res1' to='alice_sse_should_not_get_timeout_619@localhost' type='chat'>
	<body>Hello!</body>
</message>



*** User 2024-04-10 14:24:37.582 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-10T14:24:37.579941Z\",\"stanza_id\":\"\",\"stanza\":\"Hello!\",\"sender\":\"bob_sse_should_not_get_timeout_619@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"1">>}

*** User 2024-04-10 14:24:39.583 ***🔗
bob_sse_should_not_get_timeout_619@localhost/res1 out
<message from='bob_sse_should_not_get_timeout_619@localhost/res1' to='alice_sse_should_not_get_timeout_619@localhost' type='chat'>
	<body>Hello again!</body>
</message>



*** User 2024-04-10 14:24:39.584 ***🔗
Received SSE event: #{data =>
                          [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-04-10T14:24:39.583840Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again!\",\"sender\":\"bob_sse_should_not_get_timeout_619@localhost/res1\"}}}}">>],
                      event_type => <<"message">>,last_event_id => <<"2">>}

*** User 2024-04-10 14:24:39.584 ***🔗
bob_sse_should_not_get_timeout_619@localhost/res1 out
</stream:stream>

*** User 2024-04-10 14:24:39.584 ***🔗
bob_sse_should_not_get_timeout_619@localhost/res1 in
</stream:stream>

*** User 2024-04-10 14:24:39.584 ***🔗
alice_sse_should_not_get_timeout_619@localhost/res1 out
</stream:stream>

*** User 2024-04-10 14:24:39.585 ***🔗
alice_sse_should_not_get_timeout_619@localhost/res1 in
</stream:stream>
*** CT 2024-04-10 14:24:39.586 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1517.html



=== Ended at 2024-04-10 14:24:39
=== successfully completed test case
=== === Returned value: ok


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