Test duration: 5.536s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.465s |
2019-11-25 20:19:36 |
2019-11-25 20:19:36 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-25 20:19:36 | ------------------------------------ 2019-11-25 20:19:36 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-25 20:19:36 | command: <command><fields><item><var>jid</var><value>user_regulare5waah0192@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-25 20:19:36 | target: http://localhost:8088 2019-11-25 20:19:36 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2019-11-25 20:19:36 | entity: <command><fields><item><var>jid</var><value>user_regulare5waah0192@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-25 20:19:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Nov 2019 04:19:36 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-25 20:19:36 | response entity: <command> <jid>sess-man@localhost</jid> <node>user-domain-perm</node> <fields> <item> <var>Script result</var> <type>text-multi</type> <value>Changed an old value: null (domains list: ) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|admin@localhost;4|deny|all) for user: user_regulare5waah0192@localhost</value> </item> </fields> </command> 2019-11-25 20:19:36 | contains: true 2019-11-25 20:19:36 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-25 20:19:36 | command: <command><fields><item><var>jid</var><value>user_regulare5waah0192@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-25 20:19:36 | target: http://localhost:8088 2019-11-25 20:19:36 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2019-11-25 20:19:36 | entity: <command><fields><item><var>jid</var><value>user_regulare5waah0192@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-25 20:19:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Nov 2019 04:19:36 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-25 20:19:36 | response entity: <command> <jid>sess-man@localhost</jid> <node>user-domain-perm</node> <fields> <item> <var>Script result</var> <type>text-multi</type> <value>Changed an old value: CUSTOM (domains list: 1|allow|self;2|allow|jid|admin@localhost;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|all) for user: user_regulare5waah0192@localhost</value> </item> </fields> </command> 2019-11-25 20:19:36 | contains: true |
testMessageFiltering | 1.678s |
2019-11-25 20:19:38 |
2019-11-25 20:19:38 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-25 20:19:38 | ------------------------------------ 2019-11-25 20:19:38 | [Mutex] waiting for: [msg:lhsc1d0199] 2019-11-25 20:19:38 | [Mutex] received everything. 2019-11-25 20:19:38 | [Mutex] waiting for: [msg:dm8gdi0201] 2019-11-25 20:19:38 | [Mutex] received everything. 2019-11-25 20:19:38 | [Mutex] waiting for: [msg:yzmdez0203] 2019-11-25 20:19:38 | [Mutex] received everything. 2019-11-25 20:19:38 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-25 20:19:38 | command: <command><fields><item><var>jid</var><value>user_regularhrjlxa0195@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-25 20:19:38 | target: http://localhost:8088 2019-11-25 20:19:38 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-11-25 20:19:38 | entity: <command><fields><item><var>jid</var><value>user_regularhrjlxa0195@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-25 20:19:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Nov 2019 04:19:38 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-25 20:19:38 | response entity: <command> <jid>sess-man@localhost</jid> <node>user-domain-perm</node> <fields> <item> <var>Script result</var> <type>text-multi</type> <value>Changed an old value: null (domains list: ) to a new value: CUSTOM (domains list: 1|allow|self;4|deny|all) for user: user_regularhrjlxa0195@localhost</value> </item> </fields> </command> 2019-11-25 20:19:38 | contains: true 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Connector state changed: connected->disconnecting 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Terminating XMPP Stream 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-25 20:19:38 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-25 20:19:38 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-25 20:19:38 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Connector state changed: null->connecting 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Preparing connection to [localhost:5222] 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Connector state changed: connecting->connected 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Whitespace ping period is setted to nullms 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=3080] Proceeding TLS 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=3080] Start handshake 2019-11-25 20:19:38 | [Mutex] waiting for: [msg:da48ls0205] 2019-11-25 20:19:38 | [Mutex] waiting for: [msg:da48ls0205] 2019-11-25 20:19:38 | [Mutex] waiting for: [msg:da48ls0205] 2019-11-25 20:19:38 | [Mutex] received everything. 2019-11-25 20:19:38 | [Mutex] waiting for: [19reic0206:forbidden] 2019-11-25 20:19:38 | [Mutex] received everything. 2019-11-25 20:19:38 | [Mutex] isItemNotified: 19reic0206:forbidden :: true 2019-11-25 20:19:38 | [Mutex] waiting for: [c96rd70208:forbidden] 2019-11-25 20:19:38 | [Mutex] received everything. 2019-11-25 20:19:38 | [Mutex] isItemNotified: c96rd70208:forbidden :: true 2019-11-25 20:19:38 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-25 20:19:38 | command: <command><fields><item><var>jid</var><value>user_regularhrjlxa0195@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistr6p84a0196@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-25 20:19:38 | target: http://localhost:8088 2019-11-25 20:19:38 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-11-25 20:19:38 | entity: <command><fields><item><var>jid</var><value>user_regularhrjlxa0195@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistr6p84a0196@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-25 20:19:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Nov 2019 04:19:38 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-25 20:19:38 | response entity: <command> <jid>sess-man@localhost</jid> <node>user-domain-perm</node> <fields> <item> <var>Script result</var> <type>text-multi</type> <value>Changed an old value: CUSTOM (domains list: 1|allow|self;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistr6p84a0196@localhost;4|deny|all) for user: user_regularhrjlxa0195@localhost</value> </item> </fields> </command> 2019-11-25 20:19:38 | contains: true 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Connector state changed: connected->disconnecting 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Terminating XMPP Stream 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=3080] Connector state changed: disconnecting->disconnected 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=3080] Stream terminated 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-25 20:19:38 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-25 20:19:38 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-25 20:19:38 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-25 20:19:39 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=1] Connector state changed: null->connecting 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=1] DNS entry stored in session object: localhost:5222 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=1] Preparing connection to [localhost:5222] 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=1] Connector state changed: connecting->connected 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=1] Whitespace ping period is setted to nullms 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=3086] Proceeding TLS 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=3086] Start handshake 2019-11-25 20:19:39 | [Mutex] waiting for: [msg:vfnr5s0211] 2019-11-25 20:19:39 | [Mutex] received everything. 2019-11-25 20:19:39 | [Mutex] waiting for: [msg:nwq11u0213] 2019-11-25 20:19:39 | [Mutex] received everything. 2019-11-25 20:19:39 | [Mutex] received everything. 2019-11-25 20:19:39 | [Mutex] isItemNotified: d9xoce0214:forbidden :: true 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=3086] Connector state changed: connected->disconnected 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=487 thread=3086] Stream terminated 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-25 20:19:39 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |