Test duration: 5.573s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.252s |
2020-06-24 23:51:47 |
2020-06-24 23:51:47 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-06-24 23:51:47 | ------------------------------------ 2020-06-24 23:51:47 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-24 23:51:47 | command: <command><fields><item><var>jid</var><value>user_regular90id6z0217@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-06-24 23:51:47 | target: http://localhost:8088 2020-06-24 23:51:47 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2020-06-24 23:51:47 | entity: <command><fields><item><var>jid</var><value>user_regular90id6z0217@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-06-24 23:51:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 06:51:47 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-24 23:51:47 | 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_regular90id6z0217@localhost</value> </item> </fields> </command> 2020-06-24 23:51:47 | contains: true 2020-06-24 23:51:47 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-24 23:51:47 | command: <command><fields><item><var>jid</var><value>user_regular90id6z0217@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-06-24 23:51:47 | target: http://localhost:8088 2020-06-24 23:51:47 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2020-06-24 23:51:47 | entity: <command><fields><item><var>jid</var><value>user_regular90id6z0217@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-06-24 23:51:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 06:51:47 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-24 23:51:47 | 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_regular90id6z0217@localhost</value> </item> </fields> </command> 2020-06-24 23:51:47 | contains: true |
testMessageFiltering | 1.797s |
2020-06-24 23:51:48 |
2020-06-24 23:51:48 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-06-24 23:51:48 | ------------------------------------ 2020-06-24 23:51:48 | [Mutex] waiting for: [msg:3qpxii0224] 2020-06-24 23:51:48 | [Mutex] received everything. 2020-06-24 23:51:48 | [Mutex] waiting for: [msg:b2x8zy0226] 2020-06-24 23:51:48 | [Mutex] received everything. 2020-06-24 23:51:48 | [Mutex] waiting for: [msg:9611iv0228] 2020-06-24 23:51:48 | [Mutex] received everything. 2020-06-24 23:51:48 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-24 23:51:48 | command: <command><fields><item><var>jid</var><value>user_regular4vskkv0220@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-06-24 23:51:48 | target: http://localhost:8088 2020-06-24 23:51:48 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2020-06-24 23:51:48 | entity: <command><fields><item><var>jid</var><value>user_regular4vskkv0220@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-06-24 23:51:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 06:51:48 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-24 23:51: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;4|deny|all) for user: user_regular4vskkv0220@localhost</value> </item> </fields> </command> 2020-06-24 23:51:48 | contains: true 2020-06-24 23:51:49 | [Mutex] waiting for: [msg:cil0ok0230] 2020-06-24 23:51:49 | [Mutex] received everything. 2020-06-24 23:51:49 | [Mutex] waiting for: [ypingn0231:forbidden] 2020-06-24 23:51:49 | [Mutex] received everything. 2020-06-24 23:51:49 | [Mutex] isItemNotified: ypingn0231:forbidden :: true 2020-06-24 23:51:49 | [Mutex] waiting for: [i6slt0233:forbidden] 2020-06-24 23:51:49 | [Mutex] received everything. 2020-06-24 23:51:49 | [Mutex] isItemNotified: i6slt0233:forbidden :: true 2020-06-24 23:51:49 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-24 23:51:49 | command: <command><fields><item><var>jid</var><value>user_regular4vskkv0220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelist6nivca0221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-24 23:51:49 | target: http://localhost:8088 2020-06-24 23:51:49 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2020-06-24 23:51:49 | entity: <command><fields><item><var>jid</var><value>user_regular4vskkv0220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelist6nivca0221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-24 23:51:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Jun 2020 06:51:49 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-24 23:51:49 | 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_whitelist6nivca0221@localhost;4|deny|all) for user: user_regular4vskkv0220@localhost</value> </item> </fields> </command> 2020-06-24 23:51:49 | contains: true 2020-06-24 23:51:50 | [Mutex] waiting for: [msg:4h5h3o0236] 2020-06-24 23:51:50 | [Mutex] received everything. 2020-06-24 23:51:50 | [Mutex] waiting for: [msg:ho4gyc0238] 2020-06-24 23:51:50 | [Mutex] received everything. 2020-06-24 23:51:50 | [Mutex] waiting for: [efo6k20239:forbidden] 2020-06-24 23:51:50 | [Mutex] received everything. 2020-06-24 23:51:50 | [Mutex] isItemNotified: efo6k20239:forbidden :: true |