Test duration : 6.728s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.322s |
2021-02-05 21:31:52 |
2021-02-05 21:31:52 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-05 21:31:52 | ------------------------------------ 2021-02-05 21:31:52 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-05 21:31:52 | command: <command><fields><item><var>jid</var><value>user_regulardbqqo0214@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-02-05 21:31:52 | target: http://localhost:8088 2021-02-05 21:31:52 | entity: [Content-Type: application/xml,Content-Length: 312,Chunked: false] 2021-02-05 21:31:52 | entity: <command><fields><item><var>jid</var><value>user_regulardbqqo0214@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-02-05 21:31:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:31:53 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-05 21:31:53 | 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_regulardbqqo0214@test-domain.com</value> </item> </fields> </command> 2021-02-05 21:31:53 | contains: true 2021-02-05 21:31:53 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-05 21:31:53 | command: <command><fields><item><var>jid</var><value>user_regulardbqqo0214@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-02-05 21:31:53 | target: http://localhost:8088 2021-02-05 21:31:53 | entity: [Content-Type: application/xml,Content-Length: 266,Chunked: false] 2021-02-05 21:31:53 | entity: <command><fields><item><var>jid</var><value>user_regulardbqqo0214@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-02-05 21:31:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:31:53 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-05 21:31:53 | 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_regulardbqqo0214@test-domain.com</value> </item> </fields> </command> 2021-02-05 21:31:53 | contains: true |
testMessageFiltering | 2.608s |
2021-02-05 21:31:54 |
2021-02-05 21:31:54 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-05 21:31:54 | ------------------------------------ 2021-02-05 21:31:54 | [Mutex] waiting for: [msg:2crbe30221] 2021-02-05 21:31:54 | [Mutex] received everything. 2021-02-05 21:31:54 | [Mutex] isItemNotified: msg:2crbe30221 :: true 2021-02-05 21:31:54 | [Mutex] waiting for: [msg:v94mq80223] 2021-02-05 21:31:55 | [Mutex] received everything. 2021-02-05 21:31:55 | [Mutex] isItemNotified: msg:v94mq80223 :: true 2021-02-05 21:31:55 | [Mutex] waiting for: [msg:2rxrjm0225] 2021-02-05 21:31:55 | [Mutex] received everything. 2021-02-05 21:31:55 | [Mutex] isItemNotified: msg:2rxrjm0225 :: true 2021-02-05 21:31:55 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-05 21:31:55 | command: <command><fields><item><var>jid</var><value>user_regularjdtuwa0217@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-02-05 21:31:55 | target: http://localhost:8088 2021-02-05 21:31:55 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-02-05 21:31:55 | entity: <command><fields><item><var>jid</var><value>user_regularjdtuwa0217@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-02-05 21:31:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:31:55 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-05 21:31:55 | 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_regularjdtuwa0217@test-domain.com</value> </item> </fields> </command> 2021-02-05 21:31:55 | contains: true 2021-02-05 21:31:56 | [Mutex] waiting for: [msg:49sfgs0227] 2021-02-05 21:31:56 | [Mutex] received everything. 2021-02-05 21:31:56 | [Mutex] isItemNotified: msg:49sfgs0227 :: true 2021-02-05 21:31:56 | [Mutex] waiting for: [6xsbhz0228:forbidden] 2021-02-05 21:31:56 | [Mutex] received everything. 2021-02-05 21:31:56 | [Mutex] isItemNotified: 6xsbhz0228:forbidden :: true 2021-02-05 21:31:56 | [Mutex] waiting for: [3futii0230:forbidden] 2021-02-05 21:31:56 | [Mutex] received everything. 2021-02-05 21:31:56 | [Mutex] isItemNotified: 3futii0230:forbidden :: true 2021-02-05 21:31:56 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-05 21:31:56 | command: <command><fields><item><var>jid</var><value>user_regularjdtuwa0217@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_whitelist487daw0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-05 21:31:56 | target: http://localhost:8088 2021-02-05 21:31:56 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-02-05 21:31:56 | entity: <command><fields><item><var>jid</var><value>user_regularjdtuwa0217@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_whitelist487daw0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-05 21:31:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:31:56 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-05 21:31:56 | 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_whitelist487daw0218@test-domain.com;4|deny|all) for user: user_regularjdtuwa0217@test-domain.com</value> </item> </fields> </command> 2021-02-05 21:31:56 | contains: true 2021-02-05 21:31:57 | [Mutex] waiting for: [msg:25cgkg0233] 2021-02-05 21:31:57 | [Mutex] received everything. 2021-02-05 21:31:57 | [Mutex] isItemNotified: msg:25cgkg0233 :: true 2021-02-05 21:31:57 | [Mutex] waiting for: [msg:78exgw0235] 2021-02-05 21:31:57 | [Mutex] received everything. 2021-02-05 21:31:57 | [Mutex] isItemNotified: msg:78exgw0235 :: true 2021-02-05 21:31:57 | [Mutex] waiting for: [4r2kku0236:forbidden] 2021-02-05 21:31:57 | [Mutex] received everything. 2021-02-05 21:31:57 | [Mutex] isItemNotified: 4r2kku0236:forbidden :: true |