Test duration : 6.634s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.299s |
2022-02-08 22:20:19 |
2022-02-08 22:20:19 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-08 22:20:19 | ------------------------------------ 2022-02-08 22:20:19 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-08 22:20:19 | command: <command><fields><item><var>jid</var><value>user_regularwwsetd0214@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-08 22:20:19 | target: http://localhost:8088 2022-02-08 22:20:19 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-08 22:20:19 | entity: <command><fields><item><var>jid</var><value>user_regularwwsetd0214@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-08 22:20:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:20:20 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-08 22:20:20 | 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_regularwwsetd0214@test-domain.com</value> </item> </fields> </command> 2022-02-08 22:20:20 | contains: true 2022-02-08 22:20:20 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-08 22:20:20 | command: <command><fields><item><var>jid</var><value>user_regularwwsetd0214@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-08 22:20:20 | target: http://localhost:8088 2022-02-08 22:20:20 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-08 22:20:20 | entity: <command><fields><item><var>jid</var><value>user_regularwwsetd0214@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-08 22:20:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:20:20 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-08 22:20:20 | 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_regularwwsetd0214@test-domain.com</value> </item> </fields> </command> 2022-02-08 22:20:20 | contains: true |
testMessageFiltering | 2.616s |
2022-02-08 22:20:22 |
2022-02-08 22:20:22 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-08 22:20:22 | ------------------------------------ 2022-02-08 22:20:22 | [Mutex] waiting for: [msg:yvxwuc0221] 2022-02-08 22:20:22 | [Mutex] received everything. 2022-02-08 22:20:22 | [Mutex] isItemNotified: msg:yvxwuc0221 :: true 2022-02-08 22:20:22 | [Mutex] waiting for: [msg:pj5qwh0223] 2022-02-08 22:20:22 | [Mutex] received everything. 2022-02-08 22:20:22 | [Mutex] isItemNotified: msg:pj5qwh0223 :: true 2022-02-08 22:20:22 | [Mutex] waiting for: [msg:ee7e5m0225] 2022-02-08 22:20:22 | [Mutex] received everything. 2022-02-08 22:20:22 | [Mutex] isItemNotified: msg:ee7e5m0225 :: true 2022-02-08 22:20:22 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-08 22:20:22 | command: <command><fields><item><var>jid</var><value>user_regularinn6fo0217@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-08 22:20:22 | target: http://localhost:8088 2022-02-08 22:20:22 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-08 22:20:22 | entity: <command><fields><item><var>jid</var><value>user_regularinn6fo0217@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-08 22:20:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:20:22 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-08 22:20:22 | 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_regularinn6fo0217@test-domain.com</value> </item> </fields> </command> 2022-02-08 22:20:22 | contains: true 2022-02-08 22:20:23 | [Mutex] waiting for: [msg:3hhegl0227] 2022-02-08 22:20:23 | [Mutex] received everything. 2022-02-08 22:20:23 | [Mutex] isItemNotified: msg:3hhegl0227 :: true 2022-02-08 22:20:23 | [Mutex] waiting for: [9qsz990228:forbidden] 2022-02-08 22:20:23 | [Mutex] received everything. 2022-02-08 22:20:23 | [Mutex] isItemNotified: 9qsz990228:forbidden :: true 2022-02-08 22:20:23 | [Mutex] waiting for: [wojml30230:forbidden] 2022-02-08 22:20:23 | [Mutex] received everything. 2022-02-08 22:20:23 | [Mutex] isItemNotified: wojml30230:forbidden :: true 2022-02-08 22:20:23 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-08 22:20:23 | command: <command><fields><item><var>jid</var><value>user_regularinn6fo0217@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_whitelistkv70o70218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-08 22:20:23 | target: http://localhost:8088 2022-02-08 22:20:23 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-08 22:20:23 | entity: <command><fields><item><var>jid</var><value>user_regularinn6fo0217@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_whitelistkv70o70218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-08 22:20:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:20:23 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-08 22:20:23 | 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_whitelistkv70o70218@test-domain.com;4|deny|all) for user: user_regularinn6fo0217@test-domain.com</value> </item> </fields> </command> 2022-02-08 22:20:23 | contains: true 2022-02-08 22:20:24 | [Mutex] waiting for: [msg:nk4vtj0233] 2022-02-08 22:20:24 | [Mutex] received everything. 2022-02-08 22:20:24 | [Mutex] isItemNotified: msg:nk4vtj0233 :: true 2022-02-08 22:20:24 | [Mutex] waiting for: [msg:1u5x560235] 2022-02-08 22:20:24 | [Mutex] received everything. 2022-02-08 22:20:24 | [Mutex] isItemNotified: msg:1u5x560235 :: true 2022-02-08 22:20:24 | [Mutex] waiting for: [y8nbxz0236:forbidden] 2022-02-08 22:20:24 | [Mutex] received everything. 2022-02-08 22:20:24 | [Mutex] isItemNotified: y8nbxz0236:forbidden :: true |