Test duration : 6.829s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.242s |
2020-09-20 22:40:31 |
2020-09-20 22:40:31 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-20 22:40:31 | ------------------------------------ 2020-09-20 22:40:31 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-20 22:40:31 | command: <command><fields><item><var>jid</var><value>user_regularz6jeir0214@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> 2020-09-20 22:40:31 | target: http://localhost:8088 2020-09-20 22:40:31 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-09-20 22:40:31 | entity: <command><fields><item><var>jid</var><value>user_regularz6jeir0214@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> 2020-09-20 22:40:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:40:31 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-20 22:40:31 | 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_regularz6jeir0214@test-domain.com</value> </item> </fields> </command> 2020-09-20 22:40:31 | contains: true 2020-09-20 22:40:31 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-20 22:40:31 | command: <command><fields><item><var>jid</var><value>user_regularz6jeir0214@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> 2020-09-20 22:40:31 | target: http://localhost:8088 2020-09-20 22:40:31 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-09-20 22:40:31 | entity: <command><fields><item><var>jid</var><value>user_regularz6jeir0214@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> 2020-09-20 22:40:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:40:31 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-20 22:40:31 | 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_regularz6jeir0214@test-domain.com</value> </item> </fields> </command> 2020-09-20 22:40:31 | contains: true |
testMessageFiltering | 2.649s |
2020-09-20 22:40:33 |
2020-09-20 22:40:33 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-20 22:40:33 | ------------------------------------ 2020-09-20 22:40:33 | [Mutex] waiting for: [msg:cbhf630221] 2020-09-20 22:40:33 | [Mutex] received everything. 2020-09-20 22:40:33 | [Mutex] isItemNotified: msg:cbhf630221 :: true 2020-09-20 22:40:33 | [Mutex] waiting for: [msg:3q9dut0223] 2020-09-20 22:40:33 | [Mutex] received everything. 2020-09-20 22:40:33 | [Mutex] isItemNotified: msg:3q9dut0223 :: true 2020-09-20 22:40:33 | [Mutex] waiting for: [msg:pmqm7h0225] 2020-09-20 22:40:33 | [Mutex] received everything. 2020-09-20 22:40:33 | [Mutex] isItemNotified: msg:pmqm7h0225 :: true 2020-09-20 22:40:33 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-20 22:40:33 | command: <command><fields><item><var>jid</var><value>user_regularkaaunv0217@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> 2020-09-20 22:40:33 | target: http://localhost:8088 2020-09-20 22:40:33 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-09-20 22:40:33 | entity: <command><fields><item><var>jid</var><value>user_regularkaaunv0217@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> 2020-09-20 22:40:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:40:33 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-20 22:40:33 | 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_regularkaaunv0217@test-domain.com</value> </item> </fields> </command> 2020-09-20 22:40:33 | contains: true 2020-09-20 22:40:35 | [Mutex] waiting for: [msg:2g3zf40227] 2020-09-20 22:40:35 | [Mutex] received everything. 2020-09-20 22:40:35 | [Mutex] isItemNotified: msg:2g3zf40227 :: true 2020-09-20 22:40:35 | [Mutex] waiting for: [v2gw280228:forbidden] 2020-09-20 22:40:35 | [Mutex] received everything. 2020-09-20 22:40:35 | [Mutex] isItemNotified: v2gw280228:forbidden :: true 2020-09-20 22:40:35 | [Mutex] waiting for: [2zoody0230:forbidden] 2020-09-20 22:40:35 | [Mutex] received everything. 2020-09-20 22:40:35 | [Mutex] isItemNotified: 2zoody0230:forbidden :: true 2020-09-20 22:40:35 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-20 22:40:35 | command: <command><fields><item><var>jid</var><value>user_regularkaaunv0217@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_whitelist4dpzhe0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-20 22:40:35 | target: http://localhost:8088 2020-09-20 22:40:35 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-09-20 22:40:35 | entity: <command><fields><item><var>jid</var><value>user_regularkaaunv0217@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_whitelist4dpzhe0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-20 22:40:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:40:35 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-20 22:40:35 | 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_whitelist4dpzhe0218@test-domain.com;4|deny|all) for user: user_regularkaaunv0217@test-domain.com</value> </item> </fields> </command> 2020-09-20 22:40:35 | contains: true 2020-09-20 22:40:36 | [Mutex] waiting for: [msg:mmdr7a0233] 2020-09-20 22:40:36 | [Mutex] received everything. 2020-09-20 22:40:36 | [Mutex] isItemNotified: msg:mmdr7a0233 :: true 2020-09-20 22:40:36 | [Mutex] waiting for: [msg:mb7o80235] 2020-09-20 22:40:36 | [Mutex] received everything. 2020-09-20 22:40:36 | [Mutex] isItemNotified: msg:mb7o80235 :: true 2020-09-20 22:40:36 | [Mutex] waiting for: [jm5qkk0236:forbidden] 2020-09-20 22:40:36 | [Mutex] received everything. 2020-09-20 22:40:36 | [Mutex] isItemNotified: jm5qkk0236:forbidden :: true |