Test duration : 7.120s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.559s |
2022-02-17 04:38:39 |
2022-02-17 04:38:39 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-17 04:38:39 | ------------------------------------ 2022-02-17 04:38:39 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-17 04:38:39 | command: <command><fields><item><var>jid</var><value>user_regularuqgzz60214@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-17 04:38:39 | target: http://localhost:8088 2022-02-17 04:38:39 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-17 04:38:39 | entity: <command><fields><item><var>jid</var><value>user_regularuqgzz60214@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-17 04:38:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:38:39 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-17 04:38:39 | 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_regularuqgzz60214@test-domain.com</value> </item> </fields> </command> 2022-02-17 04:38:39 | contains: true 2022-02-17 04:38:39 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-17 04:38:39 | command: <command><fields><item><var>jid</var><value>user_regularuqgzz60214@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-17 04:38:39 | target: http://localhost:8088 2022-02-17 04:38:39 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-17 04:38:39 | entity: <command><fields><item><var>jid</var><value>user_regularuqgzz60214@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-17 04:38:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:38:39 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-17 04:38:39 | 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_regularuqgzz60214@test-domain.com</value> </item> </fields> </command> 2022-02-17 04:38:39 | contains: true |
testMessageFiltering | 2.713s |
2022-02-17 04:38:41 |
2022-02-17 04:38:41 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-17 04:38:41 | ------------------------------------ 2022-02-17 04:38:41 | [Mutex] waiting for: [msg:2kzi2g0221] 2022-02-17 04:38:41 | [Mutex] received everything. 2022-02-17 04:38:41 | [Mutex] isItemNotified: msg:2kzi2g0221 :: true 2022-02-17 04:38:41 | [Mutex] waiting for: [msg:895rj20223] 2022-02-17 04:38:41 | [Mutex] received everything. 2022-02-17 04:38:41 | [Mutex] isItemNotified: msg:895rj20223 :: true 2022-02-17 04:38:41 | [Mutex] waiting for: [msg:547yrs0225] 2022-02-17 04:38:41 | [Mutex] received everything. 2022-02-17 04:38:41 | [Mutex] isItemNotified: msg:547yrs0225 :: true 2022-02-17 04:38:41 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-17 04:38:41 | command: <command><fields><item><var>jid</var><value>user_regularsal0zh0217@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-17 04:38:41 | target: http://localhost:8088 2022-02-17 04:38:41 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-17 04:38:41 | entity: <command><fields><item><var>jid</var><value>user_regularsal0zh0217@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-17 04:38:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:38:41 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-17 04:38:41 | 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_regularsal0zh0217@test-domain.com</value> </item> </fields> </command> 2022-02-17 04:38:41 | contains: true 2022-02-17 04:38:42 | [Mutex] waiting for: [msg:2mfyij0227] 2022-02-17 04:38:42 | [Mutex] received everything. 2022-02-17 04:38:42 | [Mutex] isItemNotified: msg:2mfyij0227 :: true 2022-02-17 04:38:42 | [Mutex] waiting for: [431l6b0228:forbidden] 2022-02-17 04:38:42 | [Mutex] received everything. 2022-02-17 04:38:42 | [Mutex] isItemNotified: 431l6b0228:forbidden :: true 2022-02-17 04:38:42 | [Mutex] waiting for: [uv925i0230:forbidden] 2022-02-17 04:38:42 | [Mutex] waiting for: [uv925i0230:forbidden] 2022-02-17 04:38:42 | [Mutex] received everything. 2022-02-17 04:38:42 | [Mutex] isItemNotified: uv925i0230:forbidden :: true 2022-02-17 04:38:42 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-17 04:38:42 | command: <command><fields><item><var>jid</var><value>user_regularsal0zh0217@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_whitelist1h615d0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-17 04:38:42 | target: http://localhost:8088 2022-02-17 04:38:42 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-17 04:38:42 | entity: <command><fields><item><var>jid</var><value>user_regularsal0zh0217@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_whitelist1h615d0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-17 04:38:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:38:43 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-17 04:38:43 | 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_whitelist1h615d0218@test-domain.com;4|deny|all) for user: user_regularsal0zh0217@test-domain.com</value> </item> </fields> </command> 2022-02-17 04:38:43 | contains: true 2022-02-17 04:38:44 | [Mutex] waiting for: [msg:oiigdx0233] 2022-02-17 04:38:44 | [Mutex] received everything. 2022-02-17 04:38:44 | [Mutex] isItemNotified: msg:oiigdx0233 :: true 2022-02-17 04:38:44 | [Mutex] waiting for: [msg:ia4c2y0235] 2022-02-17 04:38:44 | [Mutex] received everything. 2022-02-17 04:38:44 | [Mutex] isItemNotified: msg:ia4c2y0235 :: true 2022-02-17 04:38:44 | [Mutex] waiting for: [9097ly0236:forbidden] 2022-02-17 04:38:44 | [Mutex] received everything. 2022-02-17 04:38:44 | [Mutex] isItemNotified: 9097ly0236:forbidden :: true |