Test duration : 5.903s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.235s |
2021-04-21 22:46:24 |
2021-04-21 22:46:24 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-04-21 22:46:24 | ------------------------------------ 2021-04-21 22:46:24 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-04-21 22:46:24 | command: <command><fields><item><var>jid</var><value>user_regularh8iacz0214@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-04-21 22:46:24 | target: http://localhost:8088 2021-04-21 22:46:24 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-04-21 22:46:24 | entity: <command><fields><item><var>jid</var><value>user_regularh8iacz0214@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-04-21 22:46:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:46:24 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-04-21 22:46:24 | 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_regularh8iacz0214@test-domain.com</value> </item> </fields> </command> 2021-04-21 22:46:24 | contains: true 2021-04-21 22:46:24 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-04-21 22:46:24 | command: <command><fields><item><var>jid</var><value>user_regularh8iacz0214@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-04-21 22:46:24 | target: http://localhost:8088 2021-04-21 22:46:24 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-04-21 22:46:24 | entity: <command><fields><item><var>jid</var><value>user_regularh8iacz0214@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-04-21 22:46:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:46:24 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-04-21 22:46:24 | 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_regularh8iacz0214@test-domain.com</value> </item> </fields> </command> 2021-04-21 22:46:24 | contains: true |
testMessageFiltering | 2.682s |
2021-04-21 22:46:26 |
2021-04-21 22:46:26 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-04-21 22:46:26 | ------------------------------------ 2021-04-21 22:46:26 | [Mutex] waiting for: [msg:qy1vta0221] 2021-04-21 22:46:26 | [Mutex] received everything. 2021-04-21 22:46:26 | [Mutex] isItemNotified: msg:qy1vta0221 :: true 2021-04-21 22:46:26 | [Mutex] waiting for: [msg:abcr4v0223] 2021-04-21 22:46:26 | [Mutex] received everything. 2021-04-21 22:46:26 | [Mutex] isItemNotified: msg:abcr4v0223 :: true 2021-04-21 22:46:26 | [Mutex] waiting for: [msg:b1svq70225] 2021-04-21 22:46:26 | [Mutex] received everything. 2021-04-21 22:46:26 | [Mutex] isItemNotified: msg:b1svq70225 :: true 2021-04-21 22:46:26 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-04-21 22:46:26 | command: <command><fields><item><var>jid</var><value>user_regularlhbz490217@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-04-21 22:46:26 | target: http://localhost:8088 2021-04-21 22:46:26 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-04-21 22:46:26 | entity: <command><fields><item><var>jid</var><value>user_regularlhbz490217@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-04-21 22:46:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:46:26 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-04-21 22:46: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: null (domains list: ) to a new value: CUSTOM (domains list: 1|allow|self;4|deny|all) for user: user_regularlhbz490217@test-domain.com</value> </item> </fields> </command> 2021-04-21 22:46:26 | contains: true 2021-04-21 22:46:27 | [Mutex] waiting for: [msg:tro4l30227] 2021-04-21 22:46:27 | [Mutex] received everything. 2021-04-21 22:46:27 | [Mutex] isItemNotified: msg:tro4l30227 :: true 2021-04-21 22:46:27 | [Mutex] waiting for: [uw598x0228:forbidden] 2021-04-21 22:46:27 | [Mutex] received everything. 2021-04-21 22:46:27 | [Mutex] isItemNotified: uw598x0228:forbidden :: true 2021-04-21 22:46:27 | [Mutex] waiting for: [lri2np0230:forbidden] 2021-04-21 22:46:27 | [Mutex] received everything. 2021-04-21 22:46:27 | [Mutex] isItemNotified: lri2np0230:forbidden :: true 2021-04-21 22:46:27 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-04-21 22:46:27 | command: <command><fields><item><var>jid</var><value>user_regularlhbz490217@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_whitelistbuxsf80218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-04-21 22:46:27 | target: http://localhost:8088 2021-04-21 22:46:27 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-04-21 22:46:27 | entity: <command><fields><item><var>jid</var><value>user_regularlhbz490217@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_whitelistbuxsf80218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-04-21 22:46:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:46:27 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-04-21 22:46: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: CUSTOM (domains list: 1|allow|self;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistbuxsf80218@test-domain.com;4|deny|all) for user: user_regularlhbz490217@test-domain.com</value> </item> </fields> </command> 2021-04-21 22:46:27 | contains: true 2021-04-21 22:46:28 | [Mutex] waiting for: [msg:ye63p50233] 2021-04-21 22:46:28 | [Mutex] received everything. 2021-04-21 22:46:28 | [Mutex] isItemNotified: msg:ye63p50233 :: true 2021-04-21 22:46:28 | [Mutex] waiting for: [msg:vzva9y0235] 2021-04-21 22:46:28 | [Mutex] received everything. 2021-04-21 22:46:28 | [Mutex] isItemNotified: msg:vzva9y0235 :: true 2021-04-21 22:46:28 | [Mutex] received everything. 2021-04-21 22:46:28 | [Mutex] isItemNotified: 4kftro0236:forbidden :: true |