Test duration : 5.550s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.261s |
2022-05-19 22:42:16 |
2022-05-19 22:42:16 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-05-19 22:42:16 | ------------------------------------ 2022-05-19 22:42:16 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-05-19 22:42:16 | command: <command><fields><item><var>jid</var><value>user_regular9dseg70215@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-05-19 22:42:16 | target: http://localhost:8088 2022-05-19 22:42:16 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-05-19 22:42:16 | entity: <command><fields><item><var>jid</var><value>user_regular9dseg70215@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-05-19 22:42:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:42:16 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-05-19 22:42:16 | 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_regular9dseg70215@test-domain.com</value> </item> </fields> </command> 2022-05-19 22:42:16 | contains: true 2022-05-19 22:42:16 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-05-19 22:42:16 | command: <command><fields><item><var>jid</var><value>user_regular9dseg70215@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-05-19 22:42:16 | target: http://localhost:8088 2022-05-19 22:42:16 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-05-19 22:42:16 | entity: <command><fields><item><var>jid</var><value>user_regular9dseg70215@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-05-19 22:42:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:42:16 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-05-19 22:42:17 | 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_regular9dseg70215@test-domain.com</value> </item> </fields> </command> 2022-05-19 22:42:17 | contains: true |
testMessageFiltering | 2.547s |
2022-05-19 22:42:18 |
2022-05-19 22:42:18 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-05-19 22:42:18 | ------------------------------------ 2022-05-19 22:42:18 | [Mutex] waiting for: [msg:bzk5px0222] 2022-05-19 22:42:18 | [Mutex] received everything. 2022-05-19 22:42:18 | [Mutex] isItemNotified: msg:bzk5px0222 :: true 2022-05-19 22:42:18 | [Mutex] waiting for: [msg:1f5qjv0224] 2022-05-19 22:42:18 | [Mutex] received everything. 2022-05-19 22:42:18 | [Mutex] isItemNotified: msg:1f5qjv0224 :: true 2022-05-19 22:42:18 | [Mutex] waiting for: [msg:ezrvb10226] 2022-05-19 22:42:18 | [Mutex] received everything. 2022-05-19 22:42:18 | [Mutex] isItemNotified: msg:ezrvb10226 :: true 2022-05-19 22:42:18 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-05-19 22:42:18 | command: <command><fields><item><var>jid</var><value>user_regularf5hbfb0218@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-05-19 22:42:18 | target: http://localhost:8088 2022-05-19 22:42:18 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-05-19 22:42:18 | entity: <command><fields><item><var>jid</var><value>user_regularf5hbfb0218@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-05-19 22:42:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:42:18 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-05-19 22:42:18 | 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_regularf5hbfb0218@test-domain.com</value> </item> </fields> </command> 2022-05-19 22:42:18 | contains: true 2022-05-19 22:42:19 | [Mutex] waiting for: [msg:2wrc1h0228] 2022-05-19 22:42:19 | [Mutex] received everything. 2022-05-19 22:42:19 | [Mutex] isItemNotified: msg:2wrc1h0228 :: true 2022-05-19 22:42:19 | [Mutex] waiting for: [arle0o0229:forbidden] 2022-05-19 22:42:19 | [Mutex] received everything. 2022-05-19 22:42:19 | [Mutex] isItemNotified: arle0o0229:forbidden :: true 2022-05-19 22:42:19 | [Mutex] waiting for: [ohbh3c0231:forbidden] 2022-05-19 22:42:19 | [Mutex] received everything. 2022-05-19 22:42:19 | [Mutex] isItemNotified: ohbh3c0231:forbidden :: true 2022-05-19 22:42:19 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-05-19 22:42:19 | command: <command><fields><item><var>jid</var><value>user_regularf5hbfb0218@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_whitelistg2423e0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-05-19 22:42:19 | target: http://localhost:8088 2022-05-19 22:42:19 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-05-19 22:42:19 | entity: <command><fields><item><var>jid</var><value>user_regularf5hbfb0218@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_whitelistg2423e0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-05-19 22:42:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:42:19 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-05-19 22:42: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;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistg2423e0219@test-domain.com;4|deny|all) for user: user_regularf5hbfb0218@test-domain.com</value> </item> </fields> </command> 2022-05-19 22:42:19 | contains: true 2022-05-19 22:42:20 | [Mutex] waiting for: [msg:vc29010234] 2022-05-19 22:42:20 | [Mutex] received everything. 2022-05-19 22:42:20 | [Mutex] isItemNotified: msg:vc29010234 :: true 2022-05-19 22:42:20 | [Mutex] waiting for: [msg:julmk50236] 2022-05-19 22:42:20 | [Mutex] received everything. 2022-05-19 22:42:20 | [Mutex] isItemNotified: msg:julmk50236 :: true 2022-05-19 22:42:20 | [Mutex] received everything. 2022-05-19 22:42:20 | [Mutex] isItemNotified: cud08m0237:forbidden :: true |