=== Test case: graphql_sse_SUITE:sse_should_not_get_timeout/1 (click for source code) === Config value: [{schema_endpoint,user}, {watchdog,<0.15687.0>}, {preset,"pgsql_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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.graphql_sse_SUITE.logs/run.2024-01-14_19.43.38/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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.graphql_sse_SUITE.logs/run.2024-01-14_19.43.38/log_private/"}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@d081adacb998.2024-01-14_19.39.56" === Started at 2024-01-14 19:43:38
*** User 2024-01-14 19:43:38.608 ***🔗 alicE_sse_should_not_get_timeout_755@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-01-14 19:43:38.608 ***🔗 alicE_sse_should_not_get_timeout_755@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e1512cf87d1e2be' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:43:38.608 ***🔗 alicE_sse_should_not_get_timeout_755@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-01-14 19:43:38.609 ***🔗 alicE_sse_should_not_get_timeout_755@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3NzZV9zaG91bGRfbm90X2dldF90aW1lb3V0Xzc1NQBtYXR5Z3J5c2E=</auth>
*** User 2024-01-14 19:43:38.609 ***🔗 alicE_sse_should_not_get_timeout_755@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-14 19:43:38.609 ***🔗 alicE_sse_should_not_get_timeout_755@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-01-14 19:43:38.610 ***🔗 alicE_sse_should_not_get_timeout_755@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f5a60796f05b74f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_sse_should_not_get_timeout_755@domain.example.com'>
*** User 2024-01-14 19:43:38.610 ***🔗 alicE_sse_should_not_get_timeout_755@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-01-14 19:43:38.610 ***🔗 alicE_sse_should_not_get_timeout_755@domain.example.com/res1 out <iq type='set' id='67316dbe4133e484e3905bc4d824342c'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-01-14 19:43:38.610 ***🔗 alicE_sse_should_not_get_timeout_755@domain.example.com/res1 in <iq id='67316dbe4133e484e3905bc4d824342c' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>alice_sse_should_not_get_timeout_755@domain.example.com/res1</jid> </bind> </iq>
*** User 2024-01-14 19:43:38.610 ***🔗 alice_sse_should_not_get_timeout_755@domain.example.com/res1 out <iq type='set' id='3b55ecc265181938bd2146eab3ede46a'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-01-14 19:43:38.610 ***🔗 alice_sse_should_not_get_timeout_755@domain.example.com/res1 in <iq from='domain.example.com' to='alice_sse_should_not_get_timeout_755@domain.example.com/res1' id='3b55ecc265181938bd2146eab3ede46a' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-01-14 19:43:38.611 ***🔗 alice_sse_should_not_get_timeout_755@domain.example.com/res1 out <presence/>
*** User 2024-01-14 19:43:38.611 ***🔗 alice_sse_should_not_get_timeout_755@domain.example.com/res1 in <presence from='alice_sse_should_not_get_timeout_755@domain.example.com/res1' to='alice_sse_should_not_get_timeout_755@domain.example.com/res1'/>
*** User 2024-01-14 19:43:38.612 ***🔗 bOb_sse_should_not_get_timeout_755@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-01-14 19:43:38.612 ***🔗 bOb_sse_should_not_get_timeout_755@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f2e5799562e8d16' from='domain.example.com' version='1.0' xml:lang='en'>
*** User 2024-01-14 19:43:38.612 ***🔗 bOb_sse_should_not_get_timeout_755@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-01-14 19:43:38.612 ***🔗 bOb_sse_should_not_get_timeout_755@domain.example.com/res1 out <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zc2Vfc2hvdWxkX25vdF9nZXRfdGltZW91dF83NTUAbWFrcm9saWth</auth>
*** User 2024-01-14 19:43:38.613 ***🔗 bOb_sse_should_not_get_timeout_755@domain.example.com/res1 in <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>
*** User 2024-01-14 19:43:38.613 ***🔗 bOb_sse_should_not_get_timeout_755@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-01-14 19:43:38.614 ***🔗 bOb_sse_should_not_get_timeout_755@domain.example.com/res1 in <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='23a61ff26353c464' from='domain.example.com' version='1.0' xml:lang='en' to='bob_sse_should_not_get_timeout_755@domain.example.com'>
*** User 2024-01-14 19:43:38.614 ***🔗 bOb_sse_should_not_get_timeout_755@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-01-14 19:43:38.614 ***🔗 bOb_sse_should_not_get_timeout_755@domain.example.com/res1 out <iq type='set' id='4f7b487adbf5161335d450752238529d'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <resource>res1</resource> </bind> </iq>
*** User 2024-01-14 19:43:38.614 ***🔗 bOb_sse_should_not_get_timeout_755@domain.example.com/res1 in <iq id='4f7b487adbf5161335d450752238529d' type='result'> <bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'> <jid>bob_sse_should_not_get_timeout_755@domain.example.com/res1</jid> </bind> </iq>
*** User 2024-01-14 19:43:38.614 ***🔗 bob_sse_should_not_get_timeout_755@domain.example.com/res1 out <iq type='set' id='fdc567acaeac5cd75217146208786d34'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-01-14 19:43:38.615 ***🔗 bob_sse_should_not_get_timeout_755@domain.example.com/res1 in <iq from='domain.example.com' to='bob_sse_should_not_get_timeout_755@domain.example.com/res1' id='fdc567acaeac5cd75217146208786d34' type='result'> <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq>
*** User 2024-01-14 19:43:38.615 ***🔗 bob_sse_should_not_get_timeout_755@domain.example.com/res1 out <presence/>
*** User 2024-01-14 19:43:38.615 ***🔗 bob_sse_should_not_get_timeout_755@domain.example.com/res1 in <presence from='bob_sse_should_not_get_timeout_755@domain.example.com/res1' to='bob_sse_should_not_get_timeout_755@domain.example.com/res1'/>
*** User 2024-01-14 19:43:38.616 ***🔗 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_755@domain.example.com">>, <<"matygrysa">>}, extra opts: #{}
*** User 2024-01-14 19:43:38.617 ***🔗 SSE response code: 200, headers: [{<<"cache-control">>,<<"no-cache">>}, {<<"content-type">>,<<"text/event-stream">>}, {<<"date">>, <<"Sun, 14 Jan 2024 19:43:37 GMT">>}, {<<"server">>,<<"Cowboy">>}, {<<"transfer-encoding">>,<<"chunked">>}], result: #{pid => <0.15698.0>, stream_ref => #Ref<0.495203003.201064451.62468>}
*** User 2024-01-14 19:43:38.617 ***🔗 bob_sse_should_not_get_timeout_755@domain.example.com/res1 out <message type='chat' from='bob_sse_should_not_get_timeout_755@domain.example.com/res1' to='alice_sse_should_not_get_timeout_755@domain.example.com'> <body>Hello!</body> </message>
*** User 2024-01-14 19:43:38.624 ***🔗 Received SSE event: #{data => [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-01-14T19:43:38.618041Z\",\"stanza_id\":\"\",\"stanza\":\"Hello! \",\"sender\":\"bob_sse_should_not_get_timeout_755@domain.example.com/res1\"}}}}">>], event_type => <<"message">>,last_event_id => <<"1">>}
*** User 2024-01-14 19:43:40.625 ***🔗 bob_sse_should_not_get_timeout_755@domain.example.com/res1 out <message type='chat' from='bob_sse_should_not_get_timeout_755@domain.example.com/res1' to='alice_sse_should_not_get_timeout_755@domain.example.com'> <body>Hello again!</body> </message>
*** User 2024-01-14 19:43:40.626 ***🔗 Received SSE event: #{data => [<<"{\"data\":{\"stanza\":{\"subscribeForMessages\":{\"timestamp\":\"2024-01-14T19:43:40.626406Z\",\"stanza_id\":\"\",\"stanza\":\"Hello again! \",\"sender\":\"bob_sse_should_not_get_timeout_755@domain.example.com/res1\"}}}}">>], event_type => <<"message">>,last_event_id => <<"2">>}
*** User 2024-01-14 19:43:40.626 ***🔗 bob_sse_should_not_get_timeout_755@domain.example.com/res1 out </stream:stream>
*** User 2024-01-14 19:43:40.627 ***🔗 bob_sse_should_not_get_timeout_755@domain.example.com/res1 in </stream:stream>
*** User 2024-01-14 19:43:40.627 ***🔗 alice_sse_should_not_get_timeout_755@domain.example.com/res1 out </stream:stream>
*** User 2024-01-14 19:43:40.627 ***🔗 alice_sse_should_not_get_timeout_755@domain.example.com/res1 in </stream:stream>
=== Ended at 2024-01-14 19:43:40 === successfully completed test case === === Returned value: ok
Test run history | Top level test index | Latest test result