Test duration : 5.850s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.243s |
2021-09-13 23:15:47 |
2021-09-13 23:15:47 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-09-13 23:15:47 | ------------------------------------ 2021-09-13 23:15:47 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-09-13 23:15:47 | command: <command><fields><item><var>jid</var><value>user_regularcul23o0214@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-09-13 23:15:47 | target: http://localhost:8088 2021-09-13 23:15:47 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-09-13 23:15:47 | entity: <command><fields><item><var>jid</var><value>user_regularcul23o0214@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-09-13 23:15:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:15:47 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-09-13 23:15:47 | 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_regularcul23o0214@test-domain.com</value> </item> </fields> </command> 2021-09-13 23:15:47 | contains: true 2021-09-13 23:15:47 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-09-13 23:15:47 | command: <command><fields><item><var>jid</var><value>user_regularcul23o0214@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-09-13 23:15:47 | target: http://localhost:8088 2021-09-13 23:15:47 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-09-13 23:15:47 | entity: <command><fields><item><var>jid</var><value>user_regularcul23o0214@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-09-13 23:15:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:15:47 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-09-13 23:15:47 | 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_regularcul23o0214@test-domain.com</value> </item> </fields> </command> 2021-09-13 23:15:47 | contains: true |
testMessageFiltering | 2.559s |
2021-09-13 23:15:48 |
2021-09-13 23:15:48 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-09-13 23:15:48 | ------------------------------------ 2021-09-13 23:15:48 | [Mutex] waiting for: [msg:y0f4tc0221] 2021-09-13 23:15:48 | [Mutex] received everything. 2021-09-13 23:15:48 | [Mutex] isItemNotified: msg:y0f4tc0221 :: true 2021-09-13 23:15:48 | [Mutex] waiting for: [msg:n9cy940223] 2021-09-13 23:15:48 | [Mutex] received everything. 2021-09-13 23:15:48 | [Mutex] isItemNotified: msg:n9cy940223 :: true 2021-09-13 23:15:48 | [Mutex] waiting for: [msg:k3i8ry0225] 2021-09-13 23:15:48 | [Mutex] received everything. 2021-09-13 23:15:48 | [Mutex] isItemNotified: msg:k3i8ry0225 :: true 2021-09-13 23:15:48 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-09-13 23:15:48 | command: <command><fields><item><var>jid</var><value>user_regulartx8f0s0217@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-09-13 23:15:48 | target: http://localhost:8088 2021-09-13 23:15:48 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-09-13 23:15:48 | entity: <command><fields><item><var>jid</var><value>user_regulartx8f0s0217@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-09-13 23:15:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:15:48 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-09-13 23:15:48 | 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_regulartx8f0s0217@test-domain.com</value> </item> </fields> </command> 2021-09-13 23:15:48 | contains: true 2021-09-13 23:15:49 | [Mutex] waiting for: [msg:jd5k310227] 2021-09-13 23:15:49 | [Mutex] received everything. 2021-09-13 23:15:49 | [Mutex] isItemNotified: msg:jd5k310227 :: true 2021-09-13 23:15:49 | [Mutex] waiting for: [q58p4r0228:forbidden] 2021-09-13 23:15:49 | [Mutex] received everything. 2021-09-13 23:15:49 | [Mutex] isItemNotified: q58p4r0228:forbidden :: true 2021-09-13 23:15:49 | [Mutex] waiting for: [oiip9g0230:forbidden] 2021-09-13 23:15:49 | [Mutex] waiting for: [oiip9g0230:forbidden] 2021-09-13 23:15:49 | [Mutex] received everything. 2021-09-13 23:15:49 | [Mutex] isItemNotified: oiip9g0230:forbidden :: true 2021-09-13 23:15:49 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-09-13 23:15:49 | command: <command><fields><item><var>jid</var><value>user_regulartx8f0s0217@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_whitelistho15m60218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-09-13 23:15:49 | target: http://localhost:8088 2021-09-13 23:15:49 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-09-13 23:15:49 | entity: <command><fields><item><var>jid</var><value>user_regulartx8f0s0217@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_whitelistho15m60218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-09-13 23:15:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 06:15:49 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-09-13 23:15:49 | 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_whitelistho15m60218@test-domain.com;4|deny|all) for user: user_regulartx8f0s0217@test-domain.com</value> </item> </fields> </command> 2021-09-13 23:15:49 | contains: true 2021-09-13 23:15:51 | [Mutex] waiting for: [msg:are5ni0233] 2021-09-13 23:15:51 | [Mutex] received everything. 2021-09-13 23:15:51 | [Mutex] isItemNotified: msg:are5ni0233 :: true 2021-09-13 23:15:51 | [Mutex] waiting for: [msg:ksf270235] 2021-09-13 23:15:51 | [Mutex] received everything. 2021-09-13 23:15:51 | [Mutex] isItemNotified: msg:ksf270235 :: true 2021-09-13 23:15:51 | [Mutex] waiting for: [1wi0x0236:forbidden] 2021-09-13 23:15:51 | [Mutex] received everything. 2021-09-13 23:15:51 | [Mutex] isItemNotified: 1wi0x0236:forbidden :: true |