Test duration : 6.474s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.243s |
2021-03-24 22:31:11 |
2021-03-24 22:31:11 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-03-24 22:31:11 | ------------------------------------ 2021-03-24 22:31:11 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-03-24 22:31:11 | command: <command><fields><item><var>jid</var><value>user_regular5rl6zz0214@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-03-24 22:31:11 | target: http://localhost:8088 2021-03-24 22:31:11 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-03-24 22:31:11 | entity: <command><fields><item><var>jid</var><value>user_regular5rl6zz0214@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-03-24 22:31:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:31:11 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-03-24 22:31:11 | response entity: <command> <jid>sess-man@test-domain.com</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@test-domain.com;4|deny|all) for user: user_regular5rl6zz0214@test-domain.com</value> </item> </fields> </command> 2021-03-24 22:31:11 | contains: true 2021-03-24 22:31:11 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-03-24 22:31:11 | command: <command><fields><item><var>jid</var><value>user_regular5rl6zz0214@test-domain.com</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> 2021-03-24 22:31:11 | target: http://localhost:8088 2021-03-24 22:31:11 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-03-24 22:31:11 | entity: <command><fields><item><var>jid</var><value>user_regular5rl6zz0214@test-domain.com</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> 2021-03-24 22:31:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:31:11 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-03-24 22:31:11 | response entity: <command> <jid>sess-man@test-domain.com</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@test-domain.com;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|all) for user: user_regular5rl6zz0214@test-domain.com</value> </item> </fields> </command> 2021-03-24 22:31:11 | contains: true |
testMessageFiltering | 2.615s |
2021-03-24 22:31:13 |
2021-03-24 22:31:13 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-03-24 22:31:13 | ------------------------------------ 2021-03-24 22:31:13 | [Mutex] waiting for: [msg:rq4k5n0221] 2021-03-24 22:31:13 | [Mutex] received everything. 2021-03-24 22:31:13 | [Mutex] isItemNotified: msg:rq4k5n0221 :: true 2021-03-24 22:31:13 | [Mutex] waiting for: [msg:u12bhm0223] 2021-03-24 22:31:13 | [Mutex] received everything. 2021-03-24 22:31:13 | [Mutex] isItemNotified: msg:u12bhm0223 :: true 2021-03-24 22:31:13 | [Mutex] waiting for: [msg:oo5m390225] 2021-03-24 22:31:13 | [Mutex] received everything. 2021-03-24 22:31:13 | [Mutex] isItemNotified: msg:oo5m390225 :: true 2021-03-24 22:31:13 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-03-24 22:31:13 | command: <command><fields><item><var>jid</var><value>user_regular500rs90217@test-domain.com</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> 2021-03-24 22:31:13 | target: http://localhost:8088 2021-03-24 22:31:13 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-03-24 22:31:13 | entity: <command><fields><item><var>jid</var><value>user_regular500rs90217@test-domain.com</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> 2021-03-24 22:31:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:31:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-03-24 22:31:13 | response entity: <command> <jid>sess-man@test-domain.com</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_regular500rs90217@test-domain.com</value> </item> </fields> </command> 2021-03-24 22:31:13 | contains: true 2021-03-24 22:31:14 | [Mutex] waiting for: [msg:edxp0z0227] 2021-03-24 22:31:14 | [Mutex] received everything. 2021-03-24 22:31:14 | [Mutex] isItemNotified: msg:edxp0z0227 :: true 2021-03-24 22:31:14 | [Mutex] waiting for: [yke4vn0228:forbidden] 2021-03-24 22:31:14 | [Mutex] received everything. 2021-03-24 22:31:14 | [Mutex] isItemNotified: yke4vn0228:forbidden :: true 2021-03-24 22:31:14 | [Mutex] waiting for: [6mkmk90230:forbidden] 2021-03-24 22:31:14 | [Mutex] received everything. 2021-03-24 22:31:14 | [Mutex] isItemNotified: 6mkmk90230:forbidden :: true 2021-03-24 22:31:14 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-03-24 22:31:14 | command: <command><fields><item><var>jid</var><value>user_regular500rs90217@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelisttoobl20218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-03-24 22:31:14 | target: http://localhost:8088 2021-03-24 22:31:14 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-03-24 22:31:14 | entity: <command><fields><item><var>jid</var><value>user_regular500rs90217@test-domain.com</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelisttoobl20218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-03-24 22:31:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:31:14 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-03-24 22:31:14 | response entity: <command> <jid>sess-man@test-domain.com</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_whitelisttoobl20218@test-domain.com;4|deny|all) for user: user_regular500rs90217@test-domain.com</value> </item> </fields> </command> 2021-03-24 22:31:14 | contains: true 2021-03-24 22:31:15 | [Mutex] waiting for: [msg:legynm0233] 2021-03-24 22:31:15 | [Mutex] received everything. 2021-03-24 22:31:15 | [Mutex] isItemNotified: msg:legynm0233 :: true 2021-03-24 22:31:15 | [Mutex] waiting for: [msg:bzsarg0235] 2021-03-24 22:31:15 | [Mutex] received everything. 2021-03-24 22:31:15 | [Mutex] isItemNotified: msg:bzsarg0235 :: true 2021-03-24 22:31:15 | [Mutex] waiting for: [wtnz210236:forbidden] 2021-03-24 22:31:15 | [Mutex] received everything. 2021-03-24 22:31:15 | [Mutex] isItemNotified: wtnz210236:forbidden :: true |