Test duration : 6.176s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.224s |
2021-02-23 21:56:54 |
2021-02-23 21:56:54 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-23 21:56:54 | ------------------------------------ 2021-02-23 21:56:54 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-23 21:56:54 | command: <command><fields><item><var>jid</var><value>user_regular5dl1n50214@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-23 21:56:54 | target: http://localhost:8088 2021-02-23 21:56:54 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-02-23 21:56:54 | entity: <command><fields><item><var>jid</var><value>user_regular5dl1n50214@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-23 21:56:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:56:54 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-23 21:56:54 | 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_regular5dl1n50214@test-domain.com</value> </item> </fields> </command> 2021-02-23 21:56:54 | contains: true 2021-02-23 21:56:54 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-23 21:56:54 | command: <command><fields><item><var>jid</var><value>user_regular5dl1n50214@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-23 21:56:54 | target: http://localhost:8088 2021-02-23 21:56:54 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-02-23 21:56:54 | entity: <command><fields><item><var>jid</var><value>user_regular5dl1n50214@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-23 21:56:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:56:54 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-23 21:56:54 | 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_regular5dl1n50214@test-domain.com</value> </item> </fields> </command> 2021-02-23 21:56:54 | contains: true |
testMessageFiltering | 2.618s |
2021-02-23 21:56:56 |
2021-02-23 21:56:56 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-23 21:56:56 | ------------------------------------ 2021-02-23 21:56:56 | [Mutex] waiting for: [msg:oxpo2j0221] 2021-02-23 21:56:56 | [Mutex] received everything. 2021-02-23 21:56:56 | [Mutex] isItemNotified: msg:oxpo2j0221 :: true 2021-02-23 21:56:56 | [Mutex] waiting for: [msg:clw5ri0223] 2021-02-23 21:56:56 | [Mutex] received everything. 2021-02-23 21:56:56 | [Mutex] isItemNotified: msg:clw5ri0223 :: true 2021-02-23 21:56:56 | [Mutex] waiting for: [msg:bs9yyx0225] 2021-02-23 21:56:56 | [Mutex] received everything. 2021-02-23 21:56:56 | [Mutex] isItemNotified: msg:bs9yyx0225 :: true 2021-02-23 21:56:56 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-23 21:56:56 | command: <command><fields><item><var>jid</var><value>user_regular1vig0c0217@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-23 21:56:56 | target: http://localhost:8088 2021-02-23 21:56:56 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-02-23 21:56:56 | entity: <command><fields><item><var>jid</var><value>user_regular1vig0c0217@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-23 21:56:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:56:56 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-23 21:56:56 | 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_regular1vig0c0217@test-domain.com</value> </item> </fields> </command> 2021-02-23 21:56:56 | contains: true 2021-02-23 21:56:57 | [Mutex] waiting for: [msg:ct5kiw0227] 2021-02-23 21:56:57 | [Mutex] received everything. 2021-02-23 21:56:57 | [Mutex] isItemNotified: msg:ct5kiw0227 :: true 2021-02-23 21:56:57 | [Mutex] waiting for: [6a9j7l0228:forbidden] 2021-02-23 21:56:57 | [Mutex] received everything. 2021-02-23 21:56:57 | [Mutex] isItemNotified: 6a9j7l0228:forbidden :: true 2021-02-23 21:56:57 | [Mutex] waiting for: [cmdkm30230:forbidden] 2021-02-23 21:56:57 | [Mutex] received everything. 2021-02-23 21:56:57 | [Mutex] isItemNotified: cmdkm30230:forbidden :: true 2021-02-23 21:56:57 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-23 21:56:57 | command: <command><fields><item><var>jid</var><value>user_regular1vig0c0217@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_whitelist1m56o20218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-23 21:56:57 | target: http://localhost:8088 2021-02-23 21:56:57 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-02-23 21:56:57 | entity: <command><fields><item><var>jid</var><value>user_regular1vig0c0217@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_whitelist1m56o20218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-23 21:56:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:56:57 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-23 21:56:57 | 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_whitelist1m56o20218@test-domain.com;4|deny|all) for user: user_regular1vig0c0217@test-domain.com</value> </item> </fields> </command> 2021-02-23 21:56:57 | contains: true 2021-02-23 21:56:58 | [Mutex] waiting for: [msg:cs0gf10233] 2021-02-23 21:56:58 | [Mutex] received everything. 2021-02-23 21:56:58 | [Mutex] isItemNotified: msg:cs0gf10233 :: true 2021-02-23 21:56:58 | [Mutex] waiting for: [msg:w2gxyj0235] 2021-02-23 21:56:58 | [Mutex] received everything. 2021-02-23 21:56:58 | [Mutex] isItemNotified: msg:w2gxyj0235 :: true 2021-02-23 21:56:58 | [Mutex] received everything. 2021-02-23 21:56:58 | [Mutex] isItemNotified: 32leyn0236:forbidden :: true |