Test duration: 5.254s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.291s |
2019-12-03 20:44:52 |
2019-12-03 20:44:52 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-12-03 20:44:52 | ------------------------------------ 2019-12-03 20:44:52 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-12-03 20:44:52 | command: <command><fields><item><var>jid</var><value>user_regular3mbwq50195@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-12-03 20:44:52 | target: http://localhost:8088 2019-12-03 20:44:52 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2019-12-03 20:44:52 | entity: <command><fields><item><var>jid</var><value>user_regular3mbwq50195@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-12-03 20:44:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Dec 2019 04:44:52 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-12-03 20:44:52 | 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_regular3mbwq50195@localhost</value> </item> </fields> </command> 2019-12-03 20:44:52 | contains: true 2019-12-03 20:44:52 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-12-03 20:44:52 | command: <command><fields><item><var>jid</var><value>user_regular3mbwq50195@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-12-03 20:44:52 | target: http://localhost:8088 2019-12-03 20:44:52 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2019-12-03 20:44:52 | entity: <command><fields><item><var>jid</var><value>user_regular3mbwq50195@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-12-03 20:44:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Dec 2019 04:44:52 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-12-03 20:44:52 | 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_regular3mbwq50195@localhost</value> </item> </fields> </command> 2019-12-03 20:44:52 | contains: true |
testMessageFiltering | 1.736s |
2019-12-03 20:44:54 |
2019-12-03 20:44:54 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2019-12-03 20:44:54 | ------------------------------------ 2019-12-03 20:44:54 | [Mutex] waiting for: [msg:2cb5nw0202] 2019-12-03 20:44:54 | [Mutex] received everything. 2019-12-03 20:44:54 | [Mutex] waiting for: [msg:ur50xc0204] 2019-12-03 20:44:54 | [Mutex] received everything. 2019-12-03 20:44:54 | [Mutex] waiting for: [msg:jc9ith0206] 2019-12-03 20:44:54 | [Mutex] received everything. 2019-12-03 20:44:54 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-12-03 20:44:54 | command: <command><fields><item><var>jid</var><value>user_regular4nt1jn0198@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-12-03 20:44:54 | target: http://localhost:8088 2019-12-03 20:44:54 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2019-12-03 20:44:54 | entity: <command><fields><item><var>jid</var><value>user_regular4nt1jn0198@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-12-03 20:44:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Dec 2019 04:44:54 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-12-03 20:44:54 | 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_regular4nt1jn0198@localhost</value> </item> </fields> </command> 2019-12-03 20:44:54 | contains: true 2019-12-03 20:44:55 | [Mutex] waiting for: [msg:fn59wu0208] 2019-12-03 20:44:55 | [Mutex] received everything. 2019-12-03 20:44:55 | [Mutex] received everything. 2019-12-03 20:44:55 | [Mutex] isItemNotified: zeugo00209:forbidden :: true 2019-12-03 20:44:55 | [Mutex] waiting for: [vdamkt0211:forbidden] 2019-12-03 20:44:55 | [Mutex] waiting for: [vdamkt0211:forbidden] 2019-12-03 20:44:55 | [Mutex] received everything. 2019-12-03 20:44:55 | [Mutex] isItemNotified: vdamkt0211:forbidden :: true 2019-12-03 20:44:55 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2019-12-03 20:44:55 | command: <command><fields><item><var>jid</var><value>user_regular4nt1jn0198@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelist2cvjad0199@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-12-03 20:44:55 | target: http://localhost:8088 2019-12-03 20:44:55 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2019-12-03 20:44:55 | entity: <command><fields><item><var>jid</var><value>user_regular4nt1jn0198@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelist2cvjad0199@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2019-12-03 20:44:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Dec 2019 04:44:55 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2019-12-03 20:44:55 | 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_whitelist2cvjad0199@localhost;4|deny|all) for user: user_regular4nt1jn0198@localhost</value> </item> </fields> </command> 2019-12-03 20:44:55 | contains: true 2019-12-03 20:44:55 | [Mutex] waiting for: [msg:d0nu7c0214] 2019-12-03 20:44:55 | [Mutex] received everything. 2019-12-03 20:44:55 | [Mutex] waiting for: [msg:86uqiq0216] 2019-12-03 20:44:55 | [Mutex] received everything. 2019-12-03 20:44:55 | [Mutex] waiting for: [w7m7wm0217:forbidden] 2019-12-03 20:44:55 | [Mutex] received everything. 2019-12-03 20:44:55 | [Mutex] isItemNotified: w7m7wm0217:forbidden :: true |