Test duration : 6.930s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.254s |
2020-08-26 22:48:13 |
2020-08-26 22:48:13 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-08-26 22:48:13 | ------------------------------------ 2020-08-26 22:48:13 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-08-26 22:48:13 | command: <command><fields><item><var>jid</var><value>user_regularrsr7i60214@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> 2020-08-26 22:48:13 | target: http://localhost:8088 2020-08-26 22:48:13 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-08-26 22:48:13 | entity: <command><fields><item><var>jid</var><value>user_regularrsr7i60214@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> 2020-08-26 22:48:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:48:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-08-26 22:48:13 | 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_regularrsr7i60214@test-domain.com</value> </item> </fields> </command> 2020-08-26 22:48:13 | contains: true 2020-08-26 22:48:13 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-08-26 22:48:13 | command: <command><fields><item><var>jid</var><value>user_regularrsr7i60214@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> 2020-08-26 22:48:13 | target: http://localhost:8088 2020-08-26 22:48:13 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-08-26 22:48:13 | entity: <command><fields><item><var>jid</var><value>user_regularrsr7i60214@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> 2020-08-26 22:48:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:48:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-08-26 22:48:13 | 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_regularrsr7i60214@test-domain.com</value> </item> </fields> </command> 2020-08-26 22:48:13 | contains: true |
testMessageFiltering | 2.701s |
2020-08-26 22:48:15 |
2020-08-26 22:48:15 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-08-26 22:48:15 | ------------------------------------ 2020-08-26 22:48:15 | [Mutex] waiting for: [msg:t60a080221] 2020-08-26 22:48:15 | [Mutex] received everything. 2020-08-26 22:48:15 | [Mutex] isItemNotified: msg:t60a080221 :: true 2020-08-26 22:48:15 | [Mutex] waiting for: [msg:4t8yar0223] 2020-08-26 22:48:15 | [Mutex] received everything. 2020-08-26 22:48:15 | [Mutex] isItemNotified: msg:4t8yar0223 :: true 2020-08-26 22:48:15 | [Mutex] waiting for: [msg:p59hls0225] 2020-08-26 22:48:15 | [Mutex] received everything. 2020-08-26 22:48:15 | [Mutex] isItemNotified: msg:p59hls0225 :: true 2020-08-26 22:48:15 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-08-26 22:48:15 | command: <command><fields><item><var>jid</var><value>user_regularp0ec2x0217@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> 2020-08-26 22:48:15 | target: http://localhost:8088 2020-08-26 22:48:15 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-08-26 22:48:15 | entity: <command><fields><item><var>jid</var><value>user_regularp0ec2x0217@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> 2020-08-26 22:48:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:48:15 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-08-26 22:48:15 | 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_regularp0ec2x0217@test-domain.com</value> </item> </fields> </command> 2020-08-26 22:48:15 | contains: true 2020-08-26 22:48:16 | [Mutex] waiting for: [msg:xhp86c0227] 2020-08-26 22:48:16 | [Mutex] received everything. 2020-08-26 22:48:16 | [Mutex] isItemNotified: msg:xhp86c0227 :: true 2020-08-26 22:48:16 | [Mutex] waiting for: [qlicxm0228:forbidden] 2020-08-26 22:48:16 | [Mutex] received everything. 2020-08-26 22:48:16 | [Mutex] isItemNotified: qlicxm0228:forbidden :: true 2020-08-26 22:48:16 | [Mutex] waiting for: [os15hs0230:forbidden] 2020-08-26 22:48:16 | [Mutex] received everything. 2020-08-26 22:48:16 | [Mutex] isItemNotified: os15hs0230:forbidden :: true 2020-08-26 22:48:16 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-08-26 22:48:16 | command: <command><fields><item><var>jid</var><value>user_regularp0ec2x0217@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_whitelistfmn1gg0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-08-26 22:48:16 | target: http://localhost:8088 2020-08-26 22:48:16 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-08-26 22:48:16 | entity: <command><fields><item><var>jid</var><value>user_regularp0ec2x0217@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_whitelistfmn1gg0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-08-26 22:48:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:48:16 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-08-26 22:48:16 | 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_whitelistfmn1gg0218@test-domain.com;4|deny|all) for user: user_regularp0ec2x0217@test-domain.com</value> </item> </fields> </command> 2020-08-26 22:48:16 | contains: true 2020-08-26 22:48:17 | [Mutex] waiting for: [msg:r9q9e0233] 2020-08-26 22:48:17 | [Mutex] received everything. 2020-08-26 22:48:17 | [Mutex] isItemNotified: msg:r9q9e0233 :: true 2020-08-26 22:48:17 | [Mutex] waiting for: [msg:ek8zbt0235] 2020-08-26 22:48:17 | [Mutex] received everything. 2020-08-26 22:48:17 | [Mutex] isItemNotified: msg:ek8zbt0235 :: true 2020-08-26 22:48:17 | [Mutex] waiting for: [p4s88c0236:forbidden] 2020-08-26 22:48:17 | [Mutex] received everything. 2020-08-26 22:48:17 | [Mutex] isItemNotified: p4s88c0236:forbidden :: true |