Test duration: 4.842s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.384s |
2019-11-20 19:04:20 |
2019-11-20 19:04:20 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-20 19:04:20 | ------------------------------------ 2019-11-20 19:04:20 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 19:04:20 | command: <command><fields><item><var>jid</var><value>user_regularvtjf80183@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 19:04:20 | target: http://localhost:8088 2019-11-20 19:04:20 | entity: [Content-Type: application/xml,Content-Length: 300,Chunked: false] 2019-11-20 19:04:20 | entity: <command><fields><item><var>jid</var><value>user_regularvtjf80183@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 19:04:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 03:04:21 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 19:04:21 | 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_regularvtjf80183@localhost</value> </item> </fields> </command> 2019-11-20 19:04:21 | contains: true 2019-11-20 19:04:21 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 19:04:21 | command: <command><fields><item><var>jid</var><value>user_regularvtjf80183@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 19:04:21 | target: http://localhost:8088 2019-11-20 19:04:21 | entity: [Content-Type: application/xml,Content-Length: 260,Chunked: false] 2019-11-20 19:04:21 | entity: <command><fields><item><var>jid</var><value>user_regularvtjf80183@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 19:04:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 03:04:21 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 19:04:21 | 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_regularvtjf80183@localhost</value> </item> </fields> </command> 2019-11-20 19:04:21 | contains: true |
testMessageFiltering | 1.660s |
2019-11-20 19:04:22 |
2019-11-20 19:04:22 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-20 19:04:22 | ------------------------------------ 2019-11-20 19:04:22 | [Mutex] waiting for: [msg:84rvzt0190] 2019-11-20 19:04:22 | [Mutex] received everything. 2019-11-20 19:04:22 | [Mutex] waiting for: [msg:mwveyd0192] 2019-11-20 19:04:22 | [Mutex] received everything. 2019-11-20 19:04:22 | [Mutex] waiting for: [msg:b3wdok0194] 2019-11-20 19:04:22 | [Mutex] received everything. 2019-11-20 19:04:22 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 19:04:22 | command: <command><fields><item><var>jid</var><value>user_regularjo9f520186@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 19:04:22 | target: http://localhost:8088 2019-11-20 19:04:22 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-11-20 19:04:22 | entity: <command><fields><item><var>jid</var><value>user_regularjo9f520186@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 19:04:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 03:04:22 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 19:04:22 | 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_regularjo9f520186@localhost</value> </item> </fields> </command> 2019-11-20 19:04:22 | contains: true 2019-11-20 19:04:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=460 thread=1] Connector state changed: connected->disconnecting 2019-11-20 19:04:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=460 thread=1] Terminating XMPP Stream 2019-11-20 19:04:22 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-20 19:04:22 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-20 19:04:22 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-20 19:04:23 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Connector state changed: null->connecting 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] DNS entry stored in session object: localhost:5222 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Preparing connection to [localhost:5222] 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Connector state changed: connecting->connected 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Whitespace ping period is setted to nullms 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=2937] Proceeding TLS 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=2937] Start handshake 2019-11-20 19:04:23 | [Mutex] waiting for: [msg:q1kze40196] 2019-11-20 19:04:23 | [Mutex] received everything. 2019-11-20 19:04:23 | [Mutex] waiting for: [g1is4t0197:forbidden] 2019-11-20 19:04:23 | [Mutex] received everything. 2019-11-20 19:04:23 | [Mutex] isItemNotified: g1is4t0197:forbidden :: true 2019-11-20 19:04:23 | [Mutex] waiting for: [p73dlh0199:forbidden] 2019-11-20 19:04:23 | [Mutex] received everything. 2019-11-20 19:04:23 | [Mutex] isItemNotified: p73dlh0199:forbidden :: true 2019-11-20 19:04:23 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 19:04:23 | command: <command><fields><item><var>jid</var><value>user_regularjo9f520186@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistbupnq00187@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-20 19:04:23 | target: http://localhost:8088 2019-11-20 19:04:23 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-11-20 19:04:23 | entity: <command><fields><item><var>jid</var><value>user_regularjo9f520186@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistbupnq00187@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-20 19:04:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 03:04:23 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 19:04:23 | 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_whitelistbupnq00187@localhost;4|deny|all) for user: user_regularjo9f520186@localhost</value> </item> </fields> </command> 2019-11-20 19:04:23 | contains: true 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Connector state changed: connected->disconnecting 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=1] Terminating XMPP Stream 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=2937] Connector state changed: disconnecting->disconnected 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=465 thread=2937] Stream terminated 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-20 19:04:23 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-20 19:04:23 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-20 19:04:23 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] Connector state changed: null->connecting 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] DNS entry stored in session object: localhost:5222 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] Preparing connection to [localhost:5222] 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] Connector state changed: connecting->connected 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=1] Whitespace ping period is setted to nullms 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=2943] Proceeding TLS 2019-11-20 19:04:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=2943] Start handshake 2019-11-20 19:04:24 | [Mutex] waiting for: [msg:n933q50202] 2019-11-20 19:04:24 | [Mutex] received everything. 2019-11-20 19:04:24 | [Mutex] waiting for: [msg:nbc0350204] 2019-11-20 19:04:24 | [Mutex] received everything. 2019-11-20 19:04:24 | [Mutex] waiting for: [kqpu050205:forbidden] 2019-11-20 19:04:24 | [Mutex] received everything. 2019-11-20 19:04:24 | [Mutex] isItemNotified: kqpu050205:forbidden :: true 2019-11-20 19:04:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=2943] Connector state changed: connected->disconnected 2019-11-20 19:04:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=466 thread=2943] Stream terminated 2019-11-20 19:04:24 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-20 19:04:24 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |