Test duration : 6.184s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.283s |
2021-06-24 23:00:06 |
2021-06-24 23:00:06 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-06-24 23:00:06 | ------------------------------------ 2021-06-24 23:00:06 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-06-24 23:00:06 | command: <command><fields><item><var>jid</var><value>user_regularhrjybm0214@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-06-24 23:00:06 | target: http://localhost:8088 2021-06-24 23:00:06 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-06-24 23:00:06 | entity: <command><fields><item><var>jid</var><value>user_regularhrjybm0214@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-06-24 23:00:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 06:00:07 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-06-24 23:00:07 | 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_regularhrjybm0214@test-domain.com</value> </item> </fields> </command> 2021-06-24 23:00:07 | contains: true 2021-06-24 23:00:07 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-06-24 23:00:07 | command: <command><fields><item><var>jid</var><value>user_regularhrjybm0214@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-06-24 23:00:07 | target: http://localhost:8088 2021-06-24 23:00:07 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-06-24 23:00:07 | entity: <command><fields><item><var>jid</var><value>user_regularhrjybm0214@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-06-24 23:00:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 06:00:07 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-06-24 23:00:07 | 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_regularhrjybm0214@test-domain.com</value> </item> </fields> </command> 2021-06-24 23:00:07 | contains: true |
testMessageFiltering | 2.698s |
2021-06-24 23:00:08 |
2021-06-24 23:00:08 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-06-24 23:00:08 | ------------------------------------ 2021-06-24 23:00:08 | [Mutex] waiting for: [msg:wi3qym0221] 2021-06-24 23:00:08 | [Mutex] received everything. 2021-06-24 23:00:08 | [Mutex] isItemNotified: msg:wi3qym0221 :: true 2021-06-24 23:00:08 | [Mutex] waiting for: [msg:3facj00223] 2021-06-24 23:00:08 | [Mutex] received everything. 2021-06-24 23:00:08 | [Mutex] isItemNotified: msg:3facj00223 :: true 2021-06-24 23:00:08 | [Mutex] waiting for: [msg:ljyunr0225] 2021-06-24 23:00:08 | [Mutex] received everything. 2021-06-24 23:00:08 | [Mutex] isItemNotified: msg:ljyunr0225 :: true 2021-06-24 23:00:08 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-06-24 23:00:08 | command: <command><fields><item><var>jid</var><value>user_regularx9mpiw0217@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-06-24 23:00:08 | target: http://localhost:8088 2021-06-24 23:00:08 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-06-24 23:00:08 | entity: <command><fields><item><var>jid</var><value>user_regularx9mpiw0217@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-06-24 23:00:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 06:00:08 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-06-24 23:00:08 | 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_regularx9mpiw0217@test-domain.com</value> </item> </fields> </command> 2021-06-24 23:00:08 | contains: true 2021-06-24 23:00:09 | [Mutex] waiting for: [msg:arpkdt0227] 2021-06-24 23:00:09 | [Mutex] received everything. 2021-06-24 23:00:09 | [Mutex] isItemNotified: msg:arpkdt0227 :: true 2021-06-24 23:00:09 | [Mutex] waiting for: [jd2ekq0228:forbidden] 2021-06-24 23:00:09 | [Mutex] received everything. 2021-06-24 23:00:09 | [Mutex] isItemNotified: jd2ekq0228:forbidden :: true 2021-06-24 23:00:09 | [Mutex] waiting for: [sp55960230:forbidden] 2021-06-24 23:00:10 | [Mutex] received everything. 2021-06-24 23:00:10 | [Mutex] isItemNotified: sp55960230:forbidden :: true 2021-06-24 23:00:10 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-06-24 23:00:10 | command: <command><fields><item><var>jid</var><value>user_regularx9mpiw0217@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_whitelistxb2a9v0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-06-24 23:00:10 | target: http://localhost:8088 2021-06-24 23:00:10 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-06-24 23:00:10 | entity: <command><fields><item><var>jid</var><value>user_regularx9mpiw0217@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_whitelistxb2a9v0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-06-24 23:00:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 06:00:10 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-06-24 23:00:10 | 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_whitelistxb2a9v0218@test-domain.com;4|deny|all) for user: user_regularx9mpiw0217@test-domain.com</value> </item> </fields> </command> 2021-06-24 23:00:10 | contains: true 2021-06-24 23:00:11 | [Mutex] waiting for: [msg:6ljv3j0233] 2021-06-24 23:00:11 | [Mutex] received everything. 2021-06-24 23:00:11 | [Mutex] isItemNotified: msg:6ljv3j0233 :: true 2021-06-24 23:00:11 | [Mutex] waiting for: [msg:aj0r500235] 2021-06-24 23:00:11 | [Mutex] received everything. 2021-06-24 23:00:11 | [Mutex] isItemNotified: msg:aj0r500235 :: true 2021-06-24 23:00:11 | [Mutex] waiting for: [f4gy080236:forbidden] 2021-06-24 23:00:11 | [Mutex] received everything. 2021-06-24 23:00:11 | [Mutex] isItemNotified: f4gy080236:forbidden :: true |