Test duration: 5.804s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.244s |
2020-02-09 18:47:48 |
2020-02-09 18:47:48 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-02-09 18:47:48 | ------------------------------------ 2020-02-09 18:47:48 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-02-09 18:47:48 | command: <command><fields><item><var>jid</var><value>user_regular1eipfl0216@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-02-09 18:47:48 | target: http://localhost:8088 2020-02-09 18:47:48 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2020-02-09 18:47:48 | entity: <command><fields><item><var>jid</var><value>user_regular1eipfl0216@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-02-09 18:47:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Feb 2020 02:47:48 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-02-09 18:47:48 | 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_regular1eipfl0216@localhost</value> </item> </fields> </command> 2020-02-09 18:47:48 | contains: true 2020-02-09 18:47:48 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-02-09 18:47:48 | command: <command><fields><item><var>jid</var><value>user_regular1eipfl0216@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-02-09 18:47:48 | target: http://localhost:8088 2020-02-09 18:47:48 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2020-02-09 18:47:48 | entity: <command><fields><item><var>jid</var><value>user_regular1eipfl0216@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-02-09 18:47:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Feb 2020 02:47:48 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-02-09 18:47:48 | 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_regular1eipfl0216@localhost</value> </item> </fields> </command> 2020-02-09 18:47:48 | contains: true |
testMessageFiltering | 1.703s |
2020-02-09 18:47:50 |
2020-02-09 18:47:50 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-02-09 18:47:50 | ------------------------------------ 2020-02-09 18:47:50 | [Mutex] waiting for: [msg:iefz720223] 2020-02-09 18:47:50 | [Mutex] received everything. 2020-02-09 18:47:50 | [Mutex] waiting for: [msg:nfu4q90225] 2020-02-09 18:47:50 | [Mutex] received everything. 2020-02-09 18:47:50 | [Mutex] waiting for: [msg:kraqlv0227] 2020-02-09 18:47:50 | [Mutex] received everything. 2020-02-09 18:47:50 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-02-09 18:47:50 | command: <command><fields><item><var>jid</var><value>user_regular80rich0219@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-02-09 18:47:50 | target: http://localhost:8088 2020-02-09 18:47:50 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2020-02-09 18:47:50 | entity: <command><fields><item><var>jid</var><value>user_regular80rich0219@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-02-09 18:47:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Feb 2020 02:47:50 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-02-09 18:47:50 | 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_regular80rich0219@localhost</value> </item> </fields> </command> 2020-02-09 18:47:50 | contains: true 2020-02-09 18:47:51 | [Mutex] waiting for: [msg:5y7tvj0229] 2020-02-09 18:47:51 | [Mutex] received everything. 2020-02-09 18:47:51 | [Mutex] waiting for: [5hwbqz0230:forbidden] 2020-02-09 18:47:51 | [Mutex] received everything. 2020-02-09 18:47:51 | [Mutex] isItemNotified: 5hwbqz0230:forbidden :: true 2020-02-09 18:47:51 | [Mutex] waiting for: [r1dl9f0232:forbidden] 2020-02-09 18:47:51 | [Mutex] received everything. 2020-02-09 18:47:51 | [Mutex] isItemNotified: r1dl9f0232:forbidden :: true 2020-02-09 18:47:51 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-02-09 18:47:51 | command: <command><fields><item><var>jid</var><value>user_regular80rich0219@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistwgolwp0220@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-02-09 18:47:51 | target: http://localhost:8088 2020-02-09 18:47:51 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2020-02-09 18:47:51 | entity: <command><fields><item><var>jid</var><value>user_regular80rich0219@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistwgolwp0220@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-02-09 18:47:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Feb 2020 02:47:51 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-02-09 18:47:51 | 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_whitelistwgolwp0220@localhost;4|deny|all) for user: user_regular80rich0219@localhost</value> </item> </fields> </command> 2020-02-09 18:47:51 | contains: true 2020-02-09 18:47:52 | [Mutex] waiting for: [msg:nb9b060235] 2020-02-09 18:47:52 | [Mutex] received everything. 2020-02-09 18:47:52 | [Mutex] waiting for: [msg:8wvfjs0237] 2020-02-09 18:47:52 | [Mutex] received everything. 2020-02-09 18:47:52 | [Mutex] received everything. 2020-02-09 18:47:52 | [Mutex] isItemNotified: 1bmzhm0238:forbidden :: true |