Test duration : 5.169s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.212s |
2022-08-08 22:35:22 |
2022-08-08 22:35:22 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-08-08 22:35:22 | ------------------------------------ 2022-08-08 22:35:22 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-08 22:35:22 | command: <command><fields><item><var>jid</var><value>user_regularix5g7o0215@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-08-08 22:35:22 | target: http://localhost:8088 2022-08-08 22:35:22 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-08-08 22:35:22 | entity: <command><fields><item><var>jid</var><value>user_regularix5g7o0215@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-08-08 22:35:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:35:22 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-08 22:35:22 | 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_regularix5g7o0215@test-domain.com</value> </item> </fields> </command> 2022-08-08 22:35:22 | contains: true 2022-08-08 22:35:22 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-08 22:35:22 | command: <command><fields><item><var>jid</var><value>user_regularix5g7o0215@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-08-08 22:35:22 | target: http://localhost:8088 2022-08-08 22:35:22 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-08-08 22:35:22 | entity: <command><fields><item><var>jid</var><value>user_regularix5g7o0215@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-08-08 22:35:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:35:22 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-08 22:35:22 | 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_regularix5g7o0215@test-domain.com</value> </item> </fields> </command> 2022-08-08 22:35:22 | contains: true |
testMessageFiltering | 2.544s |
2022-08-08 22:35:24 |
2022-08-08 22:35:24 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-08-08 22:35:24 | ------------------------------------ 2022-08-08 22:35:24 | [Mutex] waiting for: [msg:nyhk580222] 2022-08-08 22:35:24 | [Mutex] received everything. 2022-08-08 22:35:24 | [Mutex] isItemNotified: msg:nyhk580222 :: true 2022-08-08 22:35:24 | [Mutex] waiting for: [msg:khw25b0224] 2022-08-08 22:35:24 | [Mutex] received everything. 2022-08-08 22:35:24 | [Mutex] isItemNotified: msg:khw25b0224 :: true 2022-08-08 22:35:24 | [Mutex] waiting for: [msg:y0foba0226] 2022-08-08 22:35:24 | [Mutex] received everything. 2022-08-08 22:35:24 | [Mutex] isItemNotified: msg:y0foba0226 :: true 2022-08-08 22:35:24 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-08 22:35:24 | command: <command><fields><item><var>jid</var><value>user_regular77e6k0218@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-08-08 22:35:24 | target: http://localhost:8088 2022-08-08 22:35:24 | entity: [Content-Type: application/xml,Content-Length: 278,Chunked: false] 2022-08-08 22:35:24 | entity: <command><fields><item><var>jid</var><value>user_regular77e6k0218@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-08-08 22:35:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:35:24 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-08 22:35:24 | 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_regular77e6k0218@test-domain.com</value> </item> </fields> </command> 2022-08-08 22:35:24 | contains: true 2022-08-08 22:35:25 | [Mutex] waiting for: [msg:dw490r0228] 2022-08-08 22:35:25 | [Mutex] received everything. 2022-08-08 22:35:25 | [Mutex] isItemNotified: msg:dw490r0228 :: true 2022-08-08 22:35:25 | [Mutex] waiting for: [qlbjod0229:forbidden] 2022-08-08 22:35:25 | [Mutex] received everything. 2022-08-08 22:35:25 | [Mutex] isItemNotified: qlbjod0229:forbidden :: true 2022-08-08 22:35:25 | [Mutex] waiting for: [qzm5lt0231:forbidden] 2022-08-08 22:35:25 | [Mutex] received everything. 2022-08-08 22:35:25 | [Mutex] isItemNotified: qzm5lt0231:forbidden :: true 2022-08-08 22:35:25 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-08 22:35:25 | command: <command><fields><item><var>jid</var><value>user_regular77e6k0218@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_whitelist5md400219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-08-08 22:35:25 | target: http://localhost:8088 2022-08-08 22:35:25 | entity: [Content-Type: application/xml,Content-Length: 339,Chunked: false] 2022-08-08 22:35:25 | entity: <command><fields><item><var>jid</var><value>user_regular77e6k0218@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_whitelist5md400219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-08-08 22:35:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:35:25 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-08 22:35: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;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelist5md400219@test-domain.com;4|deny|all) for user: user_regular77e6k0218@test-domain.com</value> </item> </fields> </command> 2022-08-08 22:35:25 | contains: true 2022-08-08 22:35:26 | [Mutex] waiting for: [msg:asy1s00234] 2022-08-08 22:35:26 | [Mutex] received everything. 2022-08-08 22:35:26 | [Mutex] isItemNotified: msg:asy1s00234 :: true 2022-08-08 22:35:26 | [Mutex] waiting for: [msg:vuavuu0236] 2022-08-08 22:35:26 | [Mutex] received everything. 2022-08-08 22:35:26 | [Mutex] isItemNotified: msg:vuavuu0236 :: true 2022-08-08 22:35:26 | [Mutex] waiting for: [9t69920237:forbidden] 2022-08-08 22:35:26 | [Mutex] received everything. 2022-08-08 22:35:26 | [Mutex] isItemNotified: 9t69920237:forbidden :: true |