Test duration : 6.573s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.267s |
2020-10-08 22:58:04 |
2020-10-08 22:58:04 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-10-08 22:58:04 | ------------------------------------ 2020-10-08 22:58:04 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-08 22:58:04 | command: <command><fields><item><var>jid</var><value>user_regulartbmek10214@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> 2020-10-08 22:58:04 | target: http://localhost:8088 2020-10-08 22:58:04 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-10-08 22:58:04 | entity: <command><fields><item><var>jid</var><value>user_regulartbmek10214@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> 2020-10-08 22:58:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:58:04 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-08 22:58:04 | 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_regulartbmek10214@test-domain.com</value> </item> </fields> </command> 2020-10-08 22:58:04 | contains: true 2020-10-08 22:58:04 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-08 22:58:04 | command: <command><fields><item><var>jid</var><value>user_regulartbmek10214@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> 2020-10-08 22:58:04 | target: http://localhost:8088 2020-10-08 22:58:04 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-10-08 22:58:04 | entity: <command><fields><item><var>jid</var><value>user_regulartbmek10214@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> 2020-10-08 22:58:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:58:04 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-08 22:58:04 | 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_regulartbmek10214@test-domain.com</value> </item> </fields> </command> 2020-10-08 22:58:04 | contains: true |
testMessageFiltering | 2.730s |
2020-10-08 22:58:05 |
2020-10-08 22:58:05 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-10-08 22:58:05 | ------------------------------------ 2020-10-08 22:58:05 | [Mutex] waiting for: [msg:czjnu30221] 2020-10-08 22:58:05 | [Mutex] received everything. 2020-10-08 22:58:05 | [Mutex] isItemNotified: msg:czjnu30221 :: true 2020-10-08 22:58:05 | [Mutex] waiting for: [msg:deiwr70223] 2020-10-08 22:58:05 | [Mutex] received everything. 2020-10-08 22:58:05 | [Mutex] isItemNotified: msg:deiwr70223 :: true 2020-10-08 22:58:05 | [Mutex] waiting for: [msg:vm23ue0225] 2020-10-08 22:58:05 | [Mutex] received everything. 2020-10-08 22:58:05 | [Mutex] isItemNotified: msg:vm23ue0225 :: true 2020-10-08 22:58:05 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-08 22:58:05 | command: <command><fields><item><var>jid</var><value>user_regularjkkxj20217@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> 2020-10-08 22:58:05 | target: http://localhost:8088 2020-10-08 22:58:05 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-10-08 22:58:05 | entity: <command><fields><item><var>jid</var><value>user_regularjkkxj20217@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> 2020-10-08 22:58:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:58:05 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-08 22:58:05 | 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_regularjkkxj20217@test-domain.com</value> </item> </fields> </command> 2020-10-08 22:58:05 | contains: true 2020-10-08 22:58:07 | [Mutex] waiting for: [msg:jqnufj0227] 2020-10-08 22:58:07 | [Mutex] received everything. 2020-10-08 22:58:07 | [Mutex] isItemNotified: msg:jqnufj0227 :: true 2020-10-08 22:58:07 | [Mutex] waiting for: [4nu1mq0228:forbidden] 2020-10-08 22:58:07 | [Mutex] received everything. 2020-10-08 22:58:07 | [Mutex] isItemNotified: 4nu1mq0228:forbidden :: true 2020-10-08 22:58:07 | [Mutex] waiting for: [mlejo60230:forbidden] 2020-10-08 22:58:07 | [Mutex] received everything. 2020-10-08 22:58:07 | [Mutex] isItemNotified: mlejo60230:forbidden :: true 2020-10-08 22:58:07 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-08 22:58:07 | command: <command><fields><item><var>jid</var><value>user_regularjkkxj20217@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_whitelistoe7u9t0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-10-08 22:58:07 | target: http://localhost:8088 2020-10-08 22:58:07 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-10-08 22:58:07 | entity: <command><fields><item><var>jid</var><value>user_regularjkkxj20217@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_whitelistoe7u9t0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-10-08 22:58:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:58:07 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-08 22:58: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;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistoe7u9t0218@test-domain.com;4|deny|all) for user: user_regularjkkxj20217@test-domain.com</value> </item> </fields> </command> 2020-10-08 22:58:07 | contains: true 2020-10-08 22:58:08 | [Mutex] waiting for: [msg:7q8s0t0233] 2020-10-08 22:58:08 | [Mutex] received everything. 2020-10-08 22:58:08 | [Mutex] isItemNotified: msg:7q8s0t0233 :: true 2020-10-08 22:58:08 | [Mutex] waiting for: [msg:ibi3bc0235] 2020-10-08 22:58:08 | [Mutex] received everything. 2020-10-08 22:58:08 | [Mutex] isItemNotified: msg:ibi3bc0235 :: true 2020-10-08 22:58:08 | [Mutex] waiting for: [psbkpe0236:forbidden] 2020-10-08 22:58:08 | [Mutex] received everything. 2020-10-08 22:58:08 | [Mutex] isItemNotified: psbkpe0236:forbidden :: true |