Test duration : 6.137s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.324s |
2022-02-16 07:57:22 |
2022-02-16 07:57:22 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-16 07:57:22 | ------------------------------------ 2022-02-16 07:57:22 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 07:57:22 | command: <command><fields><item><var>jid</var><value>user_regularz5uuoe0214@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-16 07:57:22 | target: http://localhost:8088 2022-02-16 07:57:22 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-16 07:57:22 | entity: <command><fields><item><var>jid</var><value>user_regularz5uuoe0214@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-16 07:57:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:57:22 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 07:57:22 | response entity: <command> <jid>sess-man@test-domain.com</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@test-domain.com;4|deny|all) for user: user_regularz5uuoe0214@test-domain.com</value> </item> </fields> </command> 2022-02-16 07:57:22 | contains: true 2022-02-16 07:57:22 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 07:57:22 | command: <command><fields><item><var>jid</var><value>user_regularz5uuoe0214@test-domain.com</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> 2022-02-16 07:57:22 | target: http://localhost:8088 2022-02-16 07:57:22 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-16 07:57:22 | entity: <command><fields><item><var>jid</var><value>user_regularz5uuoe0214@test-domain.com</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> 2022-02-16 07:57:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:57:22 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 07:57:22 | response entity: <command> <jid>sess-man@test-domain.com</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@test-domain.com;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|all) for user: user_regularz5uuoe0214@test-domain.com</value> </item> </fields> </command> 2022-02-16 07:57:22 | contains: true |
testMessageFiltering | 2.664s |
2022-02-16 07:57:23 |
2022-02-16 07:57:23 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-16 07:57:23 | ------------------------------------ 2022-02-16 07:57:23 | [Mutex] waiting for: [msg:mxfqwj0221] 2022-02-16 07:57:23 | [Mutex] received everything. 2022-02-16 07:57:23 | [Mutex] isItemNotified: msg:mxfqwj0221 :: true 2022-02-16 07:57:23 | [Mutex] waiting for: [msg:pwt3s30223] 2022-02-16 07:57:23 | [Mutex] received everything. 2022-02-16 07:57:23 | [Mutex] isItemNotified: msg:pwt3s30223 :: true 2022-02-16 07:57:23 | [Mutex] waiting for: [msg:pvkiyb0225] 2022-02-16 07:57:24 | [Mutex] received everything. 2022-02-16 07:57:24 | [Mutex] isItemNotified: msg:pvkiyb0225 :: true 2022-02-16 07:57:24 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 07:57:24 | command: <command><fields><item><var>jid</var><value>user_regular7c7qmy0217@test-domain.com</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> 2022-02-16 07:57:24 | target: http://localhost:8088 2022-02-16 07:57:24 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-16 07:57:24 | entity: <command><fields><item><var>jid</var><value>user_regular7c7qmy0217@test-domain.com</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> 2022-02-16 07:57:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:57:24 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 07:57:24 | response entity: <command> <jid>sess-man@test-domain.com</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_regular7c7qmy0217@test-domain.com</value> </item> </fields> </command> 2022-02-16 07:57:24 | contains: true 2022-02-16 07:57:25 | [Mutex] waiting for: [msg:latd1x0227] 2022-02-16 07:57:25 | [Mutex] received everything. 2022-02-16 07:57:25 | [Mutex] isItemNotified: msg:latd1x0227 :: true 2022-02-16 07:57:25 | [Mutex] received everything. 2022-02-16 07:57:25 | [Mutex] isItemNotified: sm5x9w0228:forbidden :: true 2022-02-16 07:57:25 | [Mutex] waiting for: [ydcwqi0230:forbidden] 2022-02-16 07:57:25 | [Mutex] received everything. 2022-02-16 07:57:25 | [Mutex] isItemNotified: ydcwqi0230:forbidden :: true 2022-02-16 07:57:25 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 07:57:25 | command: <command><fields><item><var>jid</var><value>user_regular7c7qmy0217@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelist5rwqo50218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-16 07:57:25 | target: http://localhost:8088 2022-02-16 07:57:25 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-16 07:57:25 | entity: <command><fields><item><var>jid</var><value>user_regular7c7qmy0217@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelist5rwqo50218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-16 07:57:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:57:25 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 07:57:25 | response entity: <command> <jid>sess-man@test-domain.com</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_whitelist5rwqo50218@test-domain.com;4|deny|all) for user: user_regular7c7qmy0217@test-domain.com</value> </item> </fields> </command> 2022-02-16 07:57:25 | contains: true 2022-02-16 07:57:26 | [Mutex] waiting for: [msg:cyotzq0233] 2022-02-16 07:57:26 | [Mutex] received everything. 2022-02-16 07:57:26 | [Mutex] isItemNotified: msg:cyotzq0233 :: true 2022-02-16 07:57:26 | [Mutex] waiting for: [msg:rxj75d0235] 2022-02-16 07:57:26 | [Mutex] received everything. 2022-02-16 07:57:26 | [Mutex] isItemNotified: msg:rxj75d0235 :: true 2022-02-16 07:57:26 | [Mutex] waiting for: [pcbme80236:forbidden] 2022-02-16 07:57:26 | [Mutex] received everything. 2022-02-16 07:57:26 | [Mutex] isItemNotified: pcbme80236:forbidden :: true |