Test duration : 5.411s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.197s |
2022-10-17 23:06:24 |
2022-10-17 23:06:24 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-10-17 23:06:24 | ------------------------------------ 2022-10-17 23:06:24 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-10-17 23:06:24 | command: <command><fields><item><var>jid</var><value>user_regularthpvb20215@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-10-17 23:06:24 | target: http://localhost:8088 2022-10-17 23:06:24 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-10-17 23:06:24 | entity: <command><fields><item><var>jid</var><value>user_regularthpvb20215@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-10-17 23:06:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 06:06:25 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-10-17 23:06:25 | 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_regularthpvb20215@test-domain.com</value> </item> </fields> </command> 2022-10-17 23:06:25 | contains: true 2022-10-17 23:06:25 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-10-17 23:06:25 | command: <command><fields><item><var>jid</var><value>user_regularthpvb20215@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-10-17 23:06:25 | target: http://localhost:8088 2022-10-17 23:06:25 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-10-17 23:06:25 | entity: <command><fields><item><var>jid</var><value>user_regularthpvb20215@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-10-17 23:06:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 06:06:25 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-10-17 23:06:25 | 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_regularthpvb20215@test-domain.com</value> </item> </fields> </command> 2022-10-17 23:06:25 | contains: true |
testMessageFiltering | 2.607s |
2022-10-17 23:06:26 |
2022-10-17 23:06:26 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-10-17 23:06:26 | ------------------------------------ 2022-10-17 23:06:26 | [Mutex] waiting for: [msg:4lw0ws0222] 2022-10-17 23:06:26 | [Mutex] received everything. 2022-10-17 23:06:26 | [Mutex] isItemNotified: msg:4lw0ws0222 :: true 2022-10-17 23:06:26 | [Mutex] waiting for: [msg:xs27880224] 2022-10-17 23:06:26 | [Mutex] received everything. 2022-10-17 23:06:26 | [Mutex] isItemNotified: msg:xs27880224 :: true 2022-10-17 23:06:26 | [Mutex] waiting for: [msg:abucqo0226] 2022-10-17 23:06:26 | [Mutex] received everything. 2022-10-17 23:06:26 | [Mutex] isItemNotified: msg:abucqo0226 :: true 2022-10-17 23:06:26 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-10-17 23:06:26 | command: <command><fields><item><var>jid</var><value>user_regularvl8pcb0218@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-10-17 23:06:26 | target: http://localhost:8088 2022-10-17 23:06:26 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-10-17 23:06:26 | entity: <command><fields><item><var>jid</var><value>user_regularvl8pcb0218@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-10-17 23:06:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 06:06:26 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-10-17 23:06:26 | 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_regularvl8pcb0218@test-domain.com</value> </item> </fields> </command> 2022-10-17 23:06:26 | contains: true 2022-10-17 23:06:27 | [Mutex] waiting for: [msg:k7hln40228] 2022-10-17 23:06:27 | [Mutex] received everything. 2022-10-17 23:06:27 | [Mutex] isItemNotified: msg:k7hln40228 :: true 2022-10-17 23:06:27 | [Mutex] received everything. 2022-10-17 23:06:27 | [Mutex] isItemNotified: ka2nmh0229:forbidden :: true 2022-10-17 23:06:27 | [Mutex] waiting for: [60upjy0231:forbidden] 2022-10-17 23:06:27 | [Mutex] received everything. 2022-10-17 23:06:27 | [Mutex] isItemNotified: 60upjy0231:forbidden :: true 2022-10-17 23:06:27 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-10-17 23:06:27 | command: <command><fields><item><var>jid</var><value>user_regularvl8pcb0218@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_whitelistvm1wpr0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-10-17 23:06:27 | target: http://localhost:8088 2022-10-17 23:06:27 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-10-17 23:06:27 | entity: <command><fields><item><var>jid</var><value>user_regularvl8pcb0218@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_whitelistvm1wpr0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-10-17 23:06:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 06:06:27 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-10-17 23:06:27 | 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_whitelistvm1wpr0219@test-domain.com;4|deny|all) for user: user_regularvl8pcb0218@test-domain.com</value> </item> </fields> </command> 2022-10-17 23:06:27 | contains: true 2022-10-17 23:06:28 | [Mutex] waiting for: [msg:x4t9950234] 2022-10-17 23:06:29 | [Mutex] received everything. 2022-10-17 23:06:29 | [Mutex] isItemNotified: msg:x4t9950234 :: true 2022-10-17 23:06:29 | [Mutex] waiting for: [msg:g5n4ny0236] 2022-10-17 23:06:29 | [Mutex] received everything. 2022-10-17 23:06:29 | [Mutex] isItemNotified: msg:g5n4ny0236 :: true 2022-10-17 23:06:29 | [Mutex] waiting for: [eqad480237:forbidden] 2022-10-17 23:06:29 | [Mutex] received everything. 2022-10-17 23:06:29 | [Mutex] isItemNotified: eqad480237:forbidden :: true |