Test duration : 5.335s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.216s |
2022-08-09 23:03:49 |
2022-08-09 23:03:49 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-08-09 23:03:49 | ------------------------------------ 2022-08-09 23:03:49 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-09 23:03:49 | command: <command><fields><item><var>jid</var><value>user_regularo4myx60215@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-09 23:03:49 | target: http://localhost:8088 2022-08-09 23:03:49 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-08-09 23:03:49 | entity: <command><fields><item><var>jid</var><value>user_regularo4myx60215@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-09 23:03:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:03:49 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-09 23:03:49 | 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_regularo4myx60215@test-domain.com</value> </item> </fields> </command> 2022-08-09 23:03:49 | contains: true 2022-08-09 23:03:49 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-09 23:03:49 | command: <command><fields><item><var>jid</var><value>user_regularo4myx60215@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-09 23:03:49 | target: http://localhost:8088 2022-08-09 23:03:49 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-08-09 23:03:49 | entity: <command><fields><item><var>jid</var><value>user_regularo4myx60215@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-09 23:03:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:03:49 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-09 23:03:49 | 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_regularo4myx60215@test-domain.com</value> </item> </fields> </command> 2022-08-09 23:03:49 | contains: true |
testMessageFiltering | 2.642s |
2022-08-09 23:03:50 |
2022-08-09 23:03:50 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-08-09 23:03:50 | ------------------------------------ 2022-08-09 23:03:50 | [Mutex] waiting for: [msg:edvxep0222] 2022-08-09 23:03:50 | [Mutex] received everything. 2022-08-09 23:03:50 | [Mutex] isItemNotified: msg:edvxep0222 :: true 2022-08-09 23:03:50 | [Mutex] waiting for: [msg:2lnqfi0224] 2022-08-09 23:03:50 | [Mutex] received everything. 2022-08-09 23:03:50 | [Mutex] isItemNotified: msg:2lnqfi0224 :: true 2022-08-09 23:03:50 | [Mutex] waiting for: [msg:tz1fdr0226] 2022-08-09 23:03:50 | [Mutex] received everything. 2022-08-09 23:03:50 | [Mutex] isItemNotified: msg:tz1fdr0226 :: true 2022-08-09 23:03:50 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-09 23:03:50 | command: <command><fields><item><var>jid</var><value>user_regularl0aaos0218@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-09 23:03:50 | target: http://localhost:8088 2022-08-09 23:03:50 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-08-09 23:03:50 | entity: <command><fields><item><var>jid</var><value>user_regularl0aaos0218@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-09 23:03:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:03:50 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-09 23:03:50 | 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_regularl0aaos0218@test-domain.com</value> </item> </fields> </command> 2022-08-09 23:03:50 | contains: true 2022-08-09 23:03:52 | [Mutex] waiting for: [msg:531w1b0228] 2022-08-09 23:03:52 | [Mutex] received everything. 2022-08-09 23:03:52 | [Mutex] isItemNotified: msg:531w1b0228 :: true 2022-08-09 23:03:52 | [Mutex] waiting for: [b1v68w0229:forbidden] 2022-08-09 23:03:52 | [Mutex] received everything. 2022-08-09 23:03:52 | [Mutex] isItemNotified: b1v68w0229:forbidden :: true 2022-08-09 23:03:52 | [Mutex] waiting for: [um8n610231:forbidden] 2022-08-09 23:03:52 | [Mutex] received everything. 2022-08-09 23:03:52 | [Mutex] isItemNotified: um8n610231:forbidden :: true 2022-08-09 23:03:52 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-09 23:03:52 | command: <command><fields><item><var>jid</var><value>user_regularl0aaos0218@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_whitelistkw9kma0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-08-09 23:03:52 | target: http://localhost:8088 2022-08-09 23:03:52 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-08-09 23:03:52 | entity: <command><fields><item><var>jid</var><value>user_regularl0aaos0218@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_whitelistkw9kma0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-08-09 23:03:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 10 Aug 2022 06:03:52 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-09 23:03:52 | 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_whitelistkw9kma0219@test-domain.com;4|deny|all) for user: user_regularl0aaos0218@test-domain.com</value> </item> </fields> </command> 2022-08-09 23:03:52 | contains: true 2022-08-09 23:03:53 | [Mutex] waiting for: [msg:d4azfy0234] 2022-08-09 23:03:53 | [Mutex] received everything. 2022-08-09 23:03:53 | [Mutex] isItemNotified: msg:d4azfy0234 :: true 2022-08-09 23:03:53 | [Mutex] waiting for: [msg:1k5zbg0236] 2022-08-09 23:03:53 | [Mutex] received everything. 2022-08-09 23:03:53 | [Mutex] isItemNotified: msg:1k5zbg0236 :: true 2022-08-09 23:03:53 | [Mutex] waiting for: [3ou9kf0237:forbidden] 2022-08-09 23:03:53 | [Mutex] received everything. 2022-08-09 23:03:53 | [Mutex] isItemNotified: 3ou9kf0237:forbidden :: true |