Test duration : 5.822s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.298s |
2022-09-05 23:06:28 |
2022-09-05 23:06:28 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-09-05 23:06:28 | ------------------------------------ 2022-09-05 23:06:28 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-09-05 23:06:28 | command: <command><fields><item><var>jid</var><value>user_regulark6mpm90215@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-09-05 23:06:28 | target: http://localhost:8088 2022-09-05 23:06:28 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-09-05 23:06:28 | entity: <command><fields><item><var>jid</var><value>user_regulark6mpm90215@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-09-05 23:06:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 06:06:29 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-09-05 23:06:29 | 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_regulark6mpm90215@test-domain.com</value> </item> </fields> </command> 2022-09-05 23:06:29 | contains: true 2022-09-05 23:06:29 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-09-05 23:06:29 | command: <command><fields><item><var>jid</var><value>user_regulark6mpm90215@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-09-05 23:06:29 | target: http://localhost:8088 2022-09-05 23:06:29 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-09-05 23:06:29 | entity: <command><fields><item><var>jid</var><value>user_regulark6mpm90215@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-09-05 23:06:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 06:06:29 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-09-05 23:06:29 | 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_regulark6mpm90215@test-domain.com</value> </item> </fields> </command> 2022-09-05 23:06:29 | contains: true |
testMessageFiltering | 2.497s |
2022-09-05 23:06:30 |
2022-09-05 23:06:30 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-09-05 23:06:30 | ------------------------------------ 2022-09-05 23:06:30 | [Mutex] waiting for: [msg:jfmwhg0222] 2022-09-05 23:06:30 | [Mutex] received everything. 2022-09-05 23:06:30 | [Mutex] isItemNotified: msg:jfmwhg0222 :: true 2022-09-05 23:06:30 | [Mutex] waiting for: [msg:k899830224] 2022-09-05 23:06:30 | [Mutex] received everything. 2022-09-05 23:06:30 | [Mutex] isItemNotified: msg:k899830224 :: true 2022-09-05 23:06:30 | [Mutex] waiting for: [msg:21lgus0226] 2022-09-05 23:06:30 | [Mutex] received everything. 2022-09-05 23:06:30 | [Mutex] isItemNotified: msg:21lgus0226 :: true 2022-09-05 23:06:30 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-09-05 23:06:30 | command: <command><fields><item><var>jid</var><value>user_regular4s56dv0218@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-09-05 23:06:30 | target: http://localhost:8088 2022-09-05 23:06:30 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-09-05 23:06:30 | entity: <command><fields><item><var>jid</var><value>user_regular4s56dv0218@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-09-05 23:06:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 06:06:30 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-09-05 23:06:30 | 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_regular4s56dv0218@test-domain.com</value> </item> </fields> </command> 2022-09-05 23:06:30 | contains: true 2022-09-05 23:06:31 | [Mutex] waiting for: [msg:6ffqd20228] 2022-09-05 23:06:31 | [Mutex] received everything. 2022-09-05 23:06:31 | [Mutex] isItemNotified: msg:6ffqd20228 :: true 2022-09-05 23:06:31 | [Mutex] waiting for: [s8hij20229:forbidden] 2022-09-05 23:06:31 | [Mutex] received everything. 2022-09-05 23:06:31 | [Mutex] isItemNotified: s8hij20229:forbidden :: true 2022-09-05 23:06:31 | [Mutex] waiting for: [fexme90231:forbidden] 2022-09-05 23:06:32 | [Mutex] received everything. 2022-09-05 23:06:32 | [Mutex] isItemNotified: fexme90231:forbidden :: true 2022-09-05 23:06:32 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-09-05 23:06:32 | command: <command><fields><item><var>jid</var><value>user_regular4s56dv0218@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_whitelistwgiyj30219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-09-05 23:06:32 | target: http://localhost:8088 2022-09-05 23:06:32 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-09-05 23:06:32 | entity: <command><fields><item><var>jid</var><value>user_regular4s56dv0218@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_whitelistwgiyj30219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-09-05 23:06:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 06:06:32 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-09-05 23:06: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;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistwgiyj30219@test-domain.com;4|deny|all) for user: user_regular4s56dv0218@test-domain.com</value> </item> </fields> </command> 2022-09-05 23:06:32 | contains: true 2022-09-05 23:06:33 | [Mutex] waiting for: [msg:etszp50234] 2022-09-05 23:06:33 | [Mutex] received everything. 2022-09-05 23:06:33 | [Mutex] isItemNotified: msg:etszp50234 :: true 2022-09-05 23:06:33 | [Mutex] waiting for: [msg:jmn1ka0236] 2022-09-05 23:06:33 | [Mutex] received everything. 2022-09-05 23:06:33 | [Mutex] isItemNotified: msg:jmn1ka0236 :: true 2022-09-05 23:06:33 | [Mutex] received everything. 2022-09-05 23:06:33 | [Mutex] isItemNotified: vqy1qq0237:forbidden :: true |