Test duration: 5.679s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.323s |
2019-11-21 05:58:17 |
2019-11-21 05:58:17 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-21 05:58:17 | ------------------------------------ 2019-11-21 05:58:17 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-21 05:58:17 | command: <command><fields><item><var>jid</var><value>user_regular4exvnh0195@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-21 05:58:17 | target: http://localhost:8088 2019-11-21 05:58:17 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2019-11-21 05:58:17 | entity: <command><fields><item><var>jid</var><value>user_regular4exvnh0195@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-21 05:58:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 13:58:17 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-21 05:58:17 | 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_regular4exvnh0195@localhost</value> </item> </fields> </command> 2019-11-21 05:58:17 | contains: true 2019-11-21 05:58:17 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-21 05:58:17 | command: <command><fields><item><var>jid</var><value>user_regular4exvnh0195@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-21 05:58:17 | target: http://localhost:8088 2019-11-21 05:58:17 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2019-11-21 05:58:17 | entity: <command><fields><item><var>jid</var><value>user_regular4exvnh0195@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-21 05:58:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 13:58:17 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-21 05:58:17 | 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_regular4exvnh0195@localhost</value> </item> </fields> </command> 2019-11-21 05:58:17 | contains: true |
testMessageFiltering | 1.761s |
2019-11-21 05:58:19 |
2019-11-21 05:58:19 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-21 05:58:19 | ------------------------------------ 2019-11-21 05:58:19 | [Mutex] waiting for: [msg:xg3z6j0202] 2019-11-21 05:58:19 | [Mutex] received everything. 2019-11-21 05:58:19 | [Mutex] waiting for: [msg:4gquc30204] 2019-11-21 05:58:19 | [Mutex] received everything. 2019-11-21 05:58:19 | [Mutex] waiting for: [msg:lty9fi0206] 2019-11-21 05:58:19 | [Mutex] received everything. 2019-11-21 05:58:19 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-21 05:58:19 | command: <command><fields><item><var>jid</var><value>user_regularb0sabd0198@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-21 05:58:19 | target: http://localhost:8088 2019-11-21 05:58:19 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-11-21 05:58:19 | entity: <command><fields><item><var>jid</var><value>user_regularb0sabd0198@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-21 05:58:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 13:58:19 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-21 05:58:19 | 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_regularb0sabd0198@localhost</value> </item> </fields> </command> 2019-11-21 05:58:19 | contains: true 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=484 thread=1] Connector state changed: connected->disconnecting 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=484 thread=1] Terminating XMPP Stream 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-21 05:58:19 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-21 05:58:19 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-21 05:58:19 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Connector state changed: null->connecting 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] DNS entry stored in session object: localhost:5222 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Preparing connection to [localhost:5222] 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Connector state changed: connecting->connected 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Whitespace ping period is setted to nullms 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3097] Proceeding TLS 2019-11-21 05:58:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3097] Start handshake 2019-11-21 05:58:20 | [Mutex] waiting for: [msg:rz8uip0208] 2019-11-21 05:58:20 | [Mutex] received everything. 2019-11-21 05:58:20 | [Mutex] waiting for: [fl44f90209:forbidden] 2019-11-21 05:58:20 | [Mutex] received everything. 2019-11-21 05:58:20 | [Mutex] isItemNotified: fl44f90209:forbidden :: true 2019-11-21 05:58:20 | [Mutex] waiting for: [czymse0211:forbidden] 2019-11-21 05:58:20 | [Mutex] received everything. 2019-11-21 05:58:20 | [Mutex] isItemNotified: czymse0211:forbidden :: true 2019-11-21 05:58:20 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-21 05:58:20 | command: <command><fields><item><var>jid</var><value>user_regularb0sabd0198@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistj1w09u0199@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-21 05:58:20 | target: http://localhost:8088 2019-11-21 05:58:20 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-11-21 05:58:20 | entity: <command><fields><item><var>jid</var><value>user_regularb0sabd0198@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistj1w09u0199@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-21 05:58:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 13:58:20 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-21 05:58:20 | 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_whitelistj1w09u0199@localhost;4|deny|all) for user: user_regularb0sabd0198@localhost</value> </item> </fields> </command> 2019-11-21 05:58:20 | contains: true 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Connector state changed: connected->disconnecting 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Terminating XMPP Stream 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3097] Connector state changed: disconnecting->disconnected 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3097] Stream terminated 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-21 05:58:20 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-21 05:58:20 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-21 05:58:20 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Connector state changed: null->connecting 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] DNS entry stored in session object: localhost:5222 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Preparing connection to [localhost:5222] 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Connector state changed: connecting->connected 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Whitespace ping period is setted to nullms 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=3103] Proceeding TLS 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=3103] Start handshake 2019-11-21 05:58:20 | [Mutex] waiting for: [msg:wdt3yt0214] 2019-11-21 05:58:20 | [Mutex] received everything. 2019-11-21 05:58:20 | [Mutex] waiting for: [msg:q3odyr0216] 2019-11-21 05:58:20 | [Mutex] received everything. 2019-11-21 05:58:20 | [Mutex] waiting for: [93yxct0217:forbidden] 2019-11-21 05:58:20 | [Mutex] received everything. 2019-11-21 05:58:20 | [Mutex] isItemNotified: 93yxct0217:forbidden :: true 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=3103] Connector state changed: connected->disconnected 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=3103] Stream terminated 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-21 05:58:20 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |