Test duration: 5.363s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.302s |
2019-11-21 04:07:03 |
2019-11-21 04:07:03 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-21 04:07:03 | ------------------------------------ 2019-11-21 04:07:03 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-21 04:07:03 | command: <command><fields><item><var>jid</var><value>user_regularnt1d670194@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 04:07:03 | target: http://localhost:8088 2019-11-21 04:07:03 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2019-11-21 04:07:03 | entity: <command><fields><item><var>jid</var><value>user_regularnt1d670194@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 04:07:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 12:07:03 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-21 04:07:03 | 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_regularnt1d670194@localhost</value> </item> </fields> </command> 2019-11-21 04:07:03 | contains: true 2019-11-21 04:07:03 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-21 04:07:03 | command: <command><fields><item><var>jid</var><value>user_regularnt1d670194@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 04:07:03 | target: http://localhost:8088 2019-11-21 04:07:03 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2019-11-21 04:07:03 | entity: <command><fields><item><var>jid</var><value>user_regularnt1d670194@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 04:07:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 12:07:03 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-21 04:07:03 | 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_regularnt1d670194@localhost</value> </item> </fields> </command> 2019-11-21 04:07:03 | contains: true |
testMessageFiltering | 1.815s |
2019-11-21 04:07:04 |
2019-11-21 04:07:04 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-21 04:07:04 | ------------------------------------ 2019-11-21 04:07:04 | [Mutex] waiting for: [msg:isnb5j0201] 2019-11-21 04:07:04 | [Mutex] received everything. 2019-11-21 04:07:04 | [Mutex] waiting for: [msg:cxmvej0203] 2019-11-21 04:07:04 | [Mutex] received everything. 2019-11-21 04:07:04 | [Mutex] waiting for: [msg:n4gyif0205] 2019-11-21 04:07:04 | [Mutex] received everything. 2019-11-21 04:07:04 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-21 04:07:04 | command: <command><fields><item><var>jid</var><value>user_regularya11qm0197@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 04:07:04 | target: http://localhost:8088 2019-11-21 04:07:04 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-11-21 04:07:04 | entity: <command><fields><item><var>jid</var><value>user_regularya11qm0197@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 04:07:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 12:07:05 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-21 04:07:05 | 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_regularya11qm0197@localhost</value> </item> </fields> </command> 2019-11-21 04:07:05 | contains: true 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=483 thread=1] Connector state changed: connected->disconnecting 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=483 thread=1] Terminating XMPP Stream 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-21 04:07:05 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-21 04:07:05 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-21 04:07:05 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Connector state changed: null->connecting 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] DNS entry stored in session object: localhost:5222 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Preparing connection to [localhost:5222] 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Connector state changed: connecting->connected 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Whitespace ping period is setted to nullms 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=3090] Proceeding TLS 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=3090] Start handshake 2019-11-21 04:07:05 | [Mutex] waiting for: [msg:ikazd50207] 2019-11-21 04:07:05 | [Mutex] received everything. 2019-11-21 04:07:05 | [Mutex] waiting for: [xcj5vr0208:forbidden] 2019-11-21 04:07:05 | [Mutex] received everything. 2019-11-21 04:07:05 | [Mutex] isItemNotified: xcj5vr0208:forbidden :: true 2019-11-21 04:07:05 | [Mutex] waiting for: [wpyeac0210:forbidden] 2019-11-21 04:07:05 | [Mutex] received everything. 2019-11-21 04:07:05 | [Mutex] isItemNotified: wpyeac0210:forbidden :: true 2019-11-21 04:07:05 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-21 04:07:05 | command: <command><fields><item><var>jid</var><value>user_regularya11qm0197@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistov6qed0198@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-21 04:07:05 | target: http://localhost:8088 2019-11-21 04:07:05 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-11-21 04:07:05 | entity: <command><fields><item><var>jid</var><value>user_regularya11qm0197@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistov6qed0198@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-21 04:07:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 12:07:05 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-21 04:07:05 | 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_whitelistov6qed0198@localhost;4|deny|all) for user: user_regularya11qm0197@localhost</value> </item> </fields> </command> 2019-11-21 04:07:05 | contains: true 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Connector state changed: connected->disconnecting 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Terminating XMPP Stream 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=3090] Connector state changed: disconnecting->disconnected 2019-11-21 04:07:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=3090] Stream terminated 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-21 04:07:06 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-21 04:07:06 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-21 04:07:06 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Connector state changed: null->connecting 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] DNS entry stored in session object: localhost:5222 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Preparing connection to [localhost:5222] 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Connector state changed: connecting->connected 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Whitespace ping period is setted to nullms 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3096] Proceeding TLS 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3096] Start handshake 2019-11-21 04:07:06 | [Mutex] waiting for: [msg:jrbjte0213] 2019-11-21 04:07:06 | [Mutex] received everything. 2019-11-21 04:07:06 | [Mutex] waiting for: [msg:1tqysq0215] 2019-11-21 04:07:06 | [Mutex] received everything. 2019-11-21 04:07:06 | [Mutex] waiting for: [ynhfwt0216:forbidden] 2019-11-21 04:07:06 | [Mutex] received everything. 2019-11-21 04:07:06 | [Mutex] isItemNotified: ynhfwt0216:forbidden :: true 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3096] Connector state changed: connected->disconnected 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3096] Stream terminated 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-21 04:07:06 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |