Test duration : 5.474s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.235s |
2022-07-12 07:47:44 |
2022-07-12 07:47:44 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-07-12 07:47:44 | ------------------------------------ 2022-07-12 07:47:44 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-12 07:47:44 | command: <command><fields><item><var>jid</var><value>user_regularlpdfzy0215@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-12 07:47:44 | target: http://localhost:8088 2022-07-12 07:47:44 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-07-12 07:47:44 | entity: <command><fields><item><var>jid</var><value>user_regularlpdfzy0215@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-12 07:47:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:47:44 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-12 07:47:44 | 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_regularlpdfzy0215@test-domain.com</value> </item> </fields> </command> 2022-07-12 07:47:44 | contains: true 2022-07-12 07:47:44 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-12 07:47:44 | command: <command><fields><item><var>jid</var><value>user_regularlpdfzy0215@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-12 07:47:44 | target: http://localhost:8088 2022-07-12 07:47:44 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-07-12 07:47:44 | entity: <command><fields><item><var>jid</var><value>user_regularlpdfzy0215@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-12 07:47:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:47:44 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-12 07:47:44 | 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_regularlpdfzy0215@test-domain.com</value> </item> </fields> </command> 2022-07-12 07:47:44 | contains: true |
testMessageFiltering | 2.572s |
2022-07-12 07:47:46 |
2022-07-12 07:47:46 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-07-12 07:47:46 | ------------------------------------ 2022-07-12 07:47:46 | [Mutex] waiting for: [msg:ea7usq0222] 2022-07-12 07:47:46 | [Mutex] received everything. 2022-07-12 07:47:46 | [Mutex] isItemNotified: msg:ea7usq0222 :: true 2022-07-12 07:47:46 | [Mutex] waiting for: [msg:iwihw90224] 2022-07-12 07:47:46 | [Mutex] received everything. 2022-07-12 07:47:46 | [Mutex] isItemNotified: msg:iwihw90224 :: true 2022-07-12 07:47:46 | [Mutex] waiting for: [msg:hejmue0226] 2022-07-12 07:47:46 | [Mutex] received everything. 2022-07-12 07:47:46 | [Mutex] isItemNotified: msg:hejmue0226 :: true 2022-07-12 07:47:46 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-12 07:47:46 | command: <command><fields><item><var>jid</var><value>user_regularxuc1bt0218@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-12 07:47:46 | target: http://localhost:8088 2022-07-12 07:47:46 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-07-12 07:47:46 | entity: <command><fields><item><var>jid</var><value>user_regularxuc1bt0218@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-12 07:47:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:47:46 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-12 07:47:46 | 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_regularxuc1bt0218@test-domain.com</value> </item> </fields> </command> 2022-07-12 07:47:46 | contains: true 2022-07-12 07:47:47 | [Mutex] waiting for: [msg:6jntud0228] 2022-07-12 07:47:47 | [Mutex] received everything. 2022-07-12 07:47:47 | [Mutex] isItemNotified: msg:6jntud0228 :: true 2022-07-12 07:47:47 | [Mutex] waiting for: [uan31k0229:forbidden] 2022-07-12 07:47:47 | [Mutex] received everything. 2022-07-12 07:47:47 | [Mutex] isItemNotified: uan31k0229:forbidden :: true 2022-07-12 07:47:47 | [Mutex] waiting for: [2eu4pm0231:forbidden] 2022-07-12 07:47:47 | [Mutex] waiting for: [2eu4pm0231:forbidden] 2022-07-12 07:47:47 | [Mutex] received everything. 2022-07-12 07:47:47 | [Mutex] isItemNotified: 2eu4pm0231:forbidden :: true 2022-07-12 07:47:47 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-12 07:47:47 | command: <command><fields><item><var>jid</var><value>user_regularxuc1bt0218@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_whitelisttftlfu0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-07-12 07:47:47 | target: http://localhost:8088 2022-07-12 07:47:47 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-07-12 07:47:47 | entity: <command><fields><item><var>jid</var><value>user_regularxuc1bt0218@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_whitelisttftlfu0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-07-12 07:47:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 14:47:47 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-12 07:47:47 | 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_whitelisttftlfu0219@test-domain.com;4|deny|all) for user: user_regularxuc1bt0218@test-domain.com</value> </item> </fields> </command> 2022-07-12 07:47:47 | contains: true 2022-07-12 07:47:48 | [Mutex] waiting for: [msg:pw4cen0234] 2022-07-12 07:47:48 | [Mutex] received everything. 2022-07-12 07:47:48 | [Mutex] isItemNotified: msg:pw4cen0234 :: true 2022-07-12 07:47:48 | [Mutex] waiting for: [msg:sw4l9t0236] 2022-07-12 07:47:48 | [Mutex] received everything. 2022-07-12 07:47:48 | [Mutex] isItemNotified: msg:sw4l9t0236 :: true 2022-07-12 07:47:48 | [Mutex] waiting for: [1aer270237:forbidden] 2022-07-12 07:47:48 | [Mutex] received everything. 2022-07-12 07:47:48 | [Mutex] isItemNotified: 1aer270237:forbidden :: true |