Test duration: 5.035s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.379s |
2019-11-24 18:44:30 |
2019-11-24 18:44:30 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-24 18:44:30 | ------------------------------------ 2019-11-24 18:44:30 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-24 18:44:30 | command: <command><fields><item><var>jid</var><value>user_regularsd3si80193@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-24 18:44:30 | target: http://localhost:8088 2019-11-24 18:44:30 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2019-11-24 18:44:30 | entity: <command><fields><item><var>jid</var><value>user_regularsd3si80193@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-24 18:44:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Nov 2019 02:44:30 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-24 18:44:30 | 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_regularsd3si80193@localhost</value> </item> </fields> </command> 2019-11-24 18:44:30 | contains: true 2019-11-24 18:44:30 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-24 18:44:30 | command: <command><fields><item><var>jid</var><value>user_regularsd3si80193@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-24 18:44:30 | target: http://localhost:8088 2019-11-24 18:44:30 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2019-11-24 18:44:30 | entity: <command><fields><item><var>jid</var><value>user_regularsd3si80193@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-24 18:44:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Nov 2019 02:44:30 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-24 18:44:30 | 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_regularsd3si80193@localhost</value> </item> </fields> </command> 2019-11-24 18:44:30 | contains: true |
testMessageFiltering | 1.656s |
2019-11-24 18:44:32 |
2019-11-24 18:44:32 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-24 18:44:32 | ------------------------------------ 2019-11-24 18:44:32 | [Mutex] waiting for: [msg:rvjgem0200] 2019-11-24 18:44:32 | [Mutex] received everything. 2019-11-24 18:44:32 | [Mutex] waiting for: [msg:ra0e4f0202] 2019-11-24 18:44:32 | [Mutex] received everything. 2019-11-24 18:44:32 | [Mutex] waiting for: [msg:npcyos0204] 2019-11-24 18:44:32 | [Mutex] received everything. 2019-11-24 18:44:32 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-24 18:44:32 | command: <command><fields><item><var>jid</var><value>user_regular1l1lg00196@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-24 18:44:32 | target: http://localhost:8088 2019-11-24 18:44:32 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-11-24 18:44:32 | entity: <command><fields><item><var>jid</var><value>user_regular1l1lg00196@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-24 18:44:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Nov 2019 02:44:32 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-24 18:44:32 | 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_regular1l1lg00196@localhost</value> </item> </fields> </command> 2019-11-24 18:44:32 | contains: true 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=483 thread=1] Connector state changed: connected->disconnecting 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=483 thread=1] Terminating XMPP Stream 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-24 18:44:32 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-24 18:44:32 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-24 18:44:32 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Connector state changed: null->connecting 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] DNS entry stored in session object: localhost:5222 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Preparing connection to [localhost:5222] 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Connector state changed: connecting->connected 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Whitespace ping period is setted to nullms 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=3092] Proceeding TLS 2019-11-24 18:44:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=3092] Start handshake 2019-11-24 18:44:33 | [Mutex] waiting for: [msg:wksmio0206] 2019-11-24 18:44:33 | [Mutex] received everything. 2019-11-24 18:44:33 | [Mutex] waiting for: [r75x9v0207:forbidden] 2019-11-24 18:44:33 | [Mutex] received everything. 2019-11-24 18:44:33 | [Mutex] isItemNotified: r75x9v0207:forbidden :: true 2019-11-24 18:44:33 | [Mutex] waiting for: [7v6idj0209:forbidden] 2019-11-24 18:44:33 | [Mutex] received everything. 2019-11-24 18:44:33 | [Mutex] isItemNotified: 7v6idj0209:forbidden :: true 2019-11-24 18:44:33 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-24 18:44:33 | command: <command><fields><item><var>jid</var><value>user_regular1l1lg00196@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistssjz5f0197@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-24 18:44:33 | target: http://localhost:8088 2019-11-24 18:44:33 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-11-24 18:44:33 | entity: <command><fields><item><var>jid</var><value>user_regular1l1lg00196@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistssjz5f0197@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-24 18:44:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Nov 2019 02:44:33 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-24 18:44:33 | 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_whitelistssjz5f0197@localhost;4|deny|all) for user: user_regular1l1lg00196@localhost</value> </item> </fields> </command> 2019-11-24 18:44:33 | contains: true 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Connector state changed: connected->disconnecting 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=1] Terminating XMPP Stream 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=3092] Connector state changed: disconnecting->disconnected 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=488 thread=3092] Stream terminated 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-24 18:44:33 | tigase.jaxmpp.core.client.xmpp.modules.streammng.StreamManagementModule.reset: Reset. 2019-11-24 18:44:33 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [session] 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-24 18:44:33 | tigase.jaxmpp.core.client.AbstractSessionObject.clear: Clearing properties in scopes [stream] 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.Jaxmpp.login: state=disconnected cr=true 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Connector state changed: null->connecting 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] DNS entry stored in session object: localhost:5222 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Preparing connection to [localhost:5222] 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Connector state changed: connecting->connected 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Whitespace ping period is setted to nullms 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3098] Proceeding TLS 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3098] Start handshake 2019-11-24 18:44:33 | [Mutex] waiting for: [msg:elsr6x0212] 2019-11-24 18:44:33 | [Mutex] received everything. 2019-11-24 18:44:33 | [Mutex] waiting for: [msg:c8of9s0214] 2019-11-24 18:44:33 | [Mutex] received everything. 2019-11-24 18:44:33 | [Mutex] waiting for: [dplnya0215:forbidden] 2019-11-24 18:44:33 | [Mutex] received everything. 2019-11-24 18:44:33 | [Mutex] isItemNotified: dplnya0215:forbidden :: true 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3098] Connector state changed: connected->disconnected 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=3098] Stream terminated 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted 2019-11-24 18:44:33 | tigase.jaxmpp.j2se.connectors.socket.Worker.interrupt: Worker Interrupted |