Test duration: 5.510s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.235s |
2020-01-15 19:23:11 |
2020-01-15 19:23:11 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-01-15 19:23:11 | ------------------------------------ 2020-01-15 19:23:11 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-01-15 19:23:11 | command: <command><fields><item><var>jid</var><value>user_regularxhwvv70216@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-01-15 19:23:11 | target: http://localhost:8088 2020-01-15 19:23:11 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2020-01-15 19:23:11 | entity: <command><fields><item><var>jid</var><value>user_regularxhwvv70216@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-01-15 19:23:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Jan 2020 03:23:11 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-01-15 19:23:11 | response entity: <command> <jid>sess-man@localhost</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@localhost;4|deny|all) for user: user_regularxhwvv70216@localhost</value> </item> </fields> </command> 2020-01-15 19:23:11 | contains: true 2020-01-15 19:23:11 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-01-15 19:23:11 | command: <command><fields><item><var>jid</var><value>user_regularxhwvv70216@localhost</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-01-15 19:23:11 | target: http://localhost:8088 2020-01-15 19:23:11 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2020-01-15 19:23:11 | entity: <command><fields><item><var>jid</var><value>user_regularxhwvv70216@localhost</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-01-15 19:23:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Jan 2020 03:23:11 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-01-15 19:23:11 | response entity: <command> <jid>sess-man@localhost</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@localhost;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|all) for user: user_regularxhwvv70216@localhost</value> </item> </fields> </command> 2020-01-15 19:23:11 | contains: true |
testMessageFiltering | 1.664s |
2020-01-15 19:23:13 |
2020-01-15 19:23:13 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-01-15 19:23:13 | ------------------------------------ 2020-01-15 19:23:13 | [Mutex] waiting for: [msg:quimrq0223] 2020-01-15 19:23:13 | [Mutex] received everything. 2020-01-15 19:23:13 | [Mutex] waiting for: [msg:a7a53n0225] 2020-01-15 19:23:13 | [Mutex] received everything. 2020-01-15 19:23:13 | [Mutex] waiting for: [msg:a7gk7y0227] 2020-01-15 19:23:13 | [Mutex] received everything. 2020-01-15 19:23:13 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-01-15 19:23:13 | command: <command><fields><item><var>jid</var><value>user_regularqynpx20219@localhost</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-01-15 19:23:13 | target: http://localhost:8088 2020-01-15 19:23:13 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2020-01-15 19:23:13 | entity: <command><fields><item><var>jid</var><value>user_regularqynpx20219@localhost</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-01-15 19:23:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Jan 2020 03:23:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-01-15 19:23:13 | response entity: <command> <jid>sess-man@localhost</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_regularqynpx20219@localhost</value> </item> </fields> </command> 2020-01-15 19:23:13 | contains: true 2020-01-15 19:23:14 | [Mutex] waiting for: [msg:n895dp0229] 2020-01-15 19:23:14 | [Mutex] received everything. 2020-01-15 19:23:14 | [Mutex] waiting for: [20z7ll0230:forbidden] 2020-01-15 19:23:14 | [Mutex] received everything. 2020-01-15 19:23:14 | [Mutex] isItemNotified: 20z7ll0230:forbidden :: true 2020-01-15 19:23:14 | [Mutex] waiting for: [kojtjw0232:forbidden] 2020-01-15 19:23:14 | [Mutex] received everything. 2020-01-15 19:23:14 | [Mutex] isItemNotified: kojtjw0232:forbidden :: true 2020-01-15 19:23:14 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-01-15 19:23:14 | command: <command><fields><item><var>jid</var><value>user_regularqynpx20219@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistpk9cpf0220@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-01-15 19:23:14 | target: http://localhost:8088 2020-01-15 19:23:14 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2020-01-15 19:23:14 | entity: <command><fields><item><var>jid</var><value>user_regularqynpx20219@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistpk9cpf0220@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-01-15 19:23:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Jan 2020 03:23:14 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-01-15 19:23:14 | response entity: <command> <jid>sess-man@localhost</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_whitelistpk9cpf0220@localhost;4|deny|all) for user: user_regularqynpx20219@localhost</value> </item> </fields> </command> 2020-01-15 19:23:14 | contains: true 2020-01-15 19:23:14 | [Mutex] waiting for: [msg:5uje4h0235] 2020-01-15 19:23:14 | [Mutex] received everything. 2020-01-15 19:23:14 | [Mutex] waiting for: [msg:4rlkp20237] 2020-01-15 19:23:14 | [Mutex] received everything. 2020-01-15 19:23:14 | [Mutex] waiting for: [10eira0238:forbidden] 2020-01-15 19:23:14 | [Mutex] received everything. 2020-01-15 19:23:14 | [Mutex] isItemNotified: 10eira0238:forbidden :: true |