Test duration : 5.724s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.284s |
2022-02-15 21:34:55 |
2022-02-15 21:34:55 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-15 21:34:55 | ------------------------------------ 2022-02-15 21:34:55 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-15 21:34:55 | command: <command><fields><item><var>jid</var><value>user_regularusx0v50214@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-15 21:34:55 | target: http://localhost:8088 2022-02-15 21:34:55 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-15 21:34:55 | entity: <command><fields><item><var>jid</var><value>user_regularusx0v50214@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-15 21:34:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:34:55 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-15 21:34:55 | 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_regularusx0v50214@test-domain.com</value> </item> </fields> </command> 2022-02-15 21:34:55 | contains: true 2022-02-15 21:34:55 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-15 21:34:55 | command: <command><fields><item><var>jid</var><value>user_regularusx0v50214@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-15 21:34:55 | target: http://localhost:8088 2022-02-15 21:34:55 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-15 21:34:55 | entity: <command><fields><item><var>jid</var><value>user_regularusx0v50214@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-15 21:34:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:34:55 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-15 21:34:55 | 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_regularusx0v50214@test-domain.com</value> </item> </fields> </command> 2022-02-15 21:34:55 | contains: true |
testMessageFiltering | 2.600s |
2022-02-15 21:34:56 |
2022-02-15 21:34:56 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-15 21:34:56 | ------------------------------------ 2022-02-15 21:34:56 | [Mutex] waiting for: [msg:1bgwll0221] 2022-02-15 21:34:56 | [Mutex] received everything. 2022-02-15 21:34:56 | [Mutex] isItemNotified: msg:1bgwll0221 :: true 2022-02-15 21:34:56 | [Mutex] waiting for: [msg:mklp200223] 2022-02-15 21:34:56 | [Mutex] received everything. 2022-02-15 21:34:56 | [Mutex] isItemNotified: msg:mklp200223 :: true 2022-02-15 21:34:56 | [Mutex] waiting for: [msg:a98jba0225] 2022-02-15 21:34:56 | [Mutex] received everything. 2022-02-15 21:34:56 | [Mutex] isItemNotified: msg:a98jba0225 :: true 2022-02-15 21:34:56 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-15 21:34:56 | command: <command><fields><item><var>jid</var><value>user_regularnk9ctz0217@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-15 21:34:56 | target: http://localhost:8088 2022-02-15 21:34:56 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-15 21:34:56 | entity: <command><fields><item><var>jid</var><value>user_regularnk9ctz0217@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-15 21:34:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:34:56 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-15 21:34:56 | 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_regularnk9ctz0217@test-domain.com</value> </item> </fields> </command> 2022-02-15 21:34:56 | contains: true 2022-02-15 21:34:58 | [Mutex] waiting for: [msg:7gyxsl0227] 2022-02-15 21:34:58 | [Mutex] received everything. 2022-02-15 21:34:58 | [Mutex] isItemNotified: msg:7gyxsl0227 :: true 2022-02-15 21:34:58 | [Mutex] waiting for: [27z9yk0228:forbidden] 2022-02-15 21:34:58 | [Mutex] received everything. 2022-02-15 21:34:58 | [Mutex] isItemNotified: 27z9yk0228:forbidden :: true 2022-02-15 21:34:58 | [Mutex] waiting for: [aurp6y0230:forbidden] 2022-02-15 21:34:58 | [Mutex] waiting for: [aurp6y0230:forbidden] 2022-02-15 21:34:58 | [Mutex] received everything. 2022-02-15 21:34:58 | [Mutex] isItemNotified: aurp6y0230:forbidden :: true 2022-02-15 21:34:58 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-15 21:34:58 | command: <command><fields><item><var>jid</var><value>user_regularnk9ctz0217@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_whitelistgljn1c0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-15 21:34:58 | target: http://localhost:8088 2022-02-15 21:34:58 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-15 21:34:58 | entity: <command><fields><item><var>jid</var><value>user_regularnk9ctz0217@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_whitelistgljn1c0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-15 21:34:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:34:58 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-15 21:34: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: CUSTOM (domains list: 1|allow|self;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistgljn1c0218@test-domain.com;4|deny|all) for user: user_regularnk9ctz0217@test-domain.com</value> </item> </fields> </command> 2022-02-15 21:34:58 | contains: true 2022-02-15 21:34:59 | [Mutex] waiting for: [msg:vvk8mo0233] 2022-02-15 21:34:59 | [Mutex] received everything. 2022-02-15 21:34:59 | [Mutex] isItemNotified: msg:vvk8mo0233 :: true 2022-02-15 21:34:59 | [Mutex] waiting for: [msg:9bl3lt0235] 2022-02-15 21:34:59 | [Mutex] received everything. 2022-02-15 21:34:59 | [Mutex] isItemNotified: msg:9bl3lt0235 :: true 2022-02-15 21:34:59 | [Mutex] waiting for: [lljcs90236:forbidden] 2022-02-15 21:34:59 | [Mutex] received everything. 2022-02-15 21:34:59 | [Mutex] isItemNotified: lljcs90236:forbidden :: true |