Test duration : 6.783s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.231s |
2020-10-27 22:30:23 |
2020-10-27 22:30:23 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-10-27 22:30:23 | ------------------------------------ 2020-10-27 22:30:23 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-27 22:30:23 | command: <command><fields><item><var>jid</var><value>user_regularhawk2v0214@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-10-27 22:30:23 | target: http://localhost:8088 2020-10-27 22:30:23 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-10-27 22:30:23 | entity: <command><fields><item><var>jid</var><value>user_regularhawk2v0214@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-10-27 22:30:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:30:23 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-27 22:30:23 | 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_regularhawk2v0214@test-domain.com</value> </item> </fields> </command> 2020-10-27 22:30:23 | contains: true 2020-10-27 22:30:23 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-27 22:30:23 | command: <command><fields><item><var>jid</var><value>user_regularhawk2v0214@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-10-27 22:30:23 | target: http://localhost:8088 2020-10-27 22:30:23 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-10-27 22:30:23 | entity: <command><fields><item><var>jid</var><value>user_regularhawk2v0214@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-10-27 22:30:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:30:23 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-27 22:30:23 | 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_regularhawk2v0214@test-domain.com</value> </item> </fields> </command> 2020-10-27 22:30:23 | contains: true |
testMessageFiltering | 2.691s |
2020-10-27 22:30:25 |
2020-10-27 22:30:25 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-10-27 22:30:25 | ------------------------------------ 2020-10-27 22:30:25 | [Mutex] waiting for: [msg:q4yilj0221] 2020-10-27 22:30:25 | [Mutex] received everything. 2020-10-27 22:30:25 | [Mutex] isItemNotified: msg:q4yilj0221 :: true 2020-10-27 22:30:25 | [Mutex] waiting for: [msg:og0txi0223] 2020-10-27 22:30:25 | [Mutex] received everything. 2020-10-27 22:30:25 | [Mutex] isItemNotified: msg:og0txi0223 :: true 2020-10-27 22:30:25 | [Mutex] waiting for: [msg:sgl1jk0225] 2020-10-27 22:30:25 | [Mutex] received everything. 2020-10-27 22:30:25 | [Mutex] isItemNotified: msg:sgl1jk0225 :: true 2020-10-27 22:30:25 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-27 22:30:25 | command: <command><fields><item><var>jid</var><value>user_regularjgn0e30217@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-10-27 22:30:25 | target: http://localhost:8088 2020-10-27 22:30:25 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-10-27 22:30:25 | entity: <command><fields><item><var>jid</var><value>user_regularjgn0e30217@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-10-27 22:30:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:30:25 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-27 22:30:25 | 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_regularjgn0e30217@test-domain.com</value> </item> </fields> </command> 2020-10-27 22:30:25 | contains: true 2020-10-27 22:30:26 | [Mutex] waiting for: [msg:1hvkcl0227] 2020-10-27 22:30:26 | [Mutex] received everything. 2020-10-27 22:30:26 | [Mutex] isItemNotified: msg:1hvkcl0227 :: true 2020-10-27 22:30:26 | [Mutex] waiting for: [v8vepg0228:forbidden] 2020-10-27 22:30:26 | [Mutex] received everything. 2020-10-27 22:30:26 | [Mutex] isItemNotified: v8vepg0228:forbidden :: true 2020-10-27 22:30:26 | [Mutex] waiting for: [lvggi30230:forbidden] 2020-10-27 22:30:26 | [Mutex] received everything. 2020-10-27 22:30:26 | [Mutex] isItemNotified: lvggi30230:forbidden :: true 2020-10-27 22:30:26 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-27 22:30:26 | command: <command><fields><item><var>jid</var><value>user_regularjgn0e30217@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_whitelistwjq0tj0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-10-27 22:30:26 | target: http://localhost:8088 2020-10-27 22:30:26 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-10-27 22:30:26 | entity: <command><fields><item><var>jid</var><value>user_regularjgn0e30217@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_whitelistwjq0tj0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-10-27 22:30:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Oct 2020 05:30:26 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-27 22:30: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;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistwjq0tj0218@test-domain.com;4|deny|all) for user: user_regularjgn0e30217@test-domain.com</value> </item> </fields> </command> 2020-10-27 22:30:26 | contains: true 2020-10-27 22:30:28 | [Mutex] waiting for: [msg:ac79uv0233] 2020-10-27 22:30:28 | [Mutex] received everything. 2020-10-27 22:30:28 | [Mutex] isItemNotified: msg:ac79uv0233 :: true 2020-10-27 22:30:28 | [Mutex] waiting for: [msg:pt8e500235] 2020-10-27 22:30:28 | [Mutex] received everything. 2020-10-27 22:30:28 | [Mutex] isItemNotified: msg:pt8e500235 :: true 2020-10-27 22:30:28 | [Mutex] waiting for: [xd6cp70236:forbidden] 2020-10-27 22:30:28 | [Mutex] received everything. 2020-10-27 22:30:28 | [Mutex] isItemNotified: xd6cp70236:forbidden :: true |