Test duration: 5.342s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.257s |
2019-11-22 20:43:56 |
2019-11-22 20:43:56 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-22 20:43:56 | ------------------------------------ 2019-11-22 20:43:56 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-22 20:43:56 | command: <command><fields><item><var>jid</var><value>user_regularmnrwn90195@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-22 20:43:56 | target: http://localhost:8088 2019-11-22 20:43:56 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2019-11-22 20:43:56 | entity: <command><fields><item><var>jid</var><value>user_regularmnrwn90195@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-22 20:43:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Nov 2019 04:43:56 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-22 20:43:56 | 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_regularmnrwn90195@localhost</value> </item> </fields> </command> 2019-11-22 20:43:56 | contains: true 2019-11-22 20:43:56 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-22 20:43:56 | command: <command><fields><item><var>jid</var><value>user_regularmnrwn90195@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-22 20:43:56 | target: http://localhost:8088 2019-11-22 20:43:56 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2019-11-22 20:43:56 | entity: <command><fields><item><var>jid</var><value>user_regularmnrwn90195@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-22 20:43:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Nov 2019 04:43:56 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-22 20:43:56 | 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_regularmnrwn90195@localhost</value> </item> </fields> </command> 2019-11-22 20:43:56 | contains: true |
testMessageFiltering | 1.650s |
2019-11-22 20:43:58 |
2019-11-22 20:43:58 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-22 20:43:58 | ------------------------------------ 2019-11-22 20:43:58 | [Mutex] waiting for: [msg:qag3mu0202] 2019-11-22 20:43:58 | [Mutex] received everything. 2019-11-22 20:43:58 | [Mutex] waiting for: [msg:5ra7wp0204] 2019-11-22 20:43:58 | [Mutex] received everything. 2019-11-22 20:43:58 | [Mutex] waiting for: [msg:92j8b10206] 2019-11-22 20:43:58 | [Mutex] received everything. 2019-11-22 20:43:58 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-22 20:43:58 | command: <command><fields><item><var>jid</var><value>user_regular1ln0iu0198@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-22 20:43:58 | target: http://localhost:8088 2019-11-22 20:43:58 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-11-22 20:43:58 | entity: <command><fields><item><var>jid</var><value>user_regular1ln0iu0198@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-22 20:43:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Nov 2019 04:43:58 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-22 20:43:58 | 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_regular1ln0iu0198@localhost</value> </item> </fields> </command> 2019-11-22 20:43:58 | contains: true 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=484 thread=1] Connector state changed: connected->disconnecting 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=484 thread=1] Terminating XMPP Stream 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-22 20:43:58 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-22 20:43:58 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-22 20:43:58 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Connector state changed: null->connecting 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] DNS entry stored in session object: localhost:5222 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Preparing connection to [localhost:5222] 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Connector state changed: connecting->connected 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Whitespace ping period is setted to nullms 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3092] Proceeding TLS 2019-11-22 20:43:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3092] Start handshake 2019-11-22 20:43:59 | [Mutex] waiting for: [msg:uw78bk0208] 2019-11-22 20:43:59 | [Mutex] received everything. 2019-11-22 20:43:59 | [Mutex] received everything. 2019-11-22 20:43:59 | [Mutex] isItemNotified: 9qn73k0209:forbidden :: true 2019-11-22 20:43:59 | [Mutex] waiting for: [2kg86t0211:forbidden] 2019-11-22 20:43:59 | [Mutex] received everything. 2019-11-22 20:43:59 | [Mutex] isItemNotified: 2kg86t0211:forbidden :: true 2019-11-22 20:43:59 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-22 20:43:59 | command: <command><fields><item><var>jid</var><value>user_regular1ln0iu0198@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistgavbrb0199@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-22 20:43:59 | target: http://localhost:8088 2019-11-22 20:43:59 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-11-22 20:43:59 | entity: <command><fields><item><var>jid</var><value>user_regular1ln0iu0198@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistgavbrb0199@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-22 20:43:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Nov 2019 04:43:59 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-22 20:43:59 | 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_whitelistgavbrb0199@localhost;4|deny|all) for user: user_regular1ln0iu0198@localhost</value> </item> </fields> </command> 2019-11-22 20:43:59 | contains: true 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Connector state changed: connected->disconnecting 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Terminating XMPP Stream 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3092] Connector state changed: disconnecting->disconnected 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3092] Stream terminated 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-22 20:43:59 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-22 20:43:59 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-22 20:43:59 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Connector state changed: null->connecting 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] DNS entry stored in session object: localhost:5222 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Preparing connection to [localhost:5222] 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Connector state changed: connecting->connected 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Whitespace ping period is setted to nullms 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=3098] Proceeding TLS 2019-11-22 20:43:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=3098] Start handshake 2019-11-22 20:43:59 | [Mutex] waiting for: [msg:qou49z0214] 2019-11-22 20:43:59 | [Mutex] received everything. 2019-11-22 20:43:59 | [Mutex] waiting for: [msg:pui3jk0216] 2019-11-22 20:44:00 | [Mutex] received everything. 2019-11-22 20:44:00 | [Mutex] waiting for: [k7gau30217:forbidden] 2019-11-22 20:44:00 | [Mutex] received everything. 2019-11-22 20:44:00 | [Mutex] isItemNotified: k7gau30217:forbidden :: true 2019-11-22 20:44:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=3098] Connector state changed: connected->disconnected 2019-11-22 20:44:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=3098] Stream terminated 2019-11-22 20:44:00 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-22 20:44:00 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |