Test duration : 7.129s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.258s |
2021-01-21 21:32:19 |
2021-01-21 21:32:19 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-01-21 21:32:19 | ------------------------------------ 2021-01-21 21:32:19 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-21 21:32:19 | command: <command><fields><item><var>jid</var><value>user_regularaffi530214@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> 2021-01-21 21:32:19 | target: http://localhost:8088 2021-01-21 21:32:19 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-01-21 21:32:19 | entity: <command><fields><item><var>jid</var><value>user_regularaffi530214@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> 2021-01-21 21:32:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:32:19 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-21 21:32: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: 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_regularaffi530214@test-domain.com</value> </item> </fields> </command> 2021-01-21 21:32:19 | contains: true 2021-01-21 21:32:19 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-21 21:32:19 | command: <command><fields><item><var>jid</var><value>user_regularaffi530214@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> 2021-01-21 21:32:19 | target: http://localhost:8088 2021-01-21 21:32:19 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-01-21 21:32:19 | entity: <command><fields><item><var>jid</var><value>user_regularaffi530214@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> 2021-01-21 21:32:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:32:19 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-21 21:32: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;2|allow|jid|admin@test-domain.com;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|all) for user: user_regularaffi530214@test-domain.com</value> </item> </fields> </command> 2021-01-21 21:32:19 | contains: true |
testMessageFiltering | 2.708s |
2021-01-21 21:32:21 |
2021-01-21 21:32:21 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-01-21 21:32:21 | ------------------------------------ 2021-01-21 21:32:21 | [Mutex] waiting for: [msg:dbzbf10221] 2021-01-21 21:32:21 | [Mutex] received everything. 2021-01-21 21:32:21 | [Mutex] isItemNotified: msg:dbzbf10221 :: true 2021-01-21 21:32:21 | [Mutex] waiting for: [msg:4exe360223] 2021-01-21 21:32:21 | [Mutex] received everything. 2021-01-21 21:32:21 | [Mutex] isItemNotified: msg:4exe360223 :: true 2021-01-21 21:32:21 | [Mutex] waiting for: [msg:gpzy6m0225] 2021-01-21 21:32:21 | [Mutex] received everything. 2021-01-21 21:32:21 | [Mutex] isItemNotified: msg:gpzy6m0225 :: true 2021-01-21 21:32:21 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-21 21:32:21 | command: <command><fields><item><var>jid</var><value>user_regulard2v3bk0217@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> 2021-01-21 21:32:21 | target: http://localhost:8088 2021-01-21 21:32:21 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-01-21 21:32:21 | entity: <command><fields><item><var>jid</var><value>user_regulard2v3bk0217@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> 2021-01-21 21:32:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:32:21 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-21 21:32:21 | 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_regulard2v3bk0217@test-domain.com</value> </item> </fields> </command> 2021-01-21 21:32:21 | contains: true 2021-01-21 21:32:23 | [Mutex] waiting for: [msg:fkg1ws0227] 2021-01-21 21:32:23 | [Mutex] received everything. 2021-01-21 21:32:23 | [Mutex] isItemNotified: msg:fkg1ws0227 :: true 2021-01-21 21:32:23 | [Mutex] waiting for: [qdau1c0228:forbidden] 2021-01-21 21:32:23 | [Mutex] received everything. 2021-01-21 21:32:23 | [Mutex] isItemNotified: qdau1c0228:forbidden :: true 2021-01-21 21:32:23 | [Mutex] waiting for: [m9hzf20230:forbidden] 2021-01-21 21:32:23 | [Mutex] received everything. 2021-01-21 21:32:23 | [Mutex] isItemNotified: m9hzf20230:forbidden :: true 2021-01-21 21:32:23 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-21 21:32:23 | command: <command><fields><item><var>jid</var><value>user_regulard2v3bk0217@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_whitelistcbmai60218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-01-21 21:32:23 | target: http://localhost:8088 2021-01-21 21:32:23 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-01-21 21:32:23 | entity: <command><fields><item><var>jid</var><value>user_regulard2v3bk0217@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_whitelistcbmai60218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-01-21 21:32:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:32:23 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-21 21:32: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_whitelistcbmai60218@test-domain.com;4|deny|all) for user: user_regulard2v3bk0217@test-domain.com</value> </item> </fields> </command> 2021-01-21 21:32:23 | contains: true 2021-01-21 21:32:24 | [Mutex] waiting for: [msg:3el9id0233] 2021-01-21 21:32:24 | [Mutex] received everything. 2021-01-21 21:32:24 | [Mutex] isItemNotified: msg:3el9id0233 :: true 2021-01-21 21:32:24 | [Mutex] waiting for: [msg:y0dmpz0235] 2021-01-21 21:32:24 | [Mutex] received everything. 2021-01-21 21:32:24 | [Mutex] isItemNotified: msg:y0dmpz0235 :: true 2021-01-21 21:32:24 | [Mutex] waiting for: [rbsa0d0236:forbidden] 2021-01-21 21:32:24 | [Mutex] received everything. 2021-01-21 21:32:24 | [Mutex] isItemNotified: rbsa0d0236:forbidden :: true |