Test duration : 5.997s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.292s |
2022-02-23 21:34:10 |
2022-02-23 21:34:10 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-23 21:34:10 | ------------------------------------ 2022-02-23 21:34:10 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 21:34:10 | command: <command><fields><item><var>jid</var><value>user_regulari6edre0214@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-23 21:34:10 | target: http://localhost:8088 2022-02-23 21:34:10 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-23 21:34:10 | entity: <command><fields><item><var>jid</var><value>user_regulari6edre0214@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-23 21:34:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:34:10 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 21:34:10 | 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_regulari6edre0214@test-domain.com</value> </item> </fields> </command> 2022-02-23 21:34:10 | contains: true 2022-02-23 21:34:10 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 21:34:10 | command: <command><fields><item><var>jid</var><value>user_regulari6edre0214@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-23 21:34:10 | target: http://localhost:8088 2022-02-23 21:34:10 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-23 21:34:10 | entity: <command><fields><item><var>jid</var><value>user_regulari6edre0214@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-23 21:34:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:34:10 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 21:34:10 | 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_regulari6edre0214@test-domain.com</value> </item> </fields> </command> 2022-02-23 21:34:10 | contains: true |
testMessageFiltering | 2.566s |
2022-02-23 21:34:12 |
2022-02-23 21:34:12 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-23 21:34:12 | ------------------------------------ 2022-02-23 21:34:12 | [Mutex] waiting for: [msg:ym7axs0221] 2022-02-23 21:34:12 | [Mutex] received everything. 2022-02-23 21:34:12 | [Mutex] isItemNotified: msg:ym7axs0221 :: true 2022-02-23 21:34:12 | [Mutex] waiting for: [msg:rdnmwz0223] 2022-02-23 21:34:12 | [Mutex] received everything. 2022-02-23 21:34:12 | [Mutex] isItemNotified: msg:rdnmwz0223 :: true 2022-02-23 21:34:12 | [Mutex] waiting for: [msg:qmt4cj0225] 2022-02-23 21:34:12 | [Mutex] received everything. 2022-02-23 21:34:12 | [Mutex] isItemNotified: msg:qmt4cj0225 :: true 2022-02-23 21:34:12 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 21:34:12 | command: <command><fields><item><var>jid</var><value>user_regular656wil0217@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-23 21:34:12 | target: http://localhost:8088 2022-02-23 21:34:12 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-23 21:34:12 | entity: <command><fields><item><var>jid</var><value>user_regular656wil0217@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-23 21:34:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:34:12 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 21:34:12 | 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_regular656wil0217@test-domain.com</value> </item> </fields> </command> 2022-02-23 21:34:12 | contains: true 2022-02-23 21:34:13 | [Mutex] waiting for: [msg:kx8ukf0227] 2022-02-23 21:34:13 | [Mutex] received everything. 2022-02-23 21:34:13 | [Mutex] isItemNotified: msg:kx8ukf0227 :: true 2022-02-23 21:34:13 | [Mutex] waiting for: [92mpkk0228:forbidden] 2022-02-23 21:34:13 | [Mutex] received everything. 2022-02-23 21:34:13 | [Mutex] isItemNotified: 92mpkk0228:forbidden :: true 2022-02-23 21:34:13 | [Mutex] waiting for: [1ruvdl0230:forbidden] 2022-02-23 21:34:13 | [Mutex] received everything. 2022-02-23 21:34:13 | [Mutex] isItemNotified: 1ruvdl0230:forbidden :: true 2022-02-23 21:34:13 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 21:34:13 | command: <command><fields><item><var>jid</var><value>user_regular656wil0217@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_whitelist5nvrs40218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-23 21:34:13 | target: http://localhost:8088 2022-02-23 21:34:13 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-23 21:34:13 | entity: <command><fields><item><var>jid</var><value>user_regular656wil0217@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_whitelist5nvrs40218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-23 21:34:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 05:34:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 21:34:13 | 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_whitelist5nvrs40218@test-domain.com;4|deny|all) for user: user_regular656wil0217@test-domain.com</value> </item> </fields> </command> 2022-02-23 21:34:13 | contains: true 2022-02-23 21:34:14 | [Mutex] waiting for: [msg:xbjjwq0233] 2022-02-23 21:34:14 | [Mutex] received everything. 2022-02-23 21:34:14 | [Mutex] isItemNotified: msg:xbjjwq0233 :: true 2022-02-23 21:34:14 | [Mutex] waiting for: [msg:ehm8980235] 2022-02-23 21:34:14 | [Mutex] received everything. 2022-02-23 21:34:14 | [Mutex] isItemNotified: msg:ehm8980235 :: true 2022-02-23 21:34:14 | [Mutex] waiting for: [he3fq30236:forbidden] 2022-02-23 21:34:14 | [Mutex] received everything. 2022-02-23 21:34:14 | [Mutex] isItemNotified: he3fq30236:forbidden :: true |