Test duration : 5.556s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.244s |
2022-06-22 22:35:19 |
2022-06-22 22:35:19 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-06-22 22:35:19 | ------------------------------------ 2022-06-22 22:35:19 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-06-22 22:35:19 | command: <command><fields><item><var>jid</var><value>user_regularfp33r30215@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-06-22 22:35:19 | target: http://localhost:8088 2022-06-22 22:35:19 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-06-22 22:35:19 | entity: <command><fields><item><var>jid</var><value>user_regularfp33r30215@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-06-22 22:35:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:35:19 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-06-22 22:35:19 | 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_regularfp33r30215@test-domain.com</value> </item> </fields> </command> 2022-06-22 22:35:19 | contains: true 2022-06-22 22:35:19 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-06-22 22:35:19 | command: <command><fields><item><var>jid</var><value>user_regularfp33r30215@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-06-22 22:35:19 | target: http://localhost:8088 2022-06-22 22:35:19 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-06-22 22:35:19 | entity: <command><fields><item><var>jid</var><value>user_regularfp33r30215@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-06-22 22:35:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:35:19 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-06-22 22:35:19 | 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_regularfp33r30215@test-domain.com</value> </item> </fields> </command> 2022-06-22 22:35:19 | contains: true |
testMessageFiltering | 2.594s |
2022-06-22 22:35:20 |
2022-06-22 22:35:20 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-06-22 22:35:20 | ------------------------------------ 2022-06-22 22:35:20 | [Mutex] waiting for: [msg:2xm0tv0222] 2022-06-22 22:35:20 | [Mutex] received everything. 2022-06-22 22:35:20 | [Mutex] isItemNotified: msg:2xm0tv0222 :: true 2022-06-22 22:35:20 | [Mutex] waiting for: [msg:hlmkhe0224] 2022-06-22 22:35:20 | [Mutex] received everything. 2022-06-22 22:35:20 | [Mutex] isItemNotified: msg:hlmkhe0224 :: true 2022-06-22 22:35:20 | [Mutex] waiting for: [msg:k3p2af0226] 2022-06-22 22:35:20 | [Mutex] received everything. 2022-06-22 22:35:20 | [Mutex] isItemNotified: msg:k3p2af0226 :: true 2022-06-22 22:35:20 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-06-22 22:35:20 | command: <command><fields><item><var>jid</var><value>user_regularm3r3rd0218@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-06-22 22:35:20 | target: http://localhost:8088 2022-06-22 22:35:20 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-06-22 22:35:20 | entity: <command><fields><item><var>jid</var><value>user_regularm3r3rd0218@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-06-22 22:35:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:35:20 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-06-22 22:35:20 | 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_regularm3r3rd0218@test-domain.com</value> </item> </fields> </command> 2022-06-22 22:35:20 | contains: true 2022-06-22 22:35:21 | [Mutex] waiting for: [msg:oxzj9j0228] 2022-06-22 22:35:21 | [Mutex] received everything. 2022-06-22 22:35:21 | [Mutex] isItemNotified: msg:oxzj9j0228 :: true 2022-06-22 22:35:21 | [Mutex] waiting for: [f7pbc0229:forbidden] 2022-06-22 22:35:21 | [Mutex] received everything. 2022-06-22 22:35:21 | [Mutex] isItemNotified: f7pbc0229:forbidden :: true 2022-06-22 22:35:21 | [Mutex] waiting for: [q9tugd0231:forbidden] 2022-06-22 22:35:21 | [Mutex] received everything. 2022-06-22 22:35:21 | [Mutex] isItemNotified: q9tugd0231:forbidden :: true 2022-06-22 22:35:21 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-06-22 22:35:21 | command: <command><fields><item><var>jid</var><value>user_regularm3r3rd0218@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_whitelistsspoas0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-06-22 22:35:21 | target: http://localhost:8088 2022-06-22 22:35:21 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-06-22 22:35:21 | entity: <command><fields><item><var>jid</var><value>user_regularm3r3rd0218@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_whitelistsspoas0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-06-22 22:35:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:35:22 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-06-22 22:35:22 | 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_whitelistsspoas0219@test-domain.com;4|deny|all) for user: user_regularm3r3rd0218@test-domain.com</value> </item> </fields> </command> 2022-06-22 22:35:22 | contains: true 2022-06-22 22:35:23 | [Mutex] waiting for: [msg:r38fmb0234] 2022-06-22 22:35:23 | [Mutex] received everything. 2022-06-22 22:35:23 | [Mutex] isItemNotified: msg:r38fmb0234 :: true 2022-06-22 22:35:23 | [Mutex] waiting for: [msg:4q2mh80236] 2022-06-22 22:35:23 | [Mutex] received everything. 2022-06-22 22:35:23 | [Mutex] isItemNotified: msg:4q2mh80236 :: true 2022-06-22 22:35:23 | [Mutex] received everything. 2022-06-22 22:35:23 | [Mutex] isItemNotified: qzsp270237:forbidden :: true |