Test duration : 7.108s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.327s |
2021-01-03 21:36:58 |
2021-01-03 21:36:58 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-01-03 21:36:58 | ------------------------------------ 2021-01-03 21:36:58 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-03 21:36:58 | command: <command><fields><item><var>jid</var><value>user_regular7pwp0h0214@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-01-03 21:36:58 | target: http://localhost:8088 2021-01-03 21:36:58 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-01-03 21:36:58 | entity: <command><fields><item><var>jid</var><value>user_regular7pwp0h0214@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-01-03 21:36:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:36:58 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-03 21:36:58 | 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_regular7pwp0h0214@test-domain.com</value> </item> </fields> </command> 2021-01-03 21:36:58 | contains: true 2021-01-03 21:36:58 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-03 21:36:58 | command: <command><fields><item><var>jid</var><value>user_regular7pwp0h0214@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-01-03 21:36:58 | target: http://localhost:8088 2021-01-03 21:36:58 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-01-03 21:36:58 | entity: <command><fields><item><var>jid</var><value>user_regular7pwp0h0214@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-01-03 21:36:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:36:58 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-03 21:36:58 | 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_regular7pwp0h0214@test-domain.com</value> </item> </fields> </command> 2021-01-03 21:36:58 | contains: true |
testMessageFiltering | 2.826s |
2021-01-03 21:37:00 |
2021-01-03 21:37:00 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-01-03 21:37:00 | ------------------------------------ 2021-01-03 21:37:00 | [Mutex] waiting for: [msg:4janlt0221] 2021-01-03 21:37:00 | [Mutex] received everything. 2021-01-03 21:37:00 | [Mutex] isItemNotified: msg:4janlt0221 :: true 2021-01-03 21:37:00 | [Mutex] waiting for: [msg:jmbnez0223] 2021-01-03 21:37:00 | [Mutex] received everything. 2021-01-03 21:37:00 | [Mutex] isItemNotified: msg:jmbnez0223 :: true 2021-01-03 21:37:00 | [Mutex] waiting for: [msg:2460lh0225] 2021-01-03 21:37:00 | [Mutex] received everything. 2021-01-03 21:37:00 | [Mutex] isItemNotified: msg:2460lh0225 :: true 2021-01-03 21:37:00 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-03 21:37:00 | command: <command><fields><item><var>jid</var><value>user_regular5vyw190217@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-01-03 21:37:00 | target: http://localhost:8088 2021-01-03 21:37:00 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-01-03 21:37:00 | entity: <command><fields><item><var>jid</var><value>user_regular5vyw190217@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-01-03 21:37:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:37:00 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-03 21:37:00 | 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_regular5vyw190217@test-domain.com</value> </item> </fields> </command> 2021-01-03 21:37:00 | contains: true 2021-01-03 21:37:01 | [Mutex] waiting for: [msg:nc639v0227] 2021-01-03 21:37:01 | [Mutex] received everything. 2021-01-03 21:37:01 | [Mutex] isItemNotified: msg:nc639v0227 :: true 2021-01-03 21:37:01 | [Mutex] waiting for: [rkktpx0228:forbidden] 2021-01-03 21:37:01 | [Mutex] received everything. 2021-01-03 21:37:01 | [Mutex] isItemNotified: rkktpx0228:forbidden :: true 2021-01-03 21:37:01 | [Mutex] waiting for: [blh3s30230:forbidden] 2021-01-03 21:37:01 | [Mutex] received everything. 2021-01-03 21:37:01 | [Mutex] isItemNotified: blh3s30230:forbidden :: true 2021-01-03 21:37:01 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-03 21:37:01 | command: <command><fields><item><var>jid</var><value>user_regular5vyw190217@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_whitelistuox2ey0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-01-03 21:37:01 | target: http://localhost:8088 2021-01-03 21:37:01 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-01-03 21:37:01 | entity: <command><fields><item><var>jid</var><value>user_regular5vyw190217@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_whitelistuox2ey0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-01-03 21:37:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:37:01 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-03 21:37:01 | 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_whitelistuox2ey0218@test-domain.com;4|deny|all) for user: user_regular5vyw190217@test-domain.com</value> </item> </fields> </command> 2021-01-03 21:37:01 | contains: true 2021-01-03 21:37:03 | [Mutex] waiting for: [msg:ge6n860233] 2021-01-03 21:37:03 | [Mutex] received everything. 2021-01-03 21:37:03 | [Mutex] isItemNotified: msg:ge6n860233 :: true 2021-01-03 21:37:03 | [Mutex] waiting for: [msg:x36fq0235] 2021-01-03 21:37:03 | [Mutex] received everything. 2021-01-03 21:37:03 | [Mutex] isItemNotified: msg:x36fq0235 :: true 2021-01-03 21:37:03 | [Mutex] waiting for: [i2fuy80236:forbidden] 2021-01-03 21:37:03 | [Mutex] received everything. 2021-01-03 21:37:03 | [Mutex] isItemNotified: i2fuy80236:forbidden :: true |