Test duration : 5.225s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.225s |
2022-07-07 23:01:57 |
2022-07-07 23:01:57 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-07-07 23:01:57 | ------------------------------------ 2022-07-07 23:01:57 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-07 23:01:57 | command: <command><fields><item><var>jid</var><value>user_regularbtgpdz0215@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-07-07 23:01:57 | target: http://localhost:8088 2022-07-07 23:01:57 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-07-07 23:01:57 | entity: <command><fields><item><var>jid</var><value>user_regularbtgpdz0215@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-07-07 23:01:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:01:57 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-07 23:01:57 | 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_regularbtgpdz0215@test-domain.com</value> </item> </fields> </command> 2022-07-07 23:01:57 | contains: true 2022-07-07 23:01:57 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-07 23:01:57 | command: <command><fields><item><var>jid</var><value>user_regularbtgpdz0215@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-07-07 23:01:57 | target: http://localhost:8088 2022-07-07 23:01:57 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-07-07 23:01:57 | entity: <command><fields><item><var>jid</var><value>user_regularbtgpdz0215@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-07-07 23:01:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:01:57 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-07 23:01:57 | 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_regularbtgpdz0215@test-domain.com</value> </item> </fields> </command> 2022-07-07 23:01:57 | contains: true |
testMessageFiltering | 2.549s |
2022-07-07 23:01:58 |
2022-07-07 23:01:58 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-07-07 23:01:58 | ------------------------------------ 2022-07-07 23:01:58 | [Mutex] waiting for: [msg:1nq7t50222] 2022-07-07 23:01:58 | [Mutex] received everything. 2022-07-07 23:01:58 | [Mutex] isItemNotified: msg:1nq7t50222 :: true 2022-07-07 23:01:58 | [Mutex] waiting for: [msg:uyquk60224] 2022-07-07 23:01:58 | [Mutex] received everything. 2022-07-07 23:01:58 | [Mutex] isItemNotified: msg:uyquk60224 :: true 2022-07-07 23:01:58 | [Mutex] waiting for: [msg:serplk0226] 2022-07-07 23:01:58 | [Mutex] received everything. 2022-07-07 23:01:58 | [Mutex] isItemNotified: msg:serplk0226 :: true 2022-07-07 23:01:58 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-07 23:01:58 | command: <command><fields><item><var>jid</var><value>user_regularlb47gg0218@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-07-07 23:01:58 | target: http://localhost:8088 2022-07-07 23:01:58 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-07-07 23:01:58 | entity: <command><fields><item><var>jid</var><value>user_regularlb47gg0218@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-07-07 23:01:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:01:58 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-07 23:01: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;4|deny|all) for user: user_regularlb47gg0218@test-domain.com</value> </item> </fields> </command> 2022-07-07 23:01:58 | contains: true 2022-07-07 23:01:59 | [Mutex] waiting for: [msg:58g7pe0228] 2022-07-07 23:01:59 | [Mutex] received everything. 2022-07-07 23:01:59 | [Mutex] isItemNotified: msg:58g7pe0228 :: true 2022-07-07 23:01:59 | [Mutex] waiting for: [s5475n0229:forbidden] 2022-07-07 23:01:59 | [Mutex] received everything. 2022-07-07 23:01:59 | [Mutex] isItemNotified: s5475n0229:forbidden :: true 2022-07-07 23:01:59 | [Mutex] waiting for: [h3lxdd0231:forbidden] 2022-07-07 23:01:59 | [Mutex] received everything. 2022-07-07 23:01:59 | [Mutex] isItemNotified: h3lxdd0231:forbidden :: true 2022-07-07 23:01:59 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-07 23:01:59 | command: <command><fields><item><var>jid</var><value>user_regularlb47gg0218@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_whitelistu9x6dg0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-07-07 23:01:59 | target: http://localhost:8088 2022-07-07 23:01:59 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-07-07 23:01:59 | entity: <command><fields><item><var>jid</var><value>user_regularlb47gg0218@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_whitelistu9x6dg0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-07-07 23:01:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:01:59 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-07 23:01:59 | 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_whitelistu9x6dg0219@test-domain.com;4|deny|all) for user: user_regularlb47gg0218@test-domain.com</value> </item> </fields> </command> 2022-07-07 23:01:59 | contains: true 2022-07-07 23:02:00 | [Mutex] waiting for: [msg:dmg7f50234] 2022-07-07 23:02:00 | [Mutex] received everything. 2022-07-07 23:02:00 | [Mutex] isItemNotified: msg:dmg7f50234 :: true 2022-07-07 23:02:00 | [Mutex] waiting for: [msg:2xe47z0236] 2022-07-07 23:02:00 | [Mutex] received everything. 2022-07-07 23:02:00 | [Mutex] isItemNotified: msg:2xe47z0236 :: true 2022-07-07 23:02:00 | [Mutex] waiting for: [n7k9wm0237:forbidden] 2022-07-07 23:02:00 | [Mutex] received everything. 2022-07-07 23:02:00 | [Mutex] isItemNotified: n7k9wm0237:forbidden :: true |