Test duration: 5.634s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.219s |
2020-05-19 17:44:43 |
2020-05-19 17:44:43 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-05-19 17:44:43 | ------------------------------------ 2020-05-19 17:44:43 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-05-19 17:44:43 | command: <command><fields><item><var>jid</var><value>user_regularzao2z0217@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-05-19 17:44:43 | target: http://localhost:8088 2020-05-19 17:44:43 | entity: [Content-Type: application/xml,Content-Length: 300,Chunked: false] 2020-05-19 17:44:43 | entity: <command><fields><item><var>jid</var><value>user_regularzao2z0217@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-05-19 17:44:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 May 2020 00:44:43 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-05-19 17:44: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_regularzao2z0217@localhost</value> </item> </fields> </command> 2020-05-19 17:44:43 | contains: true 2020-05-19 17:44:43 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-05-19 17:44:43 | command: <command><fields><item><var>jid</var><value>user_regularzao2z0217@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-05-19 17:44:43 | target: http://localhost:8088 2020-05-19 17:44:43 | entity: [Content-Type: application/xml,Content-Length: 260,Chunked: false] 2020-05-19 17:44:43 | entity: <command><fields><item><var>jid</var><value>user_regularzao2z0217@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-05-19 17:44:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 May 2020 00:44:43 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-05-19 17:44: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_regularzao2z0217@localhost</value> </item> </fields> </command> 2020-05-19 17:44:43 | contains: true |
testMessageFiltering | 1.777s |
2020-05-19 17:44:45 |
2020-05-19 17:44:45 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-05-19 17:44:45 | ------------------------------------ 2020-05-19 17:44:45 | [Mutex] waiting for: [msg:5s96dd0224] 2020-05-19 17:44:45 | [Mutex] received everything. 2020-05-19 17:44:45 | [Mutex] waiting for: [msg:lrikcu0226] 2020-05-19 17:44:45 | [Mutex] received everything. 2020-05-19 17:44:45 | [Mutex] waiting for: [msg:30rmu40228] 2020-05-19 17:44:45 | [Mutex] received everything. 2020-05-19 17:44:45 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-05-19 17:44:45 | command: <command><fields><item><var>jid</var><value>user_regular3bfi190220@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-05-19 17:44:45 | target: http://localhost:8088 2020-05-19 17:44:45 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2020-05-19 17:44:45 | entity: <command><fields><item><var>jid</var><value>user_regular3bfi190220@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-05-19 17:44:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 May 2020 00:44:45 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-05-19 17:44: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_regular3bfi190220@localhost</value> </item> </fields> </command> 2020-05-19 17:44:45 | contains: true 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=519 thread=1] Connector state changed: connected->disconnecting 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=519 thread=1] Terminating XMPP Stream 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-05-19 17:44:45 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2020-05-19 17:44:45 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2020-05-19 17:44:45 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: null->connecting 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] DNS entry stored in session object: localhost:5222 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Preparing connection to [localhost:5222] 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: connecting->connected 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Whitespace ping period is setted to nullms 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3315] Proceeding TLS 2020-05-19 17:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3315] Start handshake 2020-05-19 17:44:45 | [Mutex] waiting for: [msg:w737s80230] 2020-05-19 17:44:45 | [Mutex] received everything. 2020-05-19 17:44:45 | [Mutex] waiting for: [pp4wqp0231:forbidden] 2020-05-19 17:44:45 | [Mutex] received everything. 2020-05-19 17:44:45 | [Mutex] isItemNotified: pp4wqp0231:forbidden :: true 2020-05-19 17:44:45 | [Mutex] waiting for: [4l02z60233:forbidden] 2020-05-19 17:44:45 | [Mutex] received everything. 2020-05-19 17:44:45 | [Mutex] isItemNotified: 4l02z60233:forbidden :: true 2020-05-19 17:44:45 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-05-19 17:44:45 | command: <command><fields><item><var>jid</var><value>user_regular3bfi190220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistt3o0020221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-05-19 17:44:45 | target: http://localhost:8088 2020-05-19 17:44:45 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2020-05-19 17:44:45 | entity: <command><fields><item><var>jid</var><value>user_regular3bfi190220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistt3o0020221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-05-19 17:44:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 May 2020 00:44:46 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-05-19 17:44: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_whitelistt3o0020221@localhost;4|deny|all) for user: user_regular3bfi190220@localhost</value> </item> </fields> </command> 2020-05-19 17:44:46 | contains: true 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Connector state changed: connected->disconnecting 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=1] Terminating XMPP Stream 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=524 thread=3315] Connector state changed: disconnecting->disconnected 2020-05-19 17:44:46 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2020-05-19 17:44:46 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2020-05-19 17:44:46 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Connector state changed: null->connecting 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] DNS entry stored in session object: localhost:5222 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Preparing connection to [localhost:5222] 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Connector state changed: connecting->connected 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=1] Whitespace ping period is setted to nullms 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3320] Proceeding TLS 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3320] Start handshake 2020-05-19 17:44:46 | [Mutex] waiting for: [msg:v4l1x70236] 2020-05-19 17:44:46 | [Mutex] received everything. 2020-05-19 17:44:46 | [Mutex] waiting for: [msg:hynp3y0238] 2020-05-19 17:44:46 | [Mutex] received everything. 2020-05-19 17:44:46 | [Mutex] waiting for: [y7mpav0239:forbidden] 2020-05-19 17:44:46 | [Mutex] received everything. 2020-05-19 17:44:46 | [Mutex] isItemNotified: y7mpav0239:forbidden :: true 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3320] Connector state changed: connected->disconnected 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=525 thread=3320] Stream terminated 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2020-05-19 17:44:46 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |