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

=== Config value:

    [{schema_endpoint,user},
     {watchdog,<0.14033.0>},
     {preset,"internal_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@baea9fdafaad.2024-03-06_09.19.52/big_tests.tests.graphql_sse_SUITE.logs/run.2024-03-06_09.21.42/graphql_sse_suite.user_invalid_query_string.15620.html"},
     {tc_group_properties,[{name,user},parallel]},
     {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@baea9fdafaad.2024-03-06_09.19.52/big_tests.tests.graphql_sse_SUITE.logs/run.2024-03-06_09.21.42/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@baea9fdafaad.2024-03-06_09.19.52"

=== Started at 2024-03-06 09:21:42


*** CT 2024-03-06 09:21:42.892 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1521.html

*** User 2024-03-06 09:21:42.895 ***🔗
alicE_user_invalid_query_string_627@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-03-06 09:21:42.896 ***🔗
alicE_user_invalid_query_string_627@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ae9b835910a902a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-06 09:21:42.896 ***🔗
alicE_user_invalid_query_string_627@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>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-06 09:21:42.897 ***🔗
alicE_user_invalid_query_string_627@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3VzZXJfaW52YWxpZF9xdWVyeV9zdHJpbmdfNjI3AG1hdHlncnlzYQ==</auth>



*** User 2024-03-06 09:21:42.897 ***🔗
alicE_user_invalid_query_string_627@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-06 09:21:42.897 ***🔗
alicE_user_invalid_query_string_627@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-03-06 09:21:42.898 ***🔗
alicE_user_invalid_query_string_627@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='adfd5aa2e86ab7c1' from='localhost' version='1.0' xml:lang='en' to='alice_user_invalid_query_string_627@localhost'>

*** User 2024-03-06 09:21:42.898 ***🔗
alicE_user_invalid_query_string_627@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-03-06 09:21:42.898 ***🔗
alicE_user_invalid_query_string_627@localhost/res1 out
<iq type='set' id='c0f794b96b2168f366d9d1321f4409f1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-06 09:21:42.898 ***🔗
alicE_user_invalid_query_string_627@localhost/res1 in
<iq id='c0f794b96b2168f366d9d1321f4409f1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_user_invalid_query_string_627@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-06 09:21:42.898 ***🔗
alice_user_invalid_query_string_627@localhost/res1 out
<iq type='set' id='2885e7ee9916ea9e4de6b96630ecea70'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 09:21:42.899 ***🔗
alice_user_invalid_query_string_627@localhost/res1 in
<iq from='localhost' to='alice_user_invalid_query_string_627@localhost/res1' id='2885e7ee9916ea9e4de6b96630ecea70' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 09:21:42.899 ***🔗
alice_user_invalid_query_string_627@localhost/res1 out
<presence/>



*** User 2024-03-06 09:21:42.900 ***🔗
alice_user_invalid_query_string_627@localhost/res1 in
<presence from='alice_user_invalid_query_string_627@localhost/res1' to='alice_user_invalid_query_string_627@localhost/res1'/>



*** User 2024-03-06 09:21:42.900 ***🔗
Connect to SSE, port: 5561, path: /api/graphql/sse?=invalid, creds: {<<"alice_user_invalid_query_string_627@localhost">>,
                                                                     <<"matygrysa">>}, extra opts: #{}
*** CT 2024-03-06 09:21:42.902 *** Stanza Log:🔗 user_invalid_query_string.xml

*** CT Error Notification 2024-03-06 09:21:42.902 ***🔗
sse_helper:connect_to_sse failed on line 14
Reason: {badmatch,{error,{stream_error,closed}}}

Full error description and stacktrace
*** CT 2024-03-06 09:21:42.906 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1521.html



=== Ended at 2024-03-06 09:21:42
=== Location: [{sse_helper,connect_to_sse,14},
              {graphql_sse_SUITE,user_invalid_query_string_story,98},
              {escalus_story,story,72},
              {test_server,ts_tc,1793},
              {test_server,run_test_case_eval1,1302},
              {test_server,run_test_case_eval,1234}]
=== === Reason: no match of right hand side value {error,
                                                    {stream_error,closed}}
  in function  sse_helper:connect_to_sse/4 (/home/circleci/project/big_tests/tests/sse_helper.erl, line 14)
  in call from graphql_sse_SUITE:user_invalid_query_string_story/1 (/home/circleci/project/big_tests/tests/graphql_sse_SUITE.erl, line 98)
  in call from escalus_story:story/4 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl, line 72)
  in call from test_server:ts_tc/3 (test_server.erl, line 1793)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234)