Test duration : 6.567s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.348s |
2022-02-14 22:04:08 |
2022-02-14 22:04:08 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-14 22:04:08 | ------------------------------------ 2022-02-14 22:04:08 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-14 22:04:08 | command: <command><fields><item><var>jid</var><value>user_regularkhbtbg0214@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> 2022-02-14 22:04:08 | target: http://localhost:8088 2022-02-14 22:04:08 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-14 22:04:08 | entity: <command><fields><item><var>jid</var><value>user_regularkhbtbg0214@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> 2022-02-14 22:04:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:04:08 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-14 22:04:08 | 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_regularkhbtbg0214@test-domain.com</value> </item> </fields> </command> 2022-02-14 22:04:08 | contains: true 2022-02-14 22:04:08 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-14 22:04:08 | command: <command><fields><item><var>jid</var><value>user_regularkhbtbg0214@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> 2022-02-14 22:04:08 | target: http://localhost:8088 2022-02-14 22:04:08 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-14 22:04:08 | entity: <command><fields><item><var>jid</var><value>user_regularkhbtbg0214@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> 2022-02-14 22:04:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:04:08 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-14 22:04:08 | 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_regularkhbtbg0214@test-domain.com</value> </item> </fields> </command> 2022-02-14 22:04:08 | contains: true |
testMessageFiltering | 2.648s |
2022-02-14 22:04:10 |
2022-02-14 22:04:10 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-14 22:04:10 | ------------------------------------ 2022-02-14 22:04:10 | [Mutex] waiting for: [msg:yi0qlq0221] 2022-02-14 22:04:10 | [Mutex] received everything. 2022-02-14 22:04:10 | [Mutex] isItemNotified: msg:yi0qlq0221 :: true 2022-02-14 22:04:10 | [Mutex] waiting for: [msg:kdxjpp0223] 2022-02-14 22:04:10 | [Mutex] received everything. 2022-02-14 22:04:10 | [Mutex] isItemNotified: msg:kdxjpp0223 :: true 2022-02-14 22:04:10 | [Mutex] waiting for: [msg:xopubm0225] 2022-02-14 22:04:10 | [Mutex] received everything. 2022-02-14 22:04:10 | [Mutex] isItemNotified: msg:xopubm0225 :: true 2022-02-14 22:04:10 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-14 22:04:10 | command: <command><fields><item><var>jid</var><value>user_regularz65iuh0217@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> 2022-02-14 22:04:10 | target: http://localhost:8088 2022-02-14 22:04:10 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-14 22:04:10 | entity: <command><fields><item><var>jid</var><value>user_regularz65iuh0217@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> 2022-02-14 22:04:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:04:10 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-14 22:04: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;4|deny|all) for user: user_regularz65iuh0217@test-domain.com</value> </item> </fields> </command> 2022-02-14 22:04:10 | contains: true 2022-02-14 22:04:11 | [Mutex] waiting for: [msg:9ywpft0227] 2022-02-14 22:04:11 | [Mutex] received everything. 2022-02-14 22:04:11 | [Mutex] isItemNotified: msg:9ywpft0227 :: true 2022-02-14 22:04:11 | [Mutex] waiting for: [pluv4s0228:forbidden] 2022-02-14 22:04:11 | [Mutex] received everything. 2022-02-14 22:04:11 | [Mutex] isItemNotified: pluv4s0228:forbidden :: true 2022-02-14 22:04:11 | [Mutex] waiting for: [qea0tu0230:forbidden] 2022-02-14 22:04:11 | [Mutex] received everything. 2022-02-14 22:04:11 | [Mutex] isItemNotified: qea0tu0230:forbidden :: true 2022-02-14 22:04:11 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-14 22:04:11 | command: <command><fields><item><var>jid</var><value>user_regularz65iuh0217@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_whitelist8somlq0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-14 22:04:11 | target: http://localhost:8088 2022-02-14 22:04:11 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-14 22:04:11 | entity: <command><fields><item><var>jid</var><value>user_regularz65iuh0217@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_whitelist8somlq0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-14 22:04:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Feb 2022 06:04:11 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-14 22:04:11 | 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_whitelist8somlq0218@test-domain.com;4|deny|all) for user: user_regularz65iuh0217@test-domain.com</value> </item> </fields> </command> 2022-02-14 22:04:11 | contains: true 2022-02-14 22:04:12 | [Mutex] waiting for: [msg:u0x37p0233] 2022-02-14 22:04:12 | [Mutex] received everything. 2022-02-14 22:04:12 | [Mutex] isItemNotified: msg:u0x37p0233 :: true 2022-02-14 22:04:12 | [Mutex] waiting for: [msg:mvejd30235] 2022-02-14 22:04:12 | [Mutex] received everything. 2022-02-14 22:04:12 | [Mutex] isItemNotified: msg:mvejd30235 :: true 2022-02-14 22:04:12 | [Mutex] waiting for: [xicwbn0236:forbidden] 2022-02-14 22:04:12 | [Mutex] received everything. 2022-02-14 22:04:12 | [Mutex] isItemNotified: xicwbn0236:forbidden :: true |