Test duration: 5.806s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.295s |
2019-11-20 20:04:43 |
2019-11-20 20:04:43 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-20 20:04:43 | ------------------------------------ 2019-11-20 20:04:43 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 20:04:43 | command: <command><fields><item><var>jid</var><value>user_regularvk5v470183@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-20 20:04:43 | target: http://localhost:8088 2019-11-20 20:04:43 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2019-11-20 20:04:43 | entity: <command><fields><item><var>jid</var><value>user_regularvk5v470183@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-20 20:04:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:04:43 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 20:04:43 | 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_regularvk5v470183@localhost</value> </item> </fields> </command> 2019-11-20 20:04:43 | contains: true 2019-11-20 20:04:43 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 20:04:43 | command: <command><fields><item><var>jid</var><value>user_regularvk5v470183@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-20 20:04:43 | target: http://localhost:8088 2019-11-20 20:04:43 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2019-11-20 20:04:43 | entity: <command><fields><item><var>jid</var><value>user_regularvk5v470183@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-20 20:04:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:04:43 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 20:04:43 | 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_regularvk5v470183@localhost</value> </item> </fields> </command> 2019-11-20 20:04:43 | contains: true |
testMessageFiltering | 1.745s |
2019-11-20 20:04:45 |
2019-11-20 20:04:45 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-20 20:04:45 | ------------------------------------ 2019-11-20 20:04:45 | [Mutex] waiting for: [msg:sof24w0190] 2019-11-20 20:04:45 | [Mutex] received everything. 2019-11-20 20:04:45 | [Mutex] waiting for: [msg:12esfc0192] 2019-11-20 20:04:45 | [Mutex] received everything. 2019-11-20 20:04:45 | [Mutex] waiting for: [msg:cmtnhg0194] 2019-11-20 20:04:45 | [Mutex] received everything. 2019-11-20 20:04:45 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 20:04:45 | command: <command><fields><item><var>jid</var><value>user_regularwylil60186@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-20 20:04:45 | target: http://localhost:8088 2019-11-20 20:04:45 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-11-20 20:04:45 | entity: <command><fields><item><var>jid</var><value>user_regularwylil60186@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-20 20:04:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:04:45 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 20:04:45 | 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_regularwylil60186@localhost</value> </item> </fields> </command> 2019-11-20 20:04:45 | contains: true 2019-11-20 20:04:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=460 thread=1] Connector state changed: connected->disconnecting 2019-11-20 20:04:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=460 thread=1] Terminating XMPP Stream 2019-11-20 20:04:45 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-20 20:04:45 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-20 20:04:45 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-20 20:04:46 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Connector state changed: null->connecting 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] DNS entry stored in session object: localhost:5222 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Preparing connection to [localhost:5222] 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Connector state changed: connecting->connected 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Whitespace ping period is setted to nullms 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=2936] Proceeding TLS 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=2936] Start handshake 2019-11-20 20:04:46 | [Mutex] waiting for: [msg:3yhrzh0196] 2019-11-20 20:04:46 | [Mutex] received everything. 2019-11-20 20:04:46 | [Mutex] waiting for: [w1rg5b0197:forbidden] 2019-11-20 20:04:46 | [Mutex] received everything. 2019-11-20 20:04:46 | [Mutex] isItemNotified: w1rg5b0197:forbidden :: true 2019-11-20 20:04:46 | [Mutex] waiting for: [qcatiz0199:forbidden] 2019-11-20 20:04:46 | [Mutex] received everything. 2019-11-20 20:04:46 | [Mutex] isItemNotified: qcatiz0199:forbidden :: true 2019-11-20 20:04:46 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 20:04:46 | command: <command><fields><item><var>jid</var><value>user_regularwylil60186@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistfx0r700187@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-20 20:04:46 | target: http://localhost:8088 2019-11-20 20:04:46 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-11-20 20:04:46 | entity: <command><fields><item><var>jid</var><value>user_regularwylil60186@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistfx0r700187@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-20 20:04:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:04:46 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 20:04:46 | 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_whitelistfx0r700187@localhost;4|deny|all) for user: user_regularwylil60186@localhost</value> </item> </fields> </command> 2019-11-20 20:04:46 | contains: true 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Connector state changed: connected->disconnecting 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Terminating XMPP Stream 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=2936] Connector state changed: disconnecting->disconnected 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=2936] Stream terminated 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-20 20:04:46 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-20 20:04:46 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-20 20:04:46 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-20 20:04:47 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] Connector state changed: null->connecting 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] DNS entry stored in session object: localhost:5222 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] Preparing connection to [localhost:5222] 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] Connector state changed: connecting->connected 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] Whitespace ping period is setted to nullms 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=2942] Proceeding TLS 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=2942] Start handshake 2019-11-20 20:04:47 | [Mutex] waiting for: [msg:9pa0ix0202] 2019-11-20 20:04:47 | [Mutex] received everything. 2019-11-20 20:04:47 | [Mutex] waiting for: [msg:uus28d0204] 2019-11-20 20:04:47 | [Mutex] received everything. 2019-11-20 20:04:47 | [Mutex] waiting for: [56h96g0205:forbidden] 2019-11-20 20:04:47 | [Mutex] received everything. 2019-11-20 20:04:47 | [Mutex] isItemNotified: 56h96g0205:forbidden :: true 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=2942] Connector state changed: connected->disconnected 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=2942] Stream terminated 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-20 20:04:47 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |