Test duration: 6.185s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.441s |
2020-06-22 00:15:53 |
2020-06-22 00:15:53 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-06-22 00:15:53 | ------------------------------------ 2020-06-22 00:15:53 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-22 00:15:53 | command: <command><fields><item><var>jid</var><value>user_regularn6wow0217@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-22 00:15:53 | target: http://localhost:8088 2020-06-22 00:15:53 | entity: [Content-Type: application/xml,Content-Length: 300,Chunked: false] 2020-06-22 00:15:53 | entity: <command><fields><item><var>jid</var><value>user_regularn6wow0217@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-22 00:15:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Jun 2020 07:15:53 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-22 00:15:53 | 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_regularn6wow0217@localhost</value> </item> </fields> </command> 2020-06-22 00:15:53 | contains: true 2020-06-22 00:15:53 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-22 00:15:53 | command: <command><fields><item><var>jid</var><value>user_regularn6wow0217@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-22 00:15:53 | target: http://localhost:8088 2020-06-22 00:15:53 | entity: [Content-Type: application/xml,Content-Length: 260,Chunked: false] 2020-06-22 00:15:53 | entity: <command><fields><item><var>jid</var><value>user_regularn6wow0217@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-22 00:15:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Jun 2020 07:15:53 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-22 00:15:53 | 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_regularn6wow0217@localhost</value> </item> </fields> </command> 2020-06-22 00:15:53 | contains: true |
testMessageFiltering | 1.745s |
2020-06-22 00:15:55 |
2020-06-22 00:15:55 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-06-22 00:15:55 | ------------------------------------ 2020-06-22 00:15:55 | [Mutex] waiting for: [msg:am6tyu0224] 2020-06-22 00:15:55 | [Mutex] received everything. 2020-06-22 00:15:55 | [Mutex] waiting for: [msg:p6gwfk0226] 2020-06-22 00:15:55 | [Mutex] received everything. 2020-06-22 00:15:55 | [Mutex] waiting for: [msg:f6qzlk0228] 2020-06-22 00:15:55 | [Mutex] received everything. 2020-06-22 00:15:55 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-22 00:15:55 | command: <command><fields><item><var>jid</var><value>user_regularnkfs7y0220@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-22 00:15:55 | target: http://localhost:8088 2020-06-22 00:15:55 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2020-06-22 00:15:55 | entity: <command><fields><item><var>jid</var><value>user_regularnkfs7y0220@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-22 00:15:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Jun 2020 07:15:55 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-22 00:15:55 | 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_regularnkfs7y0220@localhost</value> </item> </fields> </command> 2020-06-22 00:15:55 | contains: true 2020-06-22 00:15:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=519 thread=1] Connector state changed: connected->disconnecting 2020-06-22 00:15:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=519 thread=1] Terminating XMPP Stream 2020-06-22 00:15:55 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-22 00:15:55 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2020-06-22 00:15:55 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2020-06-22 00:15:56 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: null->connecting 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] DNS entry stored in session object: localhost:5222 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Preparing connection to [localhost:5222] 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: connecting->connected 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Whitespace ping period is setted to nullms 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3313] Proceeding TLS 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3313] Start handshake 2020-06-22 00:15:56 | [Mutex] waiting for: [msg:qjl2550230] 2020-06-22 00:15:56 | [Mutex] received everything. 2020-06-22 00:15:56 | [Mutex] waiting for: [9rjwd10231:forbidden] 2020-06-22 00:15:56 | [Mutex] received everything. 2020-06-22 00:15:56 | [Mutex] isItemNotified: 9rjwd10231:forbidden :: true 2020-06-22 00:15:56 | [Mutex] waiting for: [kw3lff0233:forbidden] 2020-06-22 00:15:56 | [Mutex] received everything. 2020-06-22 00:15:56 | [Mutex] isItemNotified: kw3lff0233:forbidden :: true 2020-06-22 00:15:56 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-22 00:15:56 | command: <command><fields><item><var>jid</var><value>user_regularnkfs7y0220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelist3n6ar0221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-22 00:15:56 | target: http://localhost:8088 2020-06-22 00:15:56 | entity: [Content-Type: application/xml,Content-Length: 328,Chunked: false] 2020-06-22 00:15:56 | entity: <command><fields><item><var>jid</var><value>user_regularnkfs7y0220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelist3n6ar0221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-22 00:15:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Jun 2020 07:15:56 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-22 00:15: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;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelist3n6ar0221@localhost;4|deny|all) for user: user_regularnkfs7y0220@localhost</value> </item> </fields> </command> 2020-06-22 00:15:56 | contains: true 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: connected->disconnecting 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Terminating XMPP Stream 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3313] Connector state changed: disconnecting->disconnected 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3313] Stream terminated 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-22 00:15:56 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2020-06-22 00:15:56 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-22 00:15:56 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-22 00:15:57 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Connector state changed: null->connecting 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] DNS entry stored in session object: localhost:5222 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Preparing connection to [localhost:5222] 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Connector state changed: connecting->connected 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Whitespace ping period is setted to nullms 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3319] Proceeding TLS 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3319] Start handshake 2020-06-22 00:15:57 | [Mutex] waiting for: [msg:l56lhx0236] 2020-06-22 00:15:57 | [Mutex] received everything. 2020-06-22 00:15:57 | [Mutex] waiting for: [msg:jy54850238] 2020-06-22 00:15:57 | [Mutex] received everything. 2020-06-22 00:15:57 | [Mutex] waiting for: [d2alt60239:forbidden] 2020-06-22 00:15:57 | [Mutex] received everything. 2020-06-22 00:15:57 | [Mutex] isItemNotified: d2alt60239:forbidden :: true 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3319] Connector state changed: connected->disconnected 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3319] Stream terminated 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-06-22 00:15:57 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |