Test duration : 5.962s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.300s |
2022-02-16 21:47:56 |
2022-02-16 21:47:56 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-16 21:47:56 | ------------------------------------ 2022-02-16 21:47:56 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 21:47:56 | command: <command><fields><item><var>jid</var><value>user_regularfrg6az0214@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 21:47:56 | target: http://localhost:8088 2022-02-16 21:47:56 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-16 21:47:56 | entity: <command><fields><item><var>jid</var><value>user_regularfrg6az0214@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 21:47:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:47:57 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 21:47:57 | 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_regularfrg6az0214@test-domain.com</value> </item> </fields> </command> 2022-02-16 21:47:57 | contains: true 2022-02-16 21:47:57 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 21:47:57 | command: <command><fields><item><var>jid</var><value>user_regularfrg6az0214@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 21:47:57 | target: http://localhost:8088 2022-02-16 21:47:57 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-16 21:47:57 | entity: <command><fields><item><var>jid</var><value>user_regularfrg6az0214@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 21:47:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:47:57 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 21:47:57 | 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_regularfrg6az0214@test-domain.com</value> </item> </fields> </command> 2022-02-16 21:47:57 | contains: true |
testMessageFiltering | 2.613s |
2022-02-16 21:47:58 |
2022-02-16 21:47:58 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-16 21:47:58 | ------------------------------------ 2022-02-16 21:47:58 | [Mutex] waiting for: [msg:iff6bf0221] 2022-02-16 21:47:58 | [Mutex] received everything. 2022-02-16 21:47:58 | [Mutex] isItemNotified: msg:iff6bf0221 :: true 2022-02-16 21:47:58 | [Mutex] waiting for: [msg:n2a5mr0223] 2022-02-16 21:47:58 | [Mutex] received everything. 2022-02-16 21:47:58 | [Mutex] isItemNotified: msg:n2a5mr0223 :: true 2022-02-16 21:47:58 | [Mutex] waiting for: [msg:sntsne0225] 2022-02-16 21:47:58 | [Mutex] received everything. 2022-02-16 21:47:58 | [Mutex] isItemNotified: msg:sntsne0225 :: true 2022-02-16 21:47:58 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 21:47:58 | command: <command><fields><item><var>jid</var><value>user_regulardxtddx0217@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 21:47:58 | target: http://localhost:8088 2022-02-16 21:47:58 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-16 21:47:58 | entity: <command><fields><item><var>jid</var><value>user_regulardxtddx0217@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 21:47:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:47:58 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 21:47:58 | 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_regulardxtddx0217@test-domain.com</value> </item> </fields> </command> 2022-02-16 21:47:58 | contains: true 2022-02-16 21:47:59 | [Mutex] waiting for: [msg:yzb5tx0227] 2022-02-16 21:47:59 | [Mutex] received everything. 2022-02-16 21:47:59 | [Mutex] isItemNotified: msg:yzb5tx0227 :: true 2022-02-16 21:47:59 | [Mutex] waiting for: [oyedyw0228:forbidden] 2022-02-16 21:47:59 | [Mutex] received everything. 2022-02-16 21:47:59 | [Mutex] isItemNotified: oyedyw0228:forbidden :: true 2022-02-16 21:47:59 | [Mutex] waiting for: [upjjz40230:forbidden] 2022-02-16 21:47:59 | [Mutex] received everything. 2022-02-16 21:47:59 | [Mutex] isItemNotified: upjjz40230:forbidden :: true 2022-02-16 21:47:59 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-16 21:47:59 | command: <command><fields><item><var>jid</var><value>user_regulardxtddx0217@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_whitelist9x2pes0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-16 21:47:59 | target: http://localhost:8088 2022-02-16 21:47:59 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-16 21:47:59 | entity: <command><fields><item><var>jid</var><value>user_regulardxtddx0217@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_whitelist9x2pes0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-16 21:47:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:47:59 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-16 21:47:59 | 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_whitelist9x2pes0218@test-domain.com;4|deny|all) for user: user_regulardxtddx0217@test-domain.com</value> </item> </fields> </command> 2022-02-16 21:47:59 | contains: true 2022-02-16 21:48:01 | [Mutex] waiting for: [msg:wwxmwa0233] 2022-02-16 21:48:01 | [Mutex] received everything. 2022-02-16 21:48:01 | [Mutex] isItemNotified: msg:wwxmwa0233 :: true 2022-02-16 21:48:01 | [Mutex] waiting for: [msg:f0btrp0235] 2022-02-16 21:48:01 | [Mutex] received everything. 2022-02-16 21:48:01 | [Mutex] isItemNotified: msg:f0btrp0235 :: true 2022-02-16 21:48:01 | [Mutex] waiting for: [5dvq620236:forbidden] 2022-02-16 21:48:01 | [Mutex] received everything. 2022-02-16 21:48:01 | [Mutex] isItemNotified: 5dvq620236:forbidden :: true |