Test duration : 6.478s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.273s |
2020-09-19 00:36:16 |
2020-09-19 00:36:16 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-19 00:36:16 | ------------------------------------ 2020-09-19 00:36:16 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-19 00:36:16 | command: <command><fields><item><var>jid</var><value>user_regularlnbpq20214@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-19 00:36:16 | target: http://localhost:8088 2020-09-19 00:36:16 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-09-19 00:36:16 | entity: <command><fields><item><var>jid</var><value>user_regularlnbpq20214@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-19 00:36:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:36:16 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-19 00:36:16 | 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_regularlnbpq20214@test-domain.com</value> </item> </fields> </command> 2020-09-19 00:36:16 | contains: true 2020-09-19 00:36:16 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-19 00:36:16 | command: <command><fields><item><var>jid</var><value>user_regularlnbpq20214@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-19 00:36:16 | target: http://localhost:8088 2020-09-19 00:36:16 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-09-19 00:36:16 | entity: <command><fields><item><var>jid</var><value>user_regularlnbpq20214@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-19 00:36:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:36:16 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-19 00:36:16 | 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_regularlnbpq20214@test-domain.com</value> </item> </fields> </command> 2020-09-19 00:36:16 | contains: true |
testMessageFiltering | 2.736s |
2020-09-19 00:36:18 |
2020-09-19 00:36:18 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-19 00:36:18 | ------------------------------------ 2020-09-19 00:36:18 | [Mutex] waiting for: [msg:i9ut10221] 2020-09-19 00:36:18 | [Mutex] received everything. 2020-09-19 00:36:18 | [Mutex] isItemNotified: msg:i9ut10221 :: true 2020-09-19 00:36:18 | [Mutex] waiting for: [msg:l2jezq0223] 2020-09-19 00:36:18 | [Mutex] received everything. 2020-09-19 00:36:18 | [Mutex] isItemNotified: msg:l2jezq0223 :: true 2020-09-19 00:36:18 | [Mutex] waiting for: [msg:otvat10225] 2020-09-19 00:36:18 | [Mutex] received everything. 2020-09-19 00:36:18 | [Mutex] isItemNotified: msg:otvat10225 :: true 2020-09-19 00:36:18 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-19 00:36:18 | command: <command><fields><item><var>jid</var><value>user_regular5oftnv0217@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-19 00:36:18 | target: http://localhost:8088 2020-09-19 00:36:18 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-09-19 00:36:18 | entity: <command><fields><item><var>jid</var><value>user_regular5oftnv0217@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-19 00:36:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:36:18 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-19 00:36:18 | 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_regular5oftnv0217@test-domain.com</value> </item> </fields> </command> 2020-09-19 00:36:18 | contains: true 2020-09-19 00:36:19 | [Mutex] waiting for: [msg:iqxpue0227] 2020-09-19 00:36:19 | [Mutex] received everything. 2020-09-19 00:36:19 | [Mutex] isItemNotified: msg:iqxpue0227 :: true 2020-09-19 00:36:19 | [Mutex] waiting for: [8yqocu0228:forbidden] 2020-09-19 00:36:19 | [Mutex] received everything. 2020-09-19 00:36:19 | [Mutex] isItemNotified: 8yqocu0228:forbidden :: true 2020-09-19 00:36:19 | [Mutex] waiting for: [x0nvj60230:forbidden] 2020-09-19 00:36:19 | [Mutex] received everything. 2020-09-19 00:36:19 | [Mutex] isItemNotified: x0nvj60230:forbidden :: true 2020-09-19 00:36:19 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-19 00:36:19 | command: <command><fields><item><var>jid</var><value>user_regular5oftnv0217@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_whitelist2wv3qo0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-19 00:36:19 | target: http://localhost:8088 2020-09-19 00:36:19 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-09-19 00:36:19 | entity: <command><fields><item><var>jid</var><value>user_regular5oftnv0217@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_whitelist2wv3qo0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-19 00:36:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:36:19 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-19 00:36:19 | 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_whitelist2wv3qo0218@test-domain.com;4|deny|all) for user: user_regular5oftnv0217@test-domain.com</value> </item> </fields> </command> 2020-09-19 00:36:19 | contains: true 2020-09-19 00:36:20 | [Mutex] waiting for: [msg:thvpze0233] 2020-09-19 00:36:20 | [Mutex] received everything. 2020-09-19 00:36:20 | [Mutex] isItemNotified: msg:thvpze0233 :: true 2020-09-19 00:36:20 | [Mutex] waiting for: [msg:m4d3pl0235] 2020-09-19 00:36:20 | [Mutex] received everything. 2020-09-19 00:36:20 | [Mutex] isItemNotified: msg:m4d3pl0235 :: true 2020-09-19 00:36:20 | [Mutex] received everything. 2020-09-19 00:36:20 | [Mutex] isItemNotified: 89eo9a0236:forbidden :: true |