Test duration : 6.572s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.276s |
2022-02-09 22:21:27 |
2022-02-09 22:21:27 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-09 22:21:27 | ------------------------------------ 2022-02-09 22:21:27 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-09 22:21:27 | command: <command><fields><item><var>jid</var><value>user_regulare1j00e0214@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-09 22:21:27 | target: http://localhost:8088 2022-02-09 22:21:27 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-09 22:21:27 | entity: <command><fields><item><var>jid</var><value>user_regulare1j00e0214@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-09 22:21:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:21:27 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-09 22:21:27 | 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_regulare1j00e0214@test-domain.com</value> </item> </fields> </command> 2022-02-09 22:21:27 | contains: true 2022-02-09 22:21:27 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-09 22:21:27 | command: <command><fields><item><var>jid</var><value>user_regulare1j00e0214@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-09 22:21:27 | target: http://localhost:8088 2022-02-09 22:21:27 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-09 22:21:27 | entity: <command><fields><item><var>jid</var><value>user_regulare1j00e0214@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-09 22:21:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:21:27 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-09 22:21:27 | 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_regulare1j00e0214@test-domain.com</value> </item> </fields> </command> 2022-02-09 22:21:27 | contains: true |
testMessageFiltering | 2.619s |
2022-02-09 22:21:29 |
2022-02-09 22:21:29 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-09 22:21:29 | ------------------------------------ 2022-02-09 22:21:29 | [Mutex] waiting for: [msg:e12q6q0221] 2022-02-09 22:21:29 | [Mutex] received everything. 2022-02-09 22:21:29 | [Mutex] isItemNotified: msg:e12q6q0221 :: true 2022-02-09 22:21:29 | [Mutex] waiting for: [msg:l3ha5g0223] 2022-02-09 22:21:29 | [Mutex] received everything. 2022-02-09 22:21:29 | [Mutex] isItemNotified: msg:l3ha5g0223 :: true 2022-02-09 22:21:29 | [Mutex] waiting for: [msg:2se4t20225] 2022-02-09 22:21:29 | [Mutex] received everything. 2022-02-09 22:21:29 | [Mutex] isItemNotified: msg:2se4t20225 :: true 2022-02-09 22:21:29 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-09 22:21:29 | command: <command><fields><item><var>jid</var><value>user_regular7jk9510217@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-09 22:21:29 | target: http://localhost:8088 2022-02-09 22:21:29 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-09 22:21:29 | entity: <command><fields><item><var>jid</var><value>user_regular7jk9510217@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-09 22:21:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:21:29 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-09 22:21:29 | 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_regular7jk9510217@test-domain.com</value> </item> </fields> </command> 2022-02-09 22:21:29 | contains: true 2022-02-09 22:21:30 | [Mutex] waiting for: [msg:tjeupe0227] 2022-02-09 22:21:30 | [Mutex] received everything. 2022-02-09 22:21:30 | [Mutex] isItemNotified: msg:tjeupe0227 :: true 2022-02-09 22:21:30 | [Mutex] waiting for: [cgkcpz0228:forbidden] 2022-02-09 22:21:30 | [Mutex] received everything. 2022-02-09 22:21:30 | [Mutex] isItemNotified: cgkcpz0228:forbidden :: true 2022-02-09 22:21:30 | [Mutex] waiting for: [v2oywm0230:forbidden] 2022-02-09 22:21:30 | [Mutex] received everything. 2022-02-09 22:21:30 | [Mutex] isItemNotified: v2oywm0230:forbidden :: true 2022-02-09 22:21:30 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-09 22:21:30 | command: <command><fields><item><var>jid</var><value>user_regular7jk9510217@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_whitelists51qcq0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-09 22:21:30 | target: http://localhost:8088 2022-02-09 22:21:30 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-09 22:21:30 | entity: <command><fields><item><var>jid</var><value>user_regular7jk9510217@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_whitelists51qcq0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-09 22:21:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 06:21:30 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-09 22:21:30 | 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_whitelists51qcq0218@test-domain.com;4|deny|all) for user: user_regular7jk9510217@test-domain.com</value> </item> </fields> </command> 2022-02-09 22:21:30 | contains: true 2022-02-09 22:21:32 | [Mutex] waiting for: [msg:p793co0233] 2022-02-09 22:21:32 | [Mutex] received everything. 2022-02-09 22:21:32 | [Mutex] isItemNotified: msg:p793co0233 :: true 2022-02-09 22:21:32 | [Mutex] waiting for: [msg:oypztj0235] 2022-02-09 22:21:32 | [Mutex] received everything. 2022-02-09 22:21:32 | [Mutex] isItemNotified: msg:oypztj0235 :: true 2022-02-09 22:21:32 | [Mutex] waiting for: [9rmhyz0236:forbidden] 2022-02-09 22:21:32 | [Mutex] received everything. 2022-02-09 22:21:32 | [Mutex] isItemNotified: 9rmhyz0236:forbidden :: true |