Test duration : 6.495s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.247s |
2021-03-21 23:00:10 |
2021-03-21 23:00:10 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-03-21 23:00:10 | ------------------------------------ 2021-03-21 23:00:10 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-03-21 23:00:10 | command: <command><fields><item><var>jid</var><value>user_regularugmkfh0214@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-03-21 23:00:10 | target: http://localhost:8088 2021-03-21 23:00:10 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-03-21 23:00:10 | entity: <command><fields><item><var>jid</var><value>user_regularugmkfh0214@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-03-21 23:00:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 06:00:10 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-03-21 23:00:10 | 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_regularugmkfh0214@test-domain.com</value> </item> </fields> </command> 2021-03-21 23:00:10 | contains: true 2021-03-21 23:00:10 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-03-21 23:00:10 | command: <command><fields><item><var>jid</var><value>user_regularugmkfh0214@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-03-21 23:00:10 | target: http://localhost:8088 2021-03-21 23:00:10 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-03-21 23:00:10 | entity: <command><fields><item><var>jid</var><value>user_regularugmkfh0214@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-03-21 23:00:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 06:00:10 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-03-21 23:00:10 | 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_regularugmkfh0214@test-domain.com</value> </item> </fields> </command> 2021-03-21 23:00:10 | contains: true |
testMessageFiltering | 2.596s |
2021-03-21 23:00:12 |
2021-03-21 23:00:12 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-03-21 23:00:12 | ------------------------------------ 2021-03-21 23:00:12 | [Mutex] waiting for: [msg:k0myye0221] 2021-03-21 23:00:12 | [Mutex] received everything. 2021-03-21 23:00:12 | [Mutex] isItemNotified: msg:k0myye0221 :: true 2021-03-21 23:00:12 | [Mutex] waiting for: [msg:i00ojb0223] 2021-03-21 23:00:12 | [Mutex] received everything. 2021-03-21 23:00:12 | [Mutex] isItemNotified: msg:i00ojb0223 :: true 2021-03-21 23:00:12 | [Mutex] waiting for: [msg:bnm4bo0225] 2021-03-21 23:00:12 | [Mutex] received everything. 2021-03-21 23:00:12 | [Mutex] isItemNotified: msg:bnm4bo0225 :: true 2021-03-21 23:00:12 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-03-21 23:00:12 | command: <command><fields><item><var>jid</var><value>user_regularas5czk0217@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-03-21 23:00:12 | target: http://localhost:8088 2021-03-21 23:00:12 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-03-21 23:00:12 | entity: <command><fields><item><var>jid</var><value>user_regularas5czk0217@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-03-21 23:00:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 06:00:12 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-03-21 23:00:12 | 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_regularas5czk0217@test-domain.com</value> </item> </fields> </command> 2021-03-21 23:00:12 | contains: true 2021-03-21 23:00:13 | [Mutex] waiting for: [msg:kshzl70227] 2021-03-21 23:00:13 | [Mutex] received everything. 2021-03-21 23:00:13 | [Mutex] isItemNotified: msg:kshzl70227 :: true 2021-03-21 23:00:13 | [Mutex] waiting for: [udl4nl0228:forbidden] 2021-03-21 23:00:13 | [Mutex] received everything. 2021-03-21 23:00:13 | [Mutex] isItemNotified: udl4nl0228:forbidden :: true 2021-03-21 23:00:13 | [Mutex] waiting for: [8sm24a0230:forbidden] 2021-03-21 23:00:13 | [Mutex] waiting for: [8sm24a0230:forbidden] 2021-03-21 23:00:13 | [Mutex] received everything. 2021-03-21 23:00:13 | [Mutex] isItemNotified: 8sm24a0230:forbidden :: true 2021-03-21 23:00:13 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-03-21 23:00:13 | command: <command><fields><item><var>jid</var><value>user_regularas5czk0217@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_whitelist928jmx0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-03-21 23:00:13 | target: http://localhost:8088 2021-03-21 23:00:13 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-03-21 23:00:13 | entity: <command><fields><item><var>jid</var><value>user_regularas5czk0217@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_whitelist928jmx0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-03-21 23:00:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 06:00:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-03-21 23:00:13 | 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_whitelist928jmx0218@test-domain.com;4|deny|all) for user: user_regularas5czk0217@test-domain.com</value> </item> </fields> </command> 2021-03-21 23:00:13 | contains: true 2021-03-21 23:00:14 | [Mutex] waiting for: [msg:a8483w0233] 2021-03-21 23:00:14 | [Mutex] received everything. 2021-03-21 23:00:14 | [Mutex] isItemNotified: msg:a8483w0233 :: true 2021-03-21 23:00:14 | [Mutex] waiting for: [msg:4e6q5k0235] 2021-03-21 23:00:14 | [Mutex] received everything. 2021-03-21 23:00:14 | [Mutex] isItemNotified: msg:4e6q5k0235 :: true 2021-03-21 23:00:14 | [Mutex] waiting for: [5kfv7i0236:forbidden] 2021-03-21 23:00:14 | [Mutex] received everything. 2021-03-21 23:00:14 | [Mutex] isItemNotified: 5kfv7i0236:forbidden :: true |