Test duration : 6.033s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.294s |
2022-02-09 21:57:32 |
2022-02-09 21:57:32 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-09 21:57:32 | ------------------------------------ 2022-02-09 21:57:32 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-09 21:57:32 | command: <command><fields><item><var>jid</var><value>user_regulark9tf5y0214@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-09 21:57:32 | target: http://localhost:8088 2022-02-09 21:57:32 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-09 21:57:32 | entity: <command><fields><item><var>jid</var><value>user_regulark9tf5y0214@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-09 21:57:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:57:32 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-09 21:57:32 | 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_regulark9tf5y0214@test-domain.com</value> </item> </fields> </command> 2022-02-09 21:57:32 | contains: true 2022-02-09 21:57:32 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-09 21:57:32 | command: <command><fields><item><var>jid</var><value>user_regulark9tf5y0214@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-09 21:57:32 | target: http://localhost:8088 2022-02-09 21:57:32 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-09 21:57:32 | entity: <command><fields><item><var>jid</var><value>user_regulark9tf5y0214@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-09 21:57:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:57:32 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-09 21:57:32 | 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_regulark9tf5y0214@test-domain.com</value> </item> </fields> </command> 2022-02-09 21:57:32 | contains: true |
testMessageFiltering | 2.641s |
2022-02-09 21:57:34 |
2022-02-09 21:57:34 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-09 21:57:34 | ------------------------------------ 2022-02-09 21:57:34 | [Mutex] waiting for: [msg:t9d22j0221] 2022-02-09 21:57:34 | [Mutex] received everything. 2022-02-09 21:57:34 | [Mutex] isItemNotified: msg:t9d22j0221 :: true 2022-02-09 21:57:34 | [Mutex] waiting for: [msg:ttz1wb0223] 2022-02-09 21:57:34 | [Mutex] received everything. 2022-02-09 21:57:34 | [Mutex] isItemNotified: msg:ttz1wb0223 :: true 2022-02-09 21:57:34 | [Mutex] waiting for: [msg:uwrgry0225] 2022-02-09 21:57:34 | [Mutex] received everything. 2022-02-09 21:57:34 | [Mutex] isItemNotified: msg:uwrgry0225 :: true 2022-02-09 21:57:34 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-09 21:57:34 | command: <command><fields><item><var>jid</var><value>user_regularkin3l20217@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-09 21:57:34 | target: http://localhost:8088 2022-02-09 21:57:34 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-09 21:57:34 | entity: <command><fields><item><var>jid</var><value>user_regularkin3l20217@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-09 21:57:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:57:34 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-09 21:57:34 | 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_regularkin3l20217@test-domain.com</value> </item> </fields> </command> 2022-02-09 21:57:34 | contains: true 2022-02-09 21:57:35 | [Mutex] waiting for: [msg:4yh5j30227] 2022-02-09 21:57:35 | [Mutex] received everything. 2022-02-09 21:57:35 | [Mutex] isItemNotified: msg:4yh5j30227 :: true 2022-02-09 21:57:35 | [Mutex] received everything. 2022-02-09 21:57:35 | [Mutex] isItemNotified: yp1m150228:forbidden :: true 2022-02-09 21:57:35 | [Mutex] waiting for: [xw8zde0230:forbidden] 2022-02-09 21:57:35 | [Mutex] waiting for: [xw8zde0230:forbidden] 2022-02-09 21:57:35 | [Mutex] received everything. 2022-02-09 21:57:35 | [Mutex] isItemNotified: xw8zde0230:forbidden :: true 2022-02-09 21:57:35 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-09 21:57:35 | command: <command><fields><item><var>jid</var><value>user_regularkin3l20217@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_whitelistdrau470218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-09 21:57:35 | target: http://localhost:8088 2022-02-09 21:57:35 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-09 21:57:35 | entity: <command><fields><item><var>jid</var><value>user_regularkin3l20217@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_whitelistdrau470218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-09 21:57:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:57:35 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-09 21:57:35 | 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_whitelistdrau470218@test-domain.com;4|deny|all) for user: user_regularkin3l20217@test-domain.com</value> </item> </fields> </command> 2022-02-09 21:57:35 | contains: true 2022-02-09 21:57:36 | [Mutex] waiting for: [msg:ivc69z0233] 2022-02-09 21:57:36 | [Mutex] received everything. 2022-02-09 21:57:36 | [Mutex] isItemNotified: msg:ivc69z0233 :: true 2022-02-09 21:57:36 | [Mutex] waiting for: [msg:9jx8kh0235] 2022-02-09 21:57:36 | [Mutex] received everything. 2022-02-09 21:57:36 | [Mutex] isItemNotified: msg:9jx8kh0235 :: true 2022-02-09 21:57:36 | [Mutex] waiting for: [59ygip0236:forbidden] 2022-02-09 21:57:36 | [Mutex] received everything. 2022-02-09 21:57:36 | [Mutex] isItemNotified: 59ygip0236:forbidden :: true |