Test duration : 6.073s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.260s |
2022-02-23 22:02:59 |
2022-02-23 22:02:59 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-23 22:02:59 | ------------------------------------ 2022-02-23 22:02:59 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 22:02:59 | command: <command><fields><item><var>jid</var><value>user_regulariwr9lp0214@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-23 22:02:59 | target: http://localhost:8088 2022-02-23 22:02:59 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-23 22:02:59 | entity: <command><fields><item><var>jid</var><value>user_regulariwr9lp0214@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-23 22:03:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:03:00 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 22:03:00 | 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_regulariwr9lp0214@test-domain.com</value> </item> </fields> </command> 2022-02-23 22:03:00 | contains: true 2022-02-23 22:03:00 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 22:03:00 | command: <command><fields><item><var>jid</var><value>user_regulariwr9lp0214@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-23 22:03:00 | target: http://localhost:8088 2022-02-23 22:03:00 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-23 22:03:00 | entity: <command><fields><item><var>jid</var><value>user_regulariwr9lp0214@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-23 22:03:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:03:00 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 22:03:00 | 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_regulariwr9lp0214@test-domain.com</value> </item> </fields> </command> 2022-02-23 22:03:00 | contains: true |
testMessageFiltering | 2.675s |
2022-02-23 22:03:01 |
2022-02-23 22:03:01 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-23 22:03:01 | ------------------------------------ 2022-02-23 22:03:01 | [Mutex] waiting for: [msg:8w45o50221] 2022-02-23 22:03:01 | [Mutex] received everything. 2022-02-23 22:03:01 | [Mutex] isItemNotified: msg:8w45o50221 :: true 2022-02-23 22:03:01 | [Mutex] waiting for: [msg:7top9w0223] 2022-02-23 22:03:01 | [Mutex] received everything. 2022-02-23 22:03:01 | [Mutex] isItemNotified: msg:7top9w0223 :: true 2022-02-23 22:03:01 | [Mutex] waiting for: [msg:k2brsp0225] 2022-02-23 22:03:01 | [Mutex] received everything. 2022-02-23 22:03:01 | [Mutex] isItemNotified: msg:k2brsp0225 :: true 2022-02-23 22:03:01 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 22:03:01 | command: <command><fields><item><var>jid</var><value>user_regularz5ztav0217@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-23 22:03:01 | target: http://localhost:8088 2022-02-23 22:03:01 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-23 22:03:01 | entity: <command><fields><item><var>jid</var><value>user_regularz5ztav0217@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-23 22:03:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:03:01 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 22:03:01 | 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_regularz5ztav0217@test-domain.com</value> </item> </fields> </command> 2022-02-23 22:03:01 | contains: true 2022-02-23 22:03:02 | [Mutex] waiting for: [msg:cr4qyq0227] 2022-02-23 22:03:02 | [Mutex] received everything. 2022-02-23 22:03:02 | [Mutex] isItemNotified: msg:cr4qyq0227 :: true 2022-02-23 22:03:02 | [Mutex] waiting for: [eu9de80228:forbidden] 2022-02-23 22:03:02 | [Mutex] received everything. 2022-02-23 22:03:02 | [Mutex] isItemNotified: eu9de80228:forbidden :: true 2022-02-23 22:03:02 | [Mutex] waiting for: [s51lce0230:forbidden] 2022-02-23 22:03:02 | [Mutex] received everything. 2022-02-23 22:03:02 | [Mutex] isItemNotified: s51lce0230:forbidden :: true 2022-02-23 22:03:02 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 22:03:02 | command: <command><fields><item><var>jid</var><value>user_regularz5ztav0217@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_whitelistpnj8pe0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-23 22:03:02 | target: http://localhost:8088 2022-02-23 22:03:02 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-23 22:03:02 | entity: <command><fields><item><var>jid</var><value>user_regularz5ztav0217@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_whitelistpnj8pe0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-23 22:03:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:03:03 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 22:03:03 | 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_whitelistpnj8pe0218@test-domain.com;4|deny|all) for user: user_regularz5ztav0217@test-domain.com</value> </item> </fields> </command> 2022-02-23 22:03:03 | contains: true 2022-02-23 22:03:04 | [Mutex] waiting for: [msg:x82wxh0233] 2022-02-23 22:03:04 | [Mutex] received everything. 2022-02-23 22:03:04 | [Mutex] isItemNotified: msg:x82wxh0233 :: true 2022-02-23 22:03:04 | [Mutex] waiting for: [msg:5womd70235] 2022-02-23 22:03:04 | [Mutex] received everything. 2022-02-23 22:03:04 | [Mutex] isItemNotified: msg:5womd70235 :: true 2022-02-23 22:03:04 | [Mutex] waiting for: [7bf50u0236:forbidden] 2022-02-23 22:03:04 | [Mutex] received everything. 2022-02-23 22:03:04 | [Mutex] isItemNotified: 7bf50u0236:forbidden :: true |