Test duration: 6.836s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.216s |
2020-08-03 00:04:17 |
2020-08-03 00:04:17 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-08-03 00:04:17 | ------------------------------------ 2020-08-03 00:04:17 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-08-03 00:04:17 | command: <command><fields><item><var>jid</var><value>user_regular2h36i70211@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-08-03 00:04:17 | target: http://localhost:8088 2020-08-03 00:04:17 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-08-03 00:04:17 | entity: <command><fields><item><var>jid</var><value>user_regular2h36i70211@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-08-03 00:04:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Aug 2020 07:04:17 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-08-03 00:04:17 | response entity: <command> <jid>sess-man@test-domain.com</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@test-domain.com;4|deny|all) for user: user_regular2h36i70211@test-domain.com</value> </item> </fields> </command> 2020-08-03 00:04:17 | contains: true 2020-08-03 00:04:17 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-08-03 00:04:17 | command: <command><fields><item><var>jid</var><value>user_regular2h36i70211@test-domain.com</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> 2020-08-03 00:04:17 | target: http://localhost:8088 2020-08-03 00:04:17 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-08-03 00:04:17 | entity: <command><fields><item><var>jid</var><value>user_regular2h36i70211@test-domain.com</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> 2020-08-03 00:04:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Aug 2020 07:04:17 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-08-03 00:04:17 | response entity: <command> <jid>sess-man@test-domain.com</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@test-domain.com;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|all) for user: user_regular2h36i70211@test-domain.com</value> </item> </fields> </command> 2020-08-03 00:04:17 | contains: true |
testMessageFiltering | 2.758s |
2020-08-03 00:04:19 |
2020-08-03 00:04:19 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-08-03 00:04:19 | ------------------------------------ 2020-08-03 00:04:19 | [Mutex] waiting for: [msg:8vmjc60218] 2020-08-03 00:04:19 | [Mutex] received everything. 2020-08-03 00:04:19 | [Mutex] isItemNotified: msg:8vmjc60218 :: true 2020-08-03 00:04:19 | [Mutex] waiting for: [msg:fx7f9z0220] 2020-08-03 00:04:19 | [Mutex] received everything. 2020-08-03 00:04:19 | [Mutex] isItemNotified: msg:fx7f9z0220 :: true 2020-08-03 00:04:19 | [Mutex] waiting for: [msg:vt0my0222] 2020-08-03 00:04:19 | [Mutex] received everything. 2020-08-03 00:04:19 | [Mutex] isItemNotified: msg:vt0my0222 :: true 2020-08-03 00:04:19 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-08-03 00:04:19 | command: <command><fields><item><var>jid</var><value>user_regulartggdn60214@test-domain.com</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> 2020-08-03 00:04:19 | target: http://localhost:8088 2020-08-03 00:04:19 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-08-03 00:04:19 | entity: <command><fields><item><var>jid</var><value>user_regulartggdn60214@test-domain.com</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> 2020-08-03 00:04:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Aug 2020 07:04:19 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-08-03 00:04:19 | response entity: <command> <jid>sess-man@test-domain.com</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_regulartggdn60214@test-domain.com</value> </item> </fields> </command> 2020-08-03 00:04:19 | contains: true 2020-08-03 00:04:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] Connector state changed: connected->disconnecting 2020-08-03 00:04:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=491 thread=1] Terminating XMPP Stream 2020-08-03 00:04:19 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-08-03 00:04:19 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2020-08-03 00:04:19 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2020-08-03 00:04:20 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=1] Connector state changed: null->connecting 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=1] DNS entry stored in session object: localhost:5222 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=1] Preparing connection to [localhost:5222] 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=1] Connector state changed: connecting->connected 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=1] Whitespace ping period is setted to nullms 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=3151] Proceeding TLS 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=3151] Start handshake 2020-08-03 00:04:20 | [Mutex] waiting for: [msg:hvo81x0224] 2020-08-03 00:04:20 | [Mutex] received everything. 2020-08-03 00:04:20 | [Mutex] isItemNotified: msg:hvo81x0224 :: true 2020-08-03 00:04:20 | [Mutex] waiting for: [nxmxbh0225:forbidden] 2020-08-03 00:04:20 | [Mutex] received everything. 2020-08-03 00:04:20 | [Mutex] isItemNotified: nxmxbh0225:forbidden :: true 2020-08-03 00:04:20 | [Mutex] waiting for: [gjhbug0227:forbidden] 2020-08-03 00:04:20 | [Mutex] received everything. 2020-08-03 00:04:20 | [Mutex] isItemNotified: gjhbug0227:forbidden :: true 2020-08-03 00:04:20 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-08-03 00:04:20 | command: <command><fields><item><var>jid</var><value>user_regulartggdn60214@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelist9ihsc80215@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-08-03 00:04:20 | target: http://localhost:8088 2020-08-03 00:04:20 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-08-03 00:04:20 | entity: <command><fields><item><var>jid</var><value>user_regulartggdn60214@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelist9ihsc80215@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-08-03 00:04:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Aug 2020 07:04:20 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-08-03 00:04:20 | response entity: <command> <jid>sess-man@test-domain.com</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_whitelist9ihsc80215@test-domain.com;4|deny|all) for user: user_regulartggdn60214@test-domain.com</value> </item> </fields> </command> 2020-08-03 00:04:20 | contains: true 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=1] Connector state changed: connected->disconnecting 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=1] Terminating XMPP Stream 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=3151] Connector state changed: disconnecting->disconnected 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=496 thread=3151] Stream terminated 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-08-03 00:04:20 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-08-03 00:04:20 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2020-08-03 00:04:20 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2020-08-03 00:04:21 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2020-08-03 00:04:21 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2020-08-03 00:04:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-08-03 00:04:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=497 thread=1] Connector state changed: null->connecting 2020-08-03 00:04:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=497 thread=1] DNS entry stored in session object: localhost:5222 2020-08-03 00:04:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=497 thread=1] Preparing connection to [localhost:5222] 2020-08-03 00:04:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=497 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-08-03 00:04:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=497 thread=1] Connector state changed: connecting->connected 2020-08-03 00:04:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=497 thread=1] Whitespace ping period is setted to nullms 2020-08-03 00:04:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=497 thread=3157] Proceeding TLS 2020-08-03 00:04:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=497 thread=3157] Start handshake 2020-08-03 00:04:22 | [Mutex] waiting for: [msg:unbvnv0230] 2020-08-03 00:04:22 | [Mutex] received everything. 2020-08-03 00:04:22 | [Mutex] isItemNotified: msg:unbvnv0230 :: true 2020-08-03 00:04:22 | [Mutex] waiting for: [msg:aiu5dj0232] 2020-08-03 00:04:22 | [Mutex] received everything. 2020-08-03 00:04:22 | [Mutex] isItemNotified: msg:aiu5dj0232 :: true 2020-08-03 00:04:22 | [Mutex] waiting for: [2pwquf0233:forbidden] 2020-08-03 00:04:22 | [Mutex] received everything. 2020-08-03 00:04:22 | [Mutex] isItemNotified: 2pwquf0233:forbidden :: true 2020-08-03 00:04:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=497 thread=3157] Connector state changed: connected->disconnected 2020-08-03 00:04:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=497 thread=3157] Stream terminated 2020-08-03 00:04:22 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-08-03 00:04:22 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |