Test duration : 6.430s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.228s |
2020-09-23 23:26:25 |
2020-09-23 23:26:25 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-23 23:26:25 | ------------------------------------ 2020-09-23 23:26:25 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-23 23:26:25 | command: <command><fields><item><var>jid</var><value>user_regular9d8gwe0214@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> 2020-09-23 23:26:25 | target: http://localhost:8088 2020-09-23 23:26:25 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-09-23 23:26:25 | entity: <command><fields><item><var>jid</var><value>user_regular9d8gwe0214@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> 2020-09-23 23:26:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 06:26:25 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-23 23:26:25 | 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_regular9d8gwe0214@test-domain.com</value> </item> </fields> </command> 2020-09-23 23:26:25 | contains: true 2020-09-23 23:26:25 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-23 23:26:25 | command: <command><fields><item><var>jid</var><value>user_regular9d8gwe0214@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> 2020-09-23 23:26:25 | target: http://localhost:8088 2020-09-23 23:26:25 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-09-23 23:26:25 | entity: <command><fields><item><var>jid</var><value>user_regular9d8gwe0214@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> 2020-09-23 23:26:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 06:26:26 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-23 23:26:26 | 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_regular9d8gwe0214@test-domain.com</value> </item> </fields> </command> 2020-09-23 23:26:26 | contains: true |
testMessageFiltering | 2.636s |
2020-09-23 23:26:27 |
2020-09-23 23:26:27 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-23 23:26:27 | ------------------------------------ 2020-09-23 23:26:27 | [Mutex] waiting for: [msg:gn2p4x0221] 2020-09-23 23:26:27 | [Mutex] received everything. 2020-09-23 23:26:27 | [Mutex] isItemNotified: msg:gn2p4x0221 :: true 2020-09-23 23:26:27 | [Mutex] waiting for: [msg:m26z9y0223] 2020-09-23 23:26:27 | [Mutex] received everything. 2020-09-23 23:26:27 | [Mutex] isItemNotified: msg:m26z9y0223 :: true 2020-09-23 23:26:27 | [Mutex] waiting for: [msg:vx0bzi0225] 2020-09-23 23:26:27 | [Mutex] received everything. 2020-09-23 23:26:27 | [Mutex] isItemNotified: msg:vx0bzi0225 :: true 2020-09-23 23:26:27 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-23 23:26:27 | command: <command><fields><item><var>jid</var><value>user_regularma6x540217@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> 2020-09-23 23:26:27 | target: http://localhost:8088 2020-09-23 23:26:27 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-09-23 23:26:27 | entity: <command><fields><item><var>jid</var><value>user_regularma6x540217@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> 2020-09-23 23:26:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 06:26:27 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-23 23:26: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;4|deny|all) for user: user_regularma6x540217@test-domain.com</value> </item> </fields> </command> 2020-09-23 23:26:27 | contains: true 2020-09-23 23:26:29 | [Mutex] waiting for: [msg:qtavnv0227] 2020-09-23 23:26:29 | [Mutex] received everything. 2020-09-23 23:26:29 | [Mutex] isItemNotified: msg:qtavnv0227 :: true 2020-09-23 23:26:29 | [Mutex] waiting for: [ejdmxr0228:forbidden] 2020-09-23 23:26:29 | [Mutex] received everything. 2020-09-23 23:26:29 | [Mutex] isItemNotified: ejdmxr0228:forbidden :: true 2020-09-23 23:26:29 | [Mutex] waiting for: [uk01y60230:forbidden] 2020-09-23 23:26:29 | [Mutex] received everything. 2020-09-23 23:26:29 | [Mutex] isItemNotified: uk01y60230:forbidden :: true 2020-09-23 23:26:29 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-23 23:26:29 | command: <command><fields><item><var>jid</var><value>user_regularma6x540217@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_whitelistv1hf2o0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-23 23:26:29 | target: http://localhost:8088 2020-09-23 23:26:29 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-09-23 23:26:29 | entity: <command><fields><item><var>jid</var><value>user_regularma6x540217@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_whitelistv1hf2o0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-23 23:26:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 06:26:29 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-23 23:26: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: CUSTOM (domains list: 1|allow|self;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistv1hf2o0218@test-domain.com;4|deny|all) for user: user_regularma6x540217@test-domain.com</value> </item> </fields> </command> 2020-09-23 23:26:29 | contains: true 2020-09-23 23:26:30 | [Mutex] waiting for: [msg:wwolz70233] 2020-09-23 23:26:30 | [Mutex] received everything. 2020-09-23 23:26:30 | [Mutex] isItemNotified: msg:wwolz70233 :: true 2020-09-23 23:26:30 | [Mutex] waiting for: [msg:llktd0235] 2020-09-23 23:26:30 | [Mutex] received everything. 2020-09-23 23:26:30 | [Mutex] isItemNotified: msg:llktd0235 :: true 2020-09-23 23:26:30 | [Mutex] received everything. 2020-09-23 23:26:30 | [Mutex] isItemNotified: 1268hj0236:forbidden :: true |