Test duration : 7.207s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.310s |
2020-10-08 23:00:42 |
2020-10-08 23:00:42 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-10-08 23:00:42 | ------------------------------------ 2020-10-08 23:00:42 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-08 23:00:42 | command: <command><fields><item><var>jid</var><value>user_regular5rwt8t0214@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-10-08 23:00:42 | target: http://localhost:8088 2020-10-08 23:00:42 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-10-08 23:00:42 | entity: <command><fields><item><var>jid</var><value>user_regular5rwt8t0214@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-10-08 23:00:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 06:00:42 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-08 23:00:42 | 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_regular5rwt8t0214@test-domain.com</value> </item> </fields> </command> 2020-10-08 23:00:42 | contains: true 2020-10-08 23:00:42 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-08 23:00:42 | command: <command><fields><item><var>jid</var><value>user_regular5rwt8t0214@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-10-08 23:00:42 | target: http://localhost:8088 2020-10-08 23:00:42 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-10-08 23:00:42 | entity: <command><fields><item><var>jid</var><value>user_regular5rwt8t0214@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-10-08 23:00:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 06:00:42 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-08 23:00:42 | 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_regular5rwt8t0214@test-domain.com</value> </item> </fields> </command> 2020-10-08 23:00:42 | contains: true |
testMessageFiltering | 2.797s |
2020-10-08 23:00:44 |
2020-10-08 23:00:44 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-10-08 23:00:44 | ------------------------------------ 2020-10-08 23:00:44 | [Mutex] waiting for: [msg:wv8ks20221] 2020-10-08 23:00:44 | [Mutex] received everything. 2020-10-08 23:00:44 | [Mutex] isItemNotified: msg:wv8ks20221 :: true 2020-10-08 23:00:44 | [Mutex] waiting for: [msg:ov3h2k0223] 2020-10-08 23:00:44 | [Mutex] received everything. 2020-10-08 23:00:44 | [Mutex] isItemNotified: msg:ov3h2k0223 :: true 2020-10-08 23:00:44 | [Mutex] waiting for: [msg:9lpmiu0225] 2020-10-08 23:00:44 | [Mutex] received everything. 2020-10-08 23:00:44 | [Mutex] isItemNotified: msg:9lpmiu0225 :: true 2020-10-08 23:00:44 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-08 23:00:44 | command: <command><fields><item><var>jid</var><value>user_regularknhfuf0217@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-10-08 23:00:44 | target: http://localhost:8088 2020-10-08 23:00:44 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-10-08 23:00:44 | entity: <command><fields><item><var>jid</var><value>user_regularknhfuf0217@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-10-08 23:00:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 06:00:44 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-08 23:00:44 | 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_regularknhfuf0217@test-domain.com</value> </item> </fields> </command> 2020-10-08 23:00:44 | contains: true 2020-10-08 23:00:46 | [Mutex] waiting for: [msg:ufyoj60227] 2020-10-08 23:00:46 | [Mutex] received everything. 2020-10-08 23:00:46 | [Mutex] isItemNotified: msg:ufyoj60227 :: true 2020-10-08 23:00:46 | [Mutex] waiting for: [sw0bqe0228:forbidden] 2020-10-08 23:00:46 | [Mutex] received everything. 2020-10-08 23:00:46 | [Mutex] isItemNotified: sw0bqe0228:forbidden :: true 2020-10-08 23:00:46 | [Mutex] waiting for: [siqg2o0230:forbidden] 2020-10-08 23:00:46 | [Mutex] received everything. 2020-10-08 23:00:46 | [Mutex] isItemNotified: siqg2o0230:forbidden :: true 2020-10-08 23:00:46 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-08 23:00:46 | command: <command><fields><item><var>jid</var><value>user_regularknhfuf0217@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_whitelist7lp9kl0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-10-08 23:00:46 | target: http://localhost:8088 2020-10-08 23:00:46 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-10-08 23:00:46 | entity: <command><fields><item><var>jid</var><value>user_regularknhfuf0217@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_whitelist7lp9kl0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-10-08 23:00:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 06:00:46 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-08 23:00:46 | 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_whitelist7lp9kl0218@test-domain.com;4|deny|all) for user: user_regularknhfuf0217@test-domain.com</value> </item> </fields> </command> 2020-10-08 23:00:46 | contains: true 2020-10-08 23:00:47 | [Mutex] waiting for: [msg:t7zp3a0233] 2020-10-08 23:00:47 | [Mutex] received everything. 2020-10-08 23:00:47 | [Mutex] isItemNotified: msg:t7zp3a0233 :: true 2020-10-08 23:00:47 | [Mutex] waiting for: [msg:t79zzs0235] 2020-10-08 23:00:47 | [Mutex] received everything. 2020-10-08 23:00:47 | [Mutex] isItemNotified: msg:t79zzs0235 :: true 2020-10-08 23:00:47 | [Mutex] waiting for: [oc0lhe0236:forbidden] 2020-10-08 23:00:47 | [Mutex] received everything. 2020-10-08 23:00:47 | [Mutex] isItemNotified: oc0lhe0236:forbidden :: true |