Test duration : 6.102s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.279s |
2021-05-09 22:35:11 |
2021-05-09 22:35:11 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-05-09 22:35:11 | ------------------------------------ 2021-05-09 22:35:11 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-09 22:35:11 | command: <command><fields><item><var>jid</var><value>user_regularkaally0214@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-05-09 22:35:11 | target: http://localhost:8088 2021-05-09 22:35:11 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-05-09 22:35:11 | entity: <command><fields><item><var>jid</var><value>user_regularkaally0214@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-05-09 22:35:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:35:12 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-09 22:35:12 | 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_regularkaally0214@test-domain.com</value> </item> </fields> </command> 2021-05-09 22:35:12 | contains: true 2021-05-09 22:35:12 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-09 22:35:12 | command: <command><fields><item><var>jid</var><value>user_regularkaally0214@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-05-09 22:35:12 | target: http://localhost:8088 2021-05-09 22:35:12 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-05-09 22:35:12 | entity: <command><fields><item><var>jid</var><value>user_regularkaally0214@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-05-09 22:35:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:35:12 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-09 22:35:12 | 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_regularkaally0214@test-domain.com</value> </item> </fields> </command> 2021-05-09 22:35:12 | contains: true |
testMessageFiltering | 2.588s |
2021-05-09 22:35:13 |
2021-05-09 22:35:13 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-05-09 22:35:13 | ------------------------------------ 2021-05-09 22:35:13 | [Mutex] waiting for: [msg:mivfpf0221] 2021-05-09 22:35:13 | [Mutex] received everything. 2021-05-09 22:35:13 | [Mutex] isItemNotified: msg:mivfpf0221 :: true 2021-05-09 22:35:13 | [Mutex] waiting for: [msg:e8bavq0223] 2021-05-09 22:35:13 | [Mutex] received everything. 2021-05-09 22:35:13 | [Mutex] isItemNotified: msg:e8bavq0223 :: true 2021-05-09 22:35:13 | [Mutex] waiting for: [msg:g747np0225] 2021-05-09 22:35:13 | [Mutex] received everything. 2021-05-09 22:35:13 | [Mutex] isItemNotified: msg:g747np0225 :: true 2021-05-09 22:35:13 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-09 22:35:13 | command: <command><fields><item><var>jid</var><value>user_regularcy2tu20217@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-05-09 22:35:13 | target: http://localhost:8088 2021-05-09 22:35:13 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-05-09 22:35:13 | entity: <command><fields><item><var>jid</var><value>user_regularcy2tu20217@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-05-09 22:35:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:35:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-09 22:35: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_regularcy2tu20217@test-domain.com</value> </item> </fields> </command> 2021-05-09 22:35:13 | contains: true 2021-05-09 22:35:14 | [Mutex] waiting for: [msg:cct8k70227] 2021-05-09 22:35:14 | [Mutex] received everything. 2021-05-09 22:35:14 | [Mutex] isItemNotified: msg:cct8k70227 :: true 2021-05-09 22:35:14 | [Mutex] waiting for: [o0sszw0228:forbidden] 2021-05-09 22:35:14 | [Mutex] received everything. 2021-05-09 22:35:14 | [Mutex] isItemNotified: o0sszw0228:forbidden :: true 2021-05-09 22:35:14 | [Mutex] waiting for: [yatgdw0230:forbidden] 2021-05-09 22:35:14 | [Mutex] received everything. 2021-05-09 22:35:14 | [Mutex] isItemNotified: yatgdw0230:forbidden :: true 2021-05-09 22:35:14 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-09 22:35:14 | command: <command><fields><item><var>jid</var><value>user_regularcy2tu20217@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_whitelistggwal80218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-05-09 22:35:14 | target: http://localhost:8088 2021-05-09 22:35:14 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-05-09 22:35:14 | entity: <command><fields><item><var>jid</var><value>user_regularcy2tu20217@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_whitelistggwal80218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-05-09 22:35:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:35:14 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-09 22:35: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_whitelistggwal80218@test-domain.com;4|deny|all) for user: user_regularcy2tu20217@test-domain.com</value> </item> </fields> </command> 2021-05-09 22:35:14 | contains: true 2021-05-09 22:35:16 | [Mutex] waiting for: [msg:r85hjq0233] 2021-05-09 22:35:16 | [Mutex] received everything. 2021-05-09 22:35:16 | [Mutex] isItemNotified: msg:r85hjq0233 :: true 2021-05-09 22:35:16 | [Mutex] waiting for: [msg:e7qyld0235] 2021-05-09 22:35:16 | [Mutex] received everything. 2021-05-09 22:35:16 | [Mutex] isItemNotified: msg:e7qyld0235 :: true 2021-05-09 22:35:16 | [Mutex] received everything. 2021-05-09 22:35:16 | [Mutex] isItemNotified: y57qav0236:forbidden :: true |