Test duration: 5.109s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.260s |
2019-11-20 20:35:14 |
2019-11-20 20:35:14 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-20 20:35:14 | ------------------------------------ 2019-11-20 20:35:14 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 20:35:14 | command: <command><fields><item><var>jid</var><value>user_regularbc3mk0183@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> 2019-11-20 20:35:14 | target: http://localhost:8088 2019-11-20 20:35:14 | entity: [Content-Type: application/xml,Content-Length: 300,Chunked: false] 2019-11-20 20:35:14 | entity: <command><fields><item><var>jid</var><value>user_regularbc3mk0183@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> 2019-11-20 20:35:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:35:14 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 20:35: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_regularbc3mk0183@localhost</value> </item> </fields> </command> 2019-11-20 20:35:14 | contains: true 2019-11-20 20:35:14 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 20:35:14 | command: <command><fields><item><var>jid</var><value>user_regularbc3mk0183@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> 2019-11-20 20:35:14 | target: http://localhost:8088 2019-11-20 20:35:14 | entity: [Content-Type: application/xml,Content-Length: 260,Chunked: false] 2019-11-20 20:35:14 | entity: <command><fields><item><var>jid</var><value>user_regularbc3mk0183@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> 2019-11-20 20:35:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:35:14 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 20:35: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_regularbc3mk0183@localhost</value> </item> </fields> </command> 2019-11-20 20:35:14 | contains: true |
testMessageFiltering | 1.722s |
2019-11-20 20:35:16 |
2019-11-20 20:35:16 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-20 20:35:16 | ------------------------------------ 2019-11-20 20:35:16 | [Mutex] waiting for: [msg:5f64w60190] 2019-11-20 20:35:16 | [Mutex] received everything. 2019-11-20 20:35:16 | [Mutex] waiting for: [msg:wf9jsk0192] 2019-11-20 20:35:16 | [Mutex] received everything. 2019-11-20 20:35:16 | [Mutex] waiting for: [msg:bezi350194] 2019-11-20 20:35:16 | [Mutex] received everything. 2019-11-20 20:35:16 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 20:35:16 | command: <command><fields><item><var>jid</var><value>user_regulark6kgu20186@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> 2019-11-20 20:35:16 | target: http://localhost:8088 2019-11-20 20:35:16 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-11-20 20:35:16 | entity: <command><fields><item><var>jid</var><value>user_regulark6kgu20186@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> 2019-11-20 20:35:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:35:16 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 20:35: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: null (domains list: ) to a new value: CUSTOM (domains list: 1|allow|self;4|deny|all) for user: user_regulark6kgu20186@localhost</value> </item> </fields> </command> 2019-11-20 20:35:16 | contains: true 2019-11-20 20:35:17 | [Mutex] waiting for: [msg:acy6t30196] 2019-11-20 20:35:17 | [Mutex] received everything. 2019-11-20 20:35:17 | [Mutex] received everything. 2019-11-20 20:35:17 | [Mutex] isItemNotified: bvnu8d0197:forbidden :: true 2019-11-20 20:35:17 | [Mutex] waiting for: [2wg1a00199:forbidden] 2019-11-20 20:35:17 | [Mutex] waiting for: [2wg1a00199:forbidden] 2019-11-20 20:35:17 | [Mutex] received everything. 2019-11-20 20:35:17 | [Mutex] isItemNotified: 2wg1a00199:forbidden :: true 2019-11-20 20:35:17 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-20 20:35:17 | command: <command><fields><item><var>jid</var><value>user_regulark6kgu20186@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistwfqf0g0187@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-20 20:35:17 | target: http://localhost:8088 2019-11-20 20:35:17 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-11-20 20:35:17 | entity: <command><fields><item><var>jid</var><value>user_regulark6kgu20186@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistwfqf0g0187@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-20 20:35:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 21 Nov 2019 04:35:17 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-20 20:35:17 | 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_whitelistwfqf0g0187@localhost;4|deny|all) for user: user_regulark6kgu20186@localhost</value> </item> </fields> </command> 2019-11-20 20:35:17 | contains: true 2019-11-20 20:35:17 | [Mutex] waiting for: [msg:l7yp7t0202] 2019-11-20 20:35:17 | [Mutex] received everything. 2019-11-20 20:35:17 | [Mutex] waiting for: [msg:3f6wat0204] 2019-11-20 20:35:17 | [Mutex] received everything. 2019-11-20 20:35:17 | [Mutex] waiting for: [oztba10205:forbidden] 2019-11-20 20:35:17 | [Mutex] received everything. 2019-11-20 20:35:17 | [Mutex] isItemNotified: oztba10205:forbidden :: true |