Test duration : 6.352s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.222s |
2021-02-06 22:03:00 |
2021-02-06 22:03:00 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-06 22:03:00 | ------------------------------------ 2021-02-06 22:03:00 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 22:03:00 | command: <command><fields><item><var>jid</var><value>user_regular14q67j0214@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> 2021-02-06 22:03:00 | target: http://localhost:8088 2021-02-06 22:03:00 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-02-06 22:03:00 | entity: <command><fields><item><var>jid</var><value>user_regular14q67j0214@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> 2021-02-06 22:03:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:03:00 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 22:03:00 | 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_regular14q67j0214@test-domain.com</value> </item> </fields> </command> 2021-02-06 22:03:00 | contains: true 2021-02-06 22:03:00 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 22:03:00 | command: <command><fields><item><var>jid</var><value>user_regular14q67j0214@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> 2021-02-06 22:03:00 | target: http://localhost:8088 2021-02-06 22:03:00 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-02-06 22:03:00 | entity: <command><fields><item><var>jid</var><value>user_regular14q67j0214@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> 2021-02-06 22:03:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:03:00 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 22:03:01 | 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_regular14q67j0214@test-domain.com</value> </item> </fields> </command> 2021-02-06 22:03:01 | contains: true |
testMessageFiltering | 2.701s |
2021-02-06 22:03:02 |
2021-02-06 22:03:02 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-06 22:03:02 | ------------------------------------ 2021-02-06 22:03:02 | [Mutex] waiting for: [msg:j0xb930221] 2021-02-06 22:03:02 | [Mutex] received everything. 2021-02-06 22:03:02 | [Mutex] isItemNotified: msg:j0xb930221 :: true 2021-02-06 22:03:02 | [Mutex] waiting for: [msg:fel3wm0223] 2021-02-06 22:03:02 | [Mutex] received everything. 2021-02-06 22:03:02 | [Mutex] isItemNotified: msg:fel3wm0223 :: true 2021-02-06 22:03:02 | [Mutex] waiting for: [msg:msuuk20225] 2021-02-06 22:03:02 | [Mutex] received everything. 2021-02-06 22:03:02 | [Mutex] isItemNotified: msg:msuuk20225 :: true 2021-02-06 22:03:02 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 22:03:02 | command: <command><fields><item><var>jid</var><value>user_regular6nvoxo0217@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> 2021-02-06 22:03:02 | target: http://localhost:8088 2021-02-06 22:03:02 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-02-06 22:03:02 | entity: <command><fields><item><var>jid</var><value>user_regular6nvoxo0217@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> 2021-02-06 22:03:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:03:02 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 22:03:02 | 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_regular6nvoxo0217@test-domain.com</value> </item> </fields> </command> 2021-02-06 22:03:02 | contains: true 2021-02-06 22:03:03 | [Mutex] waiting for: [msg:8caxl40227] 2021-02-06 22:03:03 | [Mutex] received everything. 2021-02-06 22:03:03 | [Mutex] isItemNotified: msg:8caxl40227 :: true 2021-02-06 22:03:03 | [Mutex] waiting for: [fnqtuc0228:forbidden] 2021-02-06 22:03:03 | [Mutex] received everything. 2021-02-06 22:03:03 | [Mutex] isItemNotified: fnqtuc0228:forbidden :: true 2021-02-06 22:03:03 | [Mutex] waiting for: [kuxe8q0230:forbidden] 2021-02-06 22:03:03 | [Mutex] received everything. 2021-02-06 22:03:03 | [Mutex] isItemNotified: kuxe8q0230:forbidden :: true 2021-02-06 22:03:03 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 22:03:03 | command: <command><fields><item><var>jid</var><value>user_regular6nvoxo0217@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_whitelistgvgvlj0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-06 22:03:03 | target: http://localhost:8088 2021-02-06 22:03:03 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-02-06 22:03:03 | entity: <command><fields><item><var>jid</var><value>user_regular6nvoxo0217@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_whitelistgvgvlj0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-06 22:03:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:03:03 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 22:03:03 | 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_whitelistgvgvlj0218@test-domain.com;4|deny|all) for user: user_regular6nvoxo0217@test-domain.com</value> </item> </fields> </command> 2021-02-06 22:03:03 | contains: true 2021-02-06 22:03:05 | [Mutex] waiting for: [msg:ulyc4n0233] 2021-02-06 22:03:05 | [Mutex] received everything. 2021-02-06 22:03:05 | [Mutex] isItemNotified: msg:ulyc4n0233 :: true 2021-02-06 22:03:05 | [Mutex] waiting for: [msg:kocym90235] 2021-02-06 22:03:05 | [Mutex] received everything. 2021-02-06 22:03:05 | [Mutex] isItemNotified: msg:kocym90235 :: true 2021-02-06 22:03:05 | [Mutex] waiting for: [j4c3fl0236:forbidden] 2021-02-06 22:03:05 | [Mutex] received everything. 2021-02-06 22:03:05 | [Mutex] isItemNotified: j4c3fl0236:forbidden :: true |