Test duration: 5.449s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.229s |
2020-06-02 13:44:00 |
2020-06-02 13:44:00 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-06-02 13:44:00 | ------------------------------------ 2020-06-02 13:44:00 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-02 13:44:00 | command: <command><fields><item><var>jid</var><value>user_regulartslhij0217@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> 2020-06-02 13:44:00 | target: http://localhost:8088 2020-06-02 13:44:00 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2020-06-02 13:44:00 | entity: <command><fields><item><var>jid</var><value>user_regulartslhij0217@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> 2020-06-02 13:44:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 20:44:00 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-02 13:44:00 | 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_regulartslhij0217@localhost</value> </item> </fields> </command> 2020-06-02 13:44:00 | contains: true 2020-06-02 13:44:00 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-02 13:44:00 | command: <command><fields><item><var>jid</var><value>user_regulartslhij0217@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> 2020-06-02 13:44:00 | target: http://localhost:8088 2020-06-02 13:44:00 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2020-06-02 13:44:00 | entity: <command><fields><item><var>jid</var><value>user_regulartslhij0217@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> 2020-06-02 13:44:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 20:44:00 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-02 13:44:00 | 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_regulartslhij0217@localhost</value> </item> </fields> </command> 2020-06-02 13:44:00 | contains: true |
testMessageFiltering | 1.739s |
2020-06-02 13:44:02 |
2020-06-02 13:44:02 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-06-02 13:44:02 | ------------------------------------ 2020-06-02 13:44:02 | [Mutex] waiting for: [msg:tvdlit0224] 2020-06-02 13:44:02 | [Mutex] received everything. 2020-06-02 13:44:02 | [Mutex] waiting for: [msg:8u2znc0226] 2020-06-02 13:44:02 | [Mutex] received everything. 2020-06-02 13:44:02 | [Mutex] waiting for: [msg:vxsso80228] 2020-06-02 13:44:02 | [Mutex] received everything. 2020-06-02 13:44:02 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-02 13:44:02 | command: <command><fields><item><var>jid</var><value>user_regular6r7uni0220@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> 2020-06-02 13:44:02 | target: http://localhost:8088 2020-06-02 13:44:02 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2020-06-02 13:44:02 | entity: <command><fields><item><var>jid</var><value>user_regular6r7uni0220@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> 2020-06-02 13:44:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 20:44:02 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-02 13:44:02 | 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_regular6r7uni0220@localhost</value> </item> </fields> </command> 2020-06-02 13:44:02 | contains: true 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=519 thread=1] Connector state changed: connected->disconnecting 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=519 thread=1] Terminating XMPP Stream 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-02 13:44:02 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2020-06-02 13:44:02 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2020-06-02 13:44:02 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: null->connecting 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] DNS entry stored in session object: localhost:5222 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Preparing connection to [localhost:5222] 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: connecting->connected 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Whitespace ping period is setted to nullms 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3311] Proceeding TLS 2020-06-02 13:44:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3311] Start handshake 2020-06-02 13:44:02 | [Mutex] waiting for: [msg:ojk06g0230] 2020-06-02 13:44:02 | [Mutex] received everything. 2020-06-02 13:44:02 | [Mutex] received everything. 2020-06-02 13:44:02 | [Mutex] isItemNotified: 4x1h2t0231:forbidden :: true 2020-06-02 13:44:02 | [Mutex] waiting for: [lqmcr10233:forbidden] 2020-06-02 13:44:03 | [Mutex] received everything. 2020-06-02 13:44:03 | [Mutex] isItemNotified: lqmcr10233:forbidden :: true 2020-06-02 13:44:03 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-02 13:44:03 | command: <command><fields><item><var>jid</var><value>user_regular6r7uni0220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistu51c130221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-02 13:44:03 | target: http://localhost:8088 2020-06-02 13:44:03 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2020-06-02 13:44:03 | entity: <command><fields><item><var>jid</var><value>user_regular6r7uni0220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistu51c130221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-02 13:44:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 20:44:03 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-02 13:44: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;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistu51c130221@localhost;4|deny|all) for user: user_regular6r7uni0220@localhost</value> </item> </fields> </command> 2020-06-02 13:44:03 | contains: true 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: connected->disconnecting 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Terminating XMPP Stream 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3311] Connector state changed: disconnecting->disconnected 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3311] Stream terminated 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-02 13:44:03 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2020-06-02 13:44:03 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-02 13:44:03 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Connector state changed: null->connecting 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] DNS entry stored in session object: localhost:5222 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Preparing connection to [localhost:5222] 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Connector state changed: connecting->connected 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Whitespace ping period is setted to nullms 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3317] Proceeding TLS 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3317] Start handshake 2020-06-02 13:44:03 | [Mutex] waiting for: [msg:nx8fdj0236] 2020-06-02 13:44:03 | [Mutex] received everything. 2020-06-02 13:44:03 | [Mutex] waiting for: [msg:210pka0238] 2020-06-02 13:44:03 | [Mutex] received everything. 2020-06-02 13:44:03 | [Mutex] waiting for: [kxbfe60239:forbidden] 2020-06-02 13:44:03 | [Mutex] received everything. 2020-06-02 13:44:03 | [Mutex] isItemNotified: kxbfe60239:forbidden :: true 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3317] Connector state changed: connected->disconnected 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3317] Stream terminated 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-02 13:44:03 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |