Test duration: 5.328s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.237s |
2020-05-26 23:21:21 |
2020-05-26 23:21:21 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-05-26 23:21:21 | ------------------------------------ 2020-05-26 23:21:21 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-05-26 23:21:21 | command: <command><fields><item><var>jid</var><value>user_regularjr1k1l0213@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-05-26 23:21:21 | target: http://localhost:8088 2020-05-26 23:21:21 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2020-05-26 23:21:21 | entity: <command><fields><item><var>jid</var><value>user_regularjr1k1l0213@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-05-26 23:21:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 06:21:21 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-05-26 23:21:21 | 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_regularjr1k1l0213@localhost</value> </item> </fields> </command> 2020-05-26 23:21:21 | contains: true 2020-05-26 23:21:21 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-05-26 23:21:21 | command: <command><fields><item><var>jid</var><value>user_regularjr1k1l0213@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-05-26 23:21:21 | target: http://localhost:8088 2020-05-26 23:21:21 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2020-05-26 23:21:21 | entity: <command><fields><item><var>jid</var><value>user_regularjr1k1l0213@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-05-26 23:21:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 06:21:21 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-05-26 23:21:21 | 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_regularjr1k1l0213@localhost</value> </item> </fields> </command> 2020-05-26 23:21:21 | contains: true |
testMessageFiltering | 1.680s |
2020-05-26 23:21:23 |
2020-05-26 23:21:23 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-05-26 23:21:23 | ------------------------------------ 2020-05-26 23:21:23 | [Mutex] waiting for: [msg:evyznz0220] 2020-05-26 23:21:23 | [Mutex] received everything. 2020-05-26 23:21:23 | [Mutex] waiting for: [msg:c0fpc60222] 2020-05-26 23:21:23 | [Mutex] received everything. 2020-05-26 23:21:23 | [Mutex] waiting for: [msg:o9eka40224] 2020-05-26 23:21:23 | [Mutex] received everything. 2020-05-26 23:21:23 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-05-26 23:21:23 | command: <command><fields><item><var>jid</var><value>user_regulart317ek0216@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-05-26 23:21:23 | target: http://localhost:8088 2020-05-26 23:21:23 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2020-05-26 23:21:23 | entity: <command><fields><item><var>jid</var><value>user_regulart317ek0216@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-05-26 23:21:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 06:21:23 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-05-26 23:21:23 | 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_regulart317ek0216@localhost</value> </item> </fields> </command> 2020-05-26 23:21:23 | contains: true 2020-05-26 23:21:23 | [Mutex] waiting for: [msg:ycqvmk0226] 2020-05-26 23:21:24 | [Mutex] received everything. 2020-05-26 23:21:24 | [Mutex] waiting for: [wla9cq0227:forbidden] 2020-05-26 23:21:24 | [Mutex] received everything. 2020-05-26 23:21:24 | [Mutex] isItemNotified: wla9cq0227:forbidden :: true 2020-05-26 23:21:24 | [Mutex] waiting for: [ascpmm0229:forbidden] 2020-05-26 23:21:24 | [Mutex] received everything. 2020-05-26 23:21:24 | [Mutex] isItemNotified: ascpmm0229:forbidden :: true 2020-05-26 23:21:24 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-05-26 23:21:24 | command: <command><fields><item><var>jid</var><value>user_regulart317ek0216@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistuhhwvr0217@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-05-26 23:21:24 | target: http://localhost:8088 2020-05-26 23:21:24 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2020-05-26 23:21:24 | entity: <command><fields><item><var>jid</var><value>user_regulart317ek0216@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistuhhwvr0217@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-05-26 23:21:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 06:21:24 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-05-26 23:21:24 | 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_whitelistuhhwvr0217@localhost;4|deny|all) for user: user_regulart317ek0216@localhost</value> </item> </fields> </command> 2020-05-26 23:21:24 | contains: true 2020-05-26 23:21:24 | [Mutex] waiting for: [msg:w5sk7j0232] 2020-05-26 23:21:24 | [Mutex] received everything. 2020-05-26 23:21:24 | [Mutex] waiting for: [msg:ijltzf0234] 2020-05-26 23:21:24 | [Mutex] received everything. 2020-05-26 23:21:24 | [Mutex] received everything. 2020-05-26 23:21:24 | [Mutex] isItemNotified: 611lhh0235:forbidden :: true |