Test duration : 6.369s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.358s |
2022-02-16 07:58:46 |
2022-02-16 07:58:46 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-16 07:58:46 | ------------------------------------ 2022-02-16 07:58:46 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 07:58:46 | command: <command><fields><item><var>jid</var><value>user_regular8anh5d0214@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:58:46 | target: http://localhost:8088 2022-02-16 07:58:46 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-16 07:58:46 | entity: <command><fields><item><var>jid</var><value>user_regular8anh5d0214@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:58:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:58:46 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 07:58:46 | 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_regular8anh5d0214@test-domain.com</value> </item> </fields> </command> 2022-02-16 07:58:46 | contains: true 2022-02-16 07:58:46 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 07:58:46 | command: <command><fields><item><var>jid</var><value>user_regular8anh5d0214@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:58:46 | target: http://localhost:8088 2022-02-16 07:58:46 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-16 07:58:46 | entity: <command><fields><item><var>jid</var><value>user_regular8anh5d0214@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:58:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:58:46 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 07:58:46 | 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_regular8anh5d0214@test-domain.com</value> </item> </fields> </command> 2022-02-16 07:58:46 | contains: true |
testMessageFiltering | 2.665s |
2022-02-16 07:58:48 |
2022-02-16 07:58:48 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-16 07:58:48 | ------------------------------------ 2022-02-16 07:58:48 | [Mutex] waiting for: [msg:bjku5x0221] 2022-02-16 07:58:48 | [Mutex] received everything. 2022-02-16 07:58:48 | [Mutex] isItemNotified: msg:bjku5x0221 :: true 2022-02-16 07:58:48 | [Mutex] waiting for: [msg:xcp8730223] 2022-02-16 07:58:48 | [Mutex] received everything. 2022-02-16 07:58:48 | [Mutex] isItemNotified: msg:xcp8730223 :: true 2022-02-16 07:58:48 | [Mutex] waiting for: [msg:kpjvjx0225] 2022-02-16 07:58:48 | [Mutex] received everything. 2022-02-16 07:58:48 | [Mutex] isItemNotified: msg:kpjvjx0225 :: true 2022-02-16 07:58:48 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 07:58:48 | command: <command><fields><item><var>jid</var><value>user_regulario7hjk0217@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:58:48 | target: http://localhost:8088 2022-02-16 07:58:48 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-16 07:58:48 | entity: <command><fields><item><var>jid</var><value>user_regulario7hjk0217@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:58:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:58:48 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 07:58:48 | 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_regulario7hjk0217@test-domain.com</value> </item> </fields> </command> 2022-02-16 07:58:48 | contains: true 2022-02-16 07:58:49 | [Mutex] waiting for: [msg:jqo5qx0227] 2022-02-16 07:58:49 | [Mutex] received everything. 2022-02-16 07:58:49 | [Mutex] isItemNotified: msg:jqo5qx0227 :: true 2022-02-16 07:58:49 | [Mutex] waiting for: [44ac6s0228:forbidden] 2022-02-16 07:58:49 | [Mutex] received everything. 2022-02-16 07:58:49 | [Mutex] isItemNotified: 44ac6s0228:forbidden :: true 2022-02-16 07:58:49 | [Mutex] waiting for: [e0z9ot0230:forbidden] 2022-02-16 07:58:49 | [Mutex] received everything. 2022-02-16 07:58:49 | [Mutex] isItemNotified: e0z9ot0230:forbidden :: true 2022-02-16 07:58:49 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 07:58:49 | command: <command><fields><item><var>jid</var><value>user_regulario7hjk0217@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_whitelistur601z0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-16 07:58:49 | target: http://localhost:8088 2022-02-16 07:58:49 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-16 07:58:49 | entity: <command><fields><item><var>jid</var><value>user_regulario7hjk0217@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_whitelistur601z0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-16 07:58:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 15:58:49 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 07:58:49 | 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_whitelistur601z0218@test-domain.com;4|deny|all) for user: user_regulario7hjk0217@test-domain.com</value> </item> </fields> </command> 2022-02-16 07:58:49 | contains: true 2022-02-16 07:58:50 | [Mutex] waiting for: [msg:az9z620233] 2022-02-16 07:58:50 | [Mutex] received everything. 2022-02-16 07:58:50 | [Mutex] isItemNotified: msg:az9z620233 :: true 2022-02-16 07:58:50 | [Mutex] waiting for: [msg:x5sxim0235] 2022-02-16 07:58:50 | [Mutex] received everything. 2022-02-16 07:58:50 | [Mutex] isItemNotified: msg:x5sxim0235 :: true 2022-02-16 07:58:50 | [Mutex] waiting for: [q0p29k0236:forbidden] 2022-02-16 07:58:50 | [Mutex] received everything. 2022-02-16 07:58:50 | [Mutex] isItemNotified: q0p29k0236:forbidden :: true |