Test duration: 2.680s
| Passed Tests | ||
|---|---|---|
| tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
| testConfigurationUpdating | 0.151s |
2019-03-02 14:45:50 |
2019-03-02 14:45:50 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-03-02 14:45:50 | ------------------------------------ 2019-03-02 14:45:50 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-03-02 14:45:50 | command: <command><fields><item><var>jid</var><value>user_regulartt4j300149@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-03-02 14:45:50 | target: http://localhost:8088 2019-03-02 14:45:50 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2019-03-02 14:45:50 | entity: <command><fields><item><var>jid</var><value>user_regulartt4j300149@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-03-02 14:45:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Mar 2019 17:45:50 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-03-02 14:45:50 | 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_regulartt4j300149@localhost</value> </item> </fields> </command> 2019-03-02 14:45:50 | contains: true 2019-03-02 14:45:50 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-03-02 14:45:50 | command: <command><fields><item><var>jid</var><value>user_regulartt4j300149@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-03-02 14:45:50 | target: http://localhost:8088 2019-03-02 14:45:50 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2019-03-02 14:45:50 | entity: <command><fields><item><var>jid</var><value>user_regulartt4j300149@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-03-02 14:45:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Mar 2019 17:45:50 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-03-02 14:45:50 | 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_regulartt4j300149@localhost</value> </item> </fields> </command> 2019-03-02 14:45:50 | contains: true |
| testMessageFiltering | 1.378s |
2019-03-02 14:45:51 |
2019-03-02 14:45:51 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-03-02 14:45:51 | ------------------------------------ 2019-03-02 14:45:51 | [Mutex] waiting for: [msg:kld7100156] 2019-03-02 14:45:51 | [Mutex] received everything. 2019-03-02 14:45:51 | [Mutex] waiting for: [msg:mnobfz0158] 2019-03-02 14:45:51 | [Mutex] received everything. 2019-03-02 14:45:51 | [Mutex] waiting for: [msg:v1lczt0160] 2019-03-02 14:45:51 | [Mutex] received everything. 2019-03-02 14:45:51 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-03-02 14:45:51 | command: <command><fields><item><var>jid</var><value>user_regularuyfx120152@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-03-02 14:45:51 | target: http://localhost:8088 2019-03-02 14:45:51 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-03-02 14:45:51 | entity: <command><fields><item><var>jid</var><value>user_regularuyfx120152@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-03-02 14:45:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Mar 2019 17:45:51 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-03-02 14:45:51 | 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_regularuyfx120152@localhost</value> </item> </fields> </command> 2019-03-02 14:45:51 | contains: true 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.setStage: Connector (oid=2072701904) state changed: connected->disconnecting 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.terminateStream: Terminating XMPP Stream 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-03-02 14:45:51 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties! 2019-03-02 14:45:51 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties! 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.start: Start connector (oid=9126317). 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.setStage: Connector (oid=9126317) state changed: null->connecting 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.start: DNS entry stored in session object: localhost:5222 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.start: Preparing connection to [localhost:5222] 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.createSocket: Opening connection to localhost/127.0.0.1:5222 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.setStage: Connector (oid=9126317) state changed: connecting->connected 2019-03-02 14:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.start: Whitespace ping period is setted to nullms 2019-03-02 14:45:52 | [Mutex] waiting for: [msg:9e022v0162] 2019-03-02 14:45:52 | [Mutex] received everything. 2019-03-02 14:45:52 | [Mutex] waiting for: [cz94v10163:forbidden] 2019-03-02 14:45:52 | [Mutex] received everything. 2019-03-02 14:45:52 | [Mutex] isItemNotified: cz94v10163:forbidden :: true 2019-03-02 14:45:52 | [Mutex] received everything. 2019-03-02 14:45:52 | [Mutex] isItemNotified: q8cqft0165:forbidden :: true 2019-03-02 14:45:52 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-03-02 14:45:52 | command: <command><fields><item><var>jid</var><value>user_regularuyfx120152@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistvb190i0153@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-03-02 14:45:52 | target: http://localhost:8088 2019-03-02 14:45:52 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-03-02 14:45:52 | entity: <command><fields><item><var>jid</var><value>user_regularuyfx120152@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistvb190i0153@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-03-02 14:45:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Mar 2019 17:45:52 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-03-02 14:45:52 | 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_whitelistvb190i0153@localhost;4|deny|all) for user: user_regularuyfx120152@localhost</value> </item> </fields> </command> 2019-03-02 14:45:52 | contains: true 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.setStage: Connector (oid=9126317) state changed: connected->disconnecting 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.terminateStream: Terminating XMPP Stream 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.setStage: Connector (oid=9126317) state changed: disconnecting->disconnected 2019-03-02 14:45:52 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties! 2019-03-02 14:45:52 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties! 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.start: Start connector (oid=1411206559). 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.setStage: Connector (oid=1411206559) state changed: null->connecting 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.start: DNS entry stored in session object: localhost:5222 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.start: Preparing connection to [localhost:5222] 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.createSocket: Opening connection to localhost/127.0.0.1:5222 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.setStage: Connector (oid=1411206559) state changed: connecting->connected 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.start: Whitespace ping period is setted to nullms 2019-03-02 14:45:52 | [Mutex] waiting for: [msg:fa6tgb0168] 2019-03-02 14:45:52 | [Mutex] received everything. 2019-03-02 14:45:52 | [Mutex] waiting for: [msg:mukyhh0170] 2019-03-02 14:45:52 | [Mutex] received everything. 2019-03-02 14:45:52 | [Mutex] received everything. 2019-03-02 14:45:52 | [Mutex] isItemNotified: 5dc3r40171:forbidden :: true 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.setStage: Connector (oid=1411206559) state changed: connected->disconnected 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.onStreamTerminate: Stream terminated 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-03-02 14:45:52 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |