Test duration: 5.728s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.346s |
2020-07-10 15:23:13 |
2020-07-10 15:23:13 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-07-10 15:23:13 | ------------------------------------ 2020-07-10 15:23:13 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-07-10 15:23:13 | command: <command><fields><item><var>jid</var><value>user_regular8nhm1f0213@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-07-10 15:23:13 | target: http://localhost:8088 2020-07-10 15:23:13 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2020-07-10 15:23:13 | entity: <command><fields><item><var>jid</var><value>user_regular8nhm1f0213@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-07-10 15:23:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 10 Jul 2020 22:23:14 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-07-10 15: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: null (domains list: ) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|admin@localhost;4|deny|all) for user: user_regular8nhm1f0213@localhost</value> </item> </fields> </command> 2020-07-10 15:23:14 | contains: true 2020-07-10 15:23:14 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-07-10 15:23:14 | command: <command><fields><item><var>jid</var><value>user_regular8nhm1f0213@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-07-10 15:23:14 | target: http://localhost:8088 2020-07-10 15:23:14 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2020-07-10 15:23:14 | entity: <command><fields><item><var>jid</var><value>user_regular8nhm1f0213@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-07-10 15:23:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 10 Jul 2020 22:23:14 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-07-10 15: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;2|allow|jid|admin@localhost;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|all) for user: user_regular8nhm1f0213@localhost</value> </item> </fields> </command> 2020-07-10 15:23:14 | contains: true |
testMessageFiltering | 1.782s |
2020-07-10 15:23:15 |
2020-07-10 15:23:15 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-07-10 15:23:15 | ------------------------------------ 2020-07-10 15:23:15 | [Mutex] waiting for: [msg:vgp6u90220] 2020-07-10 15:23:15 | [Mutex] received everything. 2020-07-10 15:23:15 | [Mutex] isItemNotified: msg:vgp6u90220 :: true 2020-07-10 15:23:15 | [Mutex] waiting for: [msg:gwqiid0222] 2020-07-10 15:23:15 | [Mutex] received everything. 2020-07-10 15:23:15 | [Mutex] isItemNotified: msg:gwqiid0222 :: true 2020-07-10 15:23:15 | [Mutex] waiting for: [msg:9vd8x20224] 2020-07-10 15:23:15 | [Mutex] received everything. 2020-07-10 15:23:15 | [Mutex] isItemNotified: msg:9vd8x20224 :: true 2020-07-10 15:23:15 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-07-10 15:23:15 | command: <command><fields><item><var>jid</var><value>user_regularl6hgvk0216@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-07-10 15:23:15 | target: http://localhost:8088 2020-07-10 15:23:15 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2020-07-10 15:23:15 | entity: <command><fields><item><var>jid</var><value>user_regularl6hgvk0216@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-07-10 15:23:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 10 Jul 2020 22:23:15 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-07-10 15:23:15 | 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_regularl6hgvk0216@localhost</value> </item> </fields> </command> 2020-07-10 15:23:15 | contains: true 2020-07-10 15:23:16 | [Mutex] waiting for: [msg:t6cqo80226] 2020-07-10 15:23:16 | [Mutex] received everything. 2020-07-10 15:23:16 | [Mutex] isItemNotified: msg:t6cqo80226 :: true 2020-07-10 15:23:16 | [Mutex] waiting for: [pirsv80227:forbidden] 2020-07-10 15:23:16 | [Mutex] received everything. 2020-07-10 15:23:16 | [Mutex] isItemNotified: pirsv80227:forbidden :: true 2020-07-10 15:23:16 | [Mutex] waiting for: [cgvdtx0229:forbidden] 2020-07-10 15:23:16 | [Mutex] received everything. 2020-07-10 15:23:16 | [Mutex] isItemNotified: cgvdtx0229:forbidden :: true 2020-07-10 15:23:16 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-07-10 15:23:16 | command: <command><fields><item><var>jid</var><value>user_regularl6hgvk0216@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistgzmlyd0217@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-07-10 15:23:16 | target: http://localhost:8088 2020-07-10 15:23:16 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2020-07-10 15:23:16 | entity: <command><fields><item><var>jid</var><value>user_regularl6hgvk0216@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistgzmlyd0217@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-07-10 15:23:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 10 Jul 2020 22:23:16 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-07-10 15:23:16 | 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_whitelistgzmlyd0217@localhost;4|deny|all) for user: user_regularl6hgvk0216@localhost</value> </item> </fields> </command> 2020-07-10 15:23:16 | contains: true 2020-07-10 15:23:17 | [Mutex] waiting for: [msg:dq28y40232] 2020-07-10 15:23:17 | [Mutex] received everything. 2020-07-10 15:23:17 | [Mutex] isItemNotified: msg:dq28y40232 :: true 2020-07-10 15:23:17 | [Mutex] waiting for: [msg:ug3fej0234] 2020-07-10 15:23:17 | [Mutex] received everything. 2020-07-10 15:23:17 | [Mutex] isItemNotified: msg:ug3fej0234 :: true 2020-07-10 15:23:17 | [Mutex] waiting for: [bcuz7s0235:forbidden] 2020-07-10 15:23:17 | [Mutex] received everything. 2020-07-10 15:23:17 | [Mutex] isItemNotified: bcuz7s0235:forbidden :: true |