Test duration : 6.388s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.239s |
2021-02-18 22:01:26 |
2021-02-18 22:01:26 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-18 22:01:26 | ------------------------------------ 2021-02-18 22:01:26 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-18 22:01:26 | command: <command><fields><item><var>jid</var><value>user_regular7v65840214@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-02-18 22:01:26 | target: http://localhost:8088 2021-02-18 22:01:26 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-02-18 22:01:26 | entity: <command><fields><item><var>jid</var><value>user_regular7v65840214@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-02-18 22:01:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:01:26 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-18 22:01: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;2|allow|jid|admin@test-domain.com;4|deny|all) for user: user_regular7v65840214@test-domain.com</value> </item> </fields> </command> 2021-02-18 22:01:26 | contains: true 2021-02-18 22:01:26 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-18 22:01:26 | command: <command><fields><item><var>jid</var><value>user_regular7v65840214@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-02-18 22:01:26 | target: http://localhost:8088 2021-02-18 22:01:26 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-02-18 22:01:26 | entity: <command><fields><item><var>jid</var><value>user_regular7v65840214@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-02-18 22:01:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:01:26 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-18 22:01: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: 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_regular7v65840214@test-domain.com</value> </item> </fields> </command> 2021-02-18 22:01:26 | contains: true |
testMessageFiltering | 2.631s |
2021-02-18 22:01:28 |
2021-02-18 22:01:28 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-18 22:01:28 | ------------------------------------ 2021-02-18 22:01:28 | [Mutex] waiting for: [msg:c7r6wd0221] 2021-02-18 22:01:28 | [Mutex] received everything. 2021-02-18 22:01:28 | [Mutex] isItemNotified: msg:c7r6wd0221 :: true 2021-02-18 22:01:28 | [Mutex] waiting for: [msg:gffpvc0223] 2021-02-18 22:01:28 | [Mutex] received everything. 2021-02-18 22:01:28 | [Mutex] isItemNotified: msg:gffpvc0223 :: true 2021-02-18 22:01:28 | [Mutex] waiting for: [msg:gptu5j0225] 2021-02-18 22:01:28 | [Mutex] received everything. 2021-02-18 22:01:28 | [Mutex] isItemNotified: msg:gptu5j0225 :: true 2021-02-18 22:01:28 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-18 22:01:28 | command: <command><fields><item><var>jid</var><value>user_regularyv3efo0217@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-02-18 22:01:28 | target: http://localhost:8088 2021-02-18 22:01:28 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-02-18 22:01:28 | entity: <command><fields><item><var>jid</var><value>user_regularyv3efo0217@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-02-18 22:01:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:01:28 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-18 22:01:28 | 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_regularyv3efo0217@test-domain.com</value> </item> </fields> </command> 2021-02-18 22:01:28 | contains: true 2021-02-18 22:01:29 | [Mutex] waiting for: [msg:fuvchu0227] 2021-02-18 22:01:29 | [Mutex] received everything. 2021-02-18 22:01:29 | [Mutex] isItemNotified: msg:fuvchu0227 :: true 2021-02-18 22:01:29 | [Mutex] waiting for: [a1s7w60228:forbidden] 2021-02-18 22:01:29 | [Mutex] received everything. 2021-02-18 22:01:29 | [Mutex] isItemNotified: a1s7w60228:forbidden :: true 2021-02-18 22:01:29 | [Mutex] waiting for: [dzxpay0230:forbidden] 2021-02-18 22:01:29 | [Mutex] received everything. 2021-02-18 22:01:29 | [Mutex] isItemNotified: dzxpay0230:forbidden :: true 2021-02-18 22:01:29 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-18 22:01:29 | command: <command><fields><item><var>jid</var><value>user_regularyv3efo0217@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_whitelist32dxqo0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-18 22:01:29 | target: http://localhost:8088 2021-02-18 22:01:29 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-02-18 22:01:29 | entity: <command><fields><item><var>jid</var><value>user_regularyv3efo0217@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_whitelist32dxqo0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-18 22:01:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 06:01:29 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-18 22:01:29 | 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_whitelist32dxqo0218@test-domain.com;4|deny|all) for user: user_regularyv3efo0217@test-domain.com</value> </item> </fields> </command> 2021-02-18 22:01:29 | contains: true 2021-02-18 22:01:30 | [Mutex] waiting for: [msg:vsya8x0233] 2021-02-18 22:01:31 | [Mutex] received everything. 2021-02-18 22:01:31 | [Mutex] isItemNotified: msg:vsya8x0233 :: true 2021-02-18 22:01:31 | [Mutex] waiting for: [msg:ao2ir80235] 2021-02-18 22:01:31 | [Mutex] received everything. 2021-02-18 22:01:31 | [Mutex] isItemNotified: msg:ao2ir80235 :: true 2021-02-18 22:01:31 | [Mutex] waiting for: [d96t800236:forbidden] 2021-02-18 22:01:31 | [Mutex] received everything. 2021-02-18 22:01:31 | [Mutex] isItemNotified: d96t800236:forbidden :: true |