Test duration : 6.481s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.331s |
2021-05-27 10:01:41 |
2021-05-27 10:01:41 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-05-27 10:01:41 | ------------------------------------ 2021-05-27 10:01:41 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-27 10:01:41 | command: <command><fields><item><var>jid</var><value>user_regulargbsdt30214@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-05-27 10:01:41 | target: http://localhost:8088 2021-05-27 10:01:41 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-05-27 10:01:41 | entity: <command><fields><item><var>jid</var><value>user_regulargbsdt30214@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-05-27 10:01:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:01:41 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-27 10:01:41 | 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_regulargbsdt30214@test-domain.com</value> </item> </fields> </command> 2021-05-27 10:01:41 | contains: true 2021-05-27 10:01:41 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-27 10:01:41 | command: <command><fields><item><var>jid</var><value>user_regulargbsdt30214@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-05-27 10:01:41 | target: http://localhost:8088 2021-05-27 10:01:41 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-05-27 10:01:41 | entity: <command><fields><item><var>jid</var><value>user_regulargbsdt30214@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-05-27 10:01:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:01:41 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-27 10:01:41 | 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_regulargbsdt30214@test-domain.com</value> </item> </fields> </command> 2021-05-27 10:01:41 | contains: true |
testMessageFiltering | 2.639s |
2021-05-27 10:01:43 |
2021-05-27 10:01:43 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-05-27 10:01:43 | ------------------------------------ 2021-05-27 10:01:43 | [Mutex] waiting for: [msg:o8nwk90221] 2021-05-27 10:01:43 | [Mutex] received everything. 2021-05-27 10:01:43 | [Mutex] isItemNotified: msg:o8nwk90221 :: true 2021-05-27 10:01:43 | [Mutex] waiting for: [msg:j300700223] 2021-05-27 10:01:43 | [Mutex] received everything. 2021-05-27 10:01:43 | [Mutex] isItemNotified: msg:j300700223 :: true 2021-05-27 10:01:43 | [Mutex] waiting for: [msg:grro3y0225] 2021-05-27 10:01:43 | [Mutex] received everything. 2021-05-27 10:01:43 | [Mutex] isItemNotified: msg:grro3y0225 :: true 2021-05-27 10:01:43 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-27 10:01:43 | command: <command><fields><item><var>jid</var><value>user_regular3gwazg0217@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-05-27 10:01:43 | target: http://localhost:8088 2021-05-27 10:01:43 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-05-27 10:01:43 | entity: <command><fields><item><var>jid</var><value>user_regular3gwazg0217@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-05-27 10:01:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:01:43 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-27 10:01:43 | 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_regular3gwazg0217@test-domain.com</value> </item> </fields> </command> 2021-05-27 10:01:43 | contains: true 2021-05-27 10:01:44 | [Mutex] waiting for: [msg:czqh9u0227] 2021-05-27 10:01:44 | [Mutex] received everything. 2021-05-27 10:01:44 | [Mutex] isItemNotified: msg:czqh9u0227 :: true 2021-05-27 10:01:44 | [Mutex] waiting for: [nva7u90228:forbidden] 2021-05-27 10:01:44 | [Mutex] received everything. 2021-05-27 10:01:44 | [Mutex] isItemNotified: nva7u90228:forbidden :: true 2021-05-27 10:01:44 | [Mutex] waiting for: [21oq390230:forbidden] 2021-05-27 10:01:44 | [Mutex] received everything. 2021-05-27 10:01:44 | [Mutex] isItemNotified: 21oq390230:forbidden :: true 2021-05-27 10:01:44 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-27 10:01:44 | command: <command><fields><item><var>jid</var><value>user_regular3gwazg0217@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_whitelistxslo20218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-05-27 10:01:44 | target: http://localhost:8088 2021-05-27 10:01:44 | entity: [Content-Type: application/xml,Content-Length: 340,Chunked: false] 2021-05-27 10:01:44 | entity: <command><fields><item><var>jid</var><value>user_regular3gwazg0217@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_whitelistxslo20218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-05-27 10:01:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:01:44 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-27 10:01:44 | 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_whitelistxslo20218@test-domain.com;4|deny|all) for user: user_regular3gwazg0217@test-domain.com</value> </item> </fields> </command> 2021-05-27 10:01:44 | contains: true 2021-05-27 10:01:45 | [Mutex] waiting for: [msg:jlyooa0233] 2021-05-27 10:01:45 | [Mutex] received everything. 2021-05-27 10:01:45 | [Mutex] isItemNotified: msg:jlyooa0233 :: true 2021-05-27 10:01:45 | [Mutex] waiting for: [msg:nz1wc60235] 2021-05-27 10:01:45 | [Mutex] received everything. 2021-05-27 10:01:45 | [Mutex] isItemNotified: msg:nz1wc60235 :: true 2021-05-27 10:01:45 | [Mutex] waiting for: [hny96e0236:forbidden] 2021-05-27 10:01:45 | [Mutex] received everything. 2021-05-27 10:01:45 | [Mutex] isItemNotified: hny96e0236:forbidden :: true |