Test duration: 5.856s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.257s |
2020-06-18 23:56:10 |
2020-06-18 23:56:10 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-06-18 23:56:10 | ------------------------------------ 2020-06-18 23:56:10 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-18 23:56:10 | command: <command><fields><item><var>jid</var><value>user_regularu3jatg0217@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-18 23:56:10 | target: http://localhost:8088 2020-06-18 23:56:10 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2020-06-18 23:56:10 | entity: <command><fields><item><var>jid</var><value>user_regularu3jatg0217@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-18 23:56:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 06:56:10 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-18 23:56:10 | 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_regularu3jatg0217@localhost</value> </item> </fields> </command> 2020-06-18 23:56:10 | contains: true 2020-06-18 23:56:10 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-18 23:56:10 | command: <command><fields><item><var>jid</var><value>user_regularu3jatg0217@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-18 23:56:10 | target: http://localhost:8088 2020-06-18 23:56:10 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2020-06-18 23:56:10 | entity: <command><fields><item><var>jid</var><value>user_regularu3jatg0217@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-18 23:56:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 06:56:10 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-18 23:56:10 | 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_regularu3jatg0217@localhost</value> </item> </fields> </command> 2020-06-18 23:56:10 | contains: true |
testMessageFiltering | 1.667s |
2020-06-18 23:56:12 |
2020-06-18 23:56:12 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-06-18 23:56:12 | ------------------------------------ 2020-06-18 23:56:12 | [Mutex] waiting for: [msg:ski0fm0224] 2020-06-18 23:56:12 | [Mutex] received everything. 2020-06-18 23:56:12 | [Mutex] waiting for: [msg:lql5be0226] 2020-06-18 23:56:12 | [Mutex] received everything. 2020-06-18 23:56:12 | [Mutex] waiting for: [msg:691to0228] 2020-06-18 23:56:12 | [Mutex] received everything. 2020-06-18 23:56:12 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-18 23:56:12 | command: <command><fields><item><var>jid</var><value>user_regulartol77p0220@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-18 23:56:12 | target: http://localhost:8088 2020-06-18 23:56:12 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2020-06-18 23:56:12 | entity: <command><fields><item><var>jid</var><value>user_regulartol77p0220@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-18 23:56:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 06:56:12 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-18 23:56:12 | 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_regulartol77p0220@localhost</value> </item> </fields> </command> 2020-06-18 23:56:12 | contains: true 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=519 thread=1] Connector state changed: connected->disconnecting 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=519 thread=1] Terminating XMPP Stream 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-18 23:56:12 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2020-06-18 23:56:12 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2020-06-18 23:56:12 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: null->connecting 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] DNS entry stored in session object: localhost:5222 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Preparing connection to [localhost:5222] 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: connecting->connected 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Whitespace ping period is setted to nullms 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3317] Proceeding TLS 2020-06-18 23:56:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3317] Start handshake 2020-06-18 23:56:13 | [Mutex] waiting for: [msg:x3xfhc0230] 2020-06-18 23:56:13 | [Mutex] received everything. 2020-06-18 23:56:13 | [Mutex] waiting for: [pu5fs50231:forbidden] 2020-06-18 23:56:13 | [Mutex] received everything. 2020-06-18 23:56:13 | [Mutex] isItemNotified: pu5fs50231:forbidden :: true 2020-06-18 23:56:13 | [Mutex] waiting for: [adqlmb0233:forbidden] 2020-06-18 23:56:13 | [Mutex] received everything. 2020-06-18 23:56:13 | [Mutex] isItemNotified: adqlmb0233:forbidden :: true 2020-06-18 23:56:13 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-18 23:56:13 | command: <command><fields><item><var>jid</var><value>user_regulartol77p0220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistd7xyvx0221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-18 23:56:13 | target: http://localhost:8088 2020-06-18 23:56:13 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2020-06-18 23:56:13 | entity: <command><fields><item><var>jid</var><value>user_regulartol77p0220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistd7xyvx0221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-18 23:56:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 06:56:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-18 23:56:13 | 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_whitelistd7xyvx0221@localhost;4|deny|all) for user: user_regulartol77p0220@localhost</value> </item> </fields> </command> 2020-06-18 23:56:13 | contains: true 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: connected->disconnecting 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Terminating XMPP Stream 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3317] Connector state changed: disconnecting->disconnected 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3317] Stream terminated 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-18 23:56:13 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2020-06-18 23:56:13 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-18 23:56:13 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Connector state changed: null->connecting 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] DNS entry stored in session object: localhost:5222 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Preparing connection to [localhost:5222] 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Connector state changed: connecting->connected 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Whitespace ping period is setted to nullms 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3323] Proceeding TLS 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3323] Start handshake 2020-06-18 23:56:13 | [Mutex] waiting for: [msg:dp2rgx0236] 2020-06-18 23:56:13 | [Mutex] received everything. 2020-06-18 23:56:13 | [Mutex] waiting for: [msg:ak6gx50238] 2020-06-18 23:56:13 | [Mutex] received everything. 2020-06-18 23:56:13 | [Mutex] waiting for: [tjlz6p0239:forbidden] 2020-06-18 23:56:13 | [Mutex] received everything. 2020-06-18 23:56:13 | [Mutex] isItemNotified: tjlz6p0239:forbidden :: true 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3323] Connector state changed: connected->disconnected 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3323] Stream terminated 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-18 23:56:13 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |