Test duration: 5.570s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.347s |
2019-11-26 20:56:04 |
2019-11-26 20:56:04 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-26 20:56:04 | ------------------------------------ 2019-11-26 20:56:04 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-26 20:56:04 | command: <command><fields><item><var>jid</var><value>user_regularfdix5u0195@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-26 20:56:04 | target: http://localhost:8088 2019-11-26 20:56:04 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2019-11-26 20:56:04 | entity: <command><fields><item><var>jid</var><value>user_regularfdix5u0195@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-26 20:56:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Nov 2019 04:56:04 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-26 20:56:04 | 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_regularfdix5u0195@localhost</value> </item> </fields> </command> 2019-11-26 20:56:04 | contains: true 2019-11-26 20:56:04 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-26 20:56:04 | command: <command><fields><item><var>jid</var><value>user_regularfdix5u0195@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-26 20:56:04 | target: http://localhost:8088 2019-11-26 20:56:04 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2019-11-26 20:56:04 | entity: <command><fields><item><var>jid</var><value>user_regularfdix5u0195@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-26 20:56:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Nov 2019 04:56:04 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-26 20:56:04 | 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_regularfdix5u0195@localhost</value> </item> </fields> </command> 2019-11-26 20:56:04 | contains: true |
testMessageFiltering | 1.608s |
2019-11-26 20:56:06 |
2019-11-26 20:56:06 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-11-26 20:56:06 | ------------------------------------ 2019-11-26 20:56:06 | [Mutex] waiting for: [msg:j7zdp40202] 2019-11-26 20:56:06 | [Mutex] received everything. 2019-11-26 20:56:06 | [Mutex] waiting for: [msg:szlxop0204] 2019-11-26 20:56:06 | [Mutex] received everything. 2019-11-26 20:56:06 | [Mutex] waiting for: [msg:i8sn8k0206] 2019-11-26 20:56:06 | [Mutex] received everything. 2019-11-26 20:56:06 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-26 20:56:06 | command: <command><fields><item><var>jid</var><value>user_regularfiozrb0198@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-26 20:56:06 | target: http://localhost:8088 2019-11-26 20:56:06 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-11-26 20:56:06 | entity: <command><fields><item><var>jid</var><value>user_regularfiozrb0198@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-26 20:56:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Nov 2019 04:56:06 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-26 20:56:06 | 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_regularfiozrb0198@localhost</value> </item> </fields> </command> 2019-11-26 20:56:06 | contains: true 2019-11-26 20:56:07 | [Mutex] waiting for: [msg:dd79750208] 2019-11-26 20:56:07 | [Mutex] received everything. 2019-11-26 20:56:07 | [Mutex] waiting for: [wb0yyt0209:forbidden] 2019-11-26 20:56:07 | [Mutex] received everything. 2019-11-26 20:56:07 | [Mutex] isItemNotified: wb0yyt0209:forbidden :: true 2019-11-26 20:56:07 | [Mutex] waiting for: [w2j7uu0211:forbidden] 2019-11-26 20:56:07 | [Mutex] received everything. 2019-11-26 20:56:07 | [Mutex] isItemNotified: w2j7uu0211:forbidden :: true 2019-11-26 20:56:07 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-11-26 20:56:07 | command: <command><fields><item><var>jid</var><value>user_regularfiozrb0198@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistyl2wjy0199@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-26 20:56:07 | target: http://localhost:8088 2019-11-26 20:56:07 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-11-26 20:56:07 | entity: <command><fields><item><var>jid</var><value>user_regularfiozrb0198@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistyl2wjy0199@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-11-26 20:56:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Nov 2019 04:56:07 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-11-26 20:56:07 | 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_whitelistyl2wjy0199@localhost;4|deny|all) for user: user_regularfiozrb0198@localhost</value> </item> </fields> </command> 2019-11-26 20:56:07 | contains: true 2019-11-26 20:56:08 | [Mutex] waiting for: [msg:yp9no70214] 2019-11-26 20:56:08 | [Mutex] received everything. 2019-11-26 20:56:08 | [Mutex] waiting for: [msg:udw13c0216] 2019-11-26 20:56:08 | [Mutex] received everything. 2019-11-26 20:56:08 | [Mutex] waiting for: [3k8gk10217:forbidden] 2019-11-26 20:56:08 | [Mutex] received everything. 2019-11-26 20:56:08 | [Mutex] isItemNotified: 3k8gk10217:forbidden :: true |