Test duration : 6.173s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.345s |
2021-11-16 21:45:34 |
2021-11-16 21:45:34 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-11-16 21:45:34 | ------------------------------------ 2021-11-16 21:45:34 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-11-16 21:45:34 | command: <command><fields><item><var>jid</var><value>user_regular1r7fp0214@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-11-16 21:45:34 | target: http://localhost:8088 2021-11-16 21:45:34 | entity: [Content-Type: application/xml,Content-Length: 312,Chunked: false] 2021-11-16 21:45:34 | entity: <command><fields><item><var>jid</var><value>user_regular1r7fp0214@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-11-16 21:45:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:45:34 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-11-16 21:45:34 | 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_regular1r7fp0214@test-domain.com</value> </item> </fields> </command> 2021-11-16 21:45:34 | contains: true 2021-11-16 21:45:34 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-11-16 21:45:34 | command: <command><fields><item><var>jid</var><value>user_regular1r7fp0214@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-11-16 21:45:34 | target: http://localhost:8088 2021-11-16 21:45:34 | entity: [Content-Type: application/xml,Content-Length: 266,Chunked: false] 2021-11-16 21:45:34 | entity: <command><fields><item><var>jid</var><value>user_regular1r7fp0214@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-11-16 21:45:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:45:34 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-11-16 21:45:34 | 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_regular1r7fp0214@test-domain.com</value> </item> </fields> </command> 2021-11-16 21:45:34 | contains: true |
testMessageFiltering | 2.610s |
2021-11-16 21:45:35 |
2021-11-16 21:45:35 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-11-16 21:45:35 | ------------------------------------ 2021-11-16 21:45:35 | [Mutex] waiting for: [msg:kov8280221] 2021-11-16 21:45:35 | [Mutex] received everything. 2021-11-16 21:45:35 | [Mutex] isItemNotified: msg:kov8280221 :: true 2021-11-16 21:45:35 | [Mutex] waiting for: [msg:3llmm0223] 2021-11-16 21:45:35 | [Mutex] received everything. 2021-11-16 21:45:35 | [Mutex] isItemNotified: msg:3llmm0223 :: true 2021-11-16 21:45:35 | [Mutex] waiting for: [msg:cstejv0225] 2021-11-16 21:45:35 | [Mutex] received everything. 2021-11-16 21:45:35 | [Mutex] isItemNotified: msg:cstejv0225 :: true 2021-11-16 21:45:35 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-11-16 21:45:35 | command: <command><fields><item><var>jid</var><value>user_regular2sfui30217@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-11-16 21:45:35 | target: http://localhost:8088 2021-11-16 21:45:35 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-11-16 21:45:35 | entity: <command><fields><item><var>jid</var><value>user_regular2sfui30217@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-11-16 21:45:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:45:35 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-11-16 21:45:35 | 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_regular2sfui30217@test-domain.com</value> </item> </fields> </command> 2021-11-16 21:45:35 | contains: true 2021-11-16 21:45:37 | [Mutex] waiting for: [msg:ydapc60227] 2021-11-16 21:45:37 | [Mutex] received everything. 2021-11-16 21:45:37 | [Mutex] isItemNotified: msg:ydapc60227 :: true 2021-11-16 21:45:37 | [Mutex] waiting for: [7rbg7e0228:forbidden] 2021-11-16 21:45:37 | [Mutex] received everything. 2021-11-16 21:45:37 | [Mutex] isItemNotified: 7rbg7e0228:forbidden :: true 2021-11-16 21:45:37 | [Mutex] waiting for: [owm0se0230:forbidden] 2021-11-16 21:45:37 | [Mutex] received everything. 2021-11-16 21:45:37 | [Mutex] isItemNotified: owm0se0230:forbidden :: true 2021-11-16 21:45:37 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-11-16 21:45:37 | command: <command><fields><item><var>jid</var><value>user_regular2sfui30217@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_whitelistz3oh800218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-11-16 21:45:37 | target: http://localhost:8088 2021-11-16 21:45:37 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-11-16 21:45:37 | entity: <command><fields><item><var>jid</var><value>user_regular2sfui30217@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_whitelistz3oh800218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-11-16 21:45:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 05:45:37 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-11-16 21:45:37 | 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_whitelistz3oh800218@test-domain.com;4|deny|all) for user: user_regular2sfui30217@test-domain.com</value> </item> </fields> </command> 2021-11-16 21:45:37 | contains: true 2021-11-16 21:45:38 | [Mutex] waiting for: [msg:wn5lr0233] 2021-11-16 21:45:38 | [Mutex] received everything. 2021-11-16 21:45:38 | [Mutex] isItemNotified: msg:wn5lr0233 :: true 2021-11-16 21:45:38 | [Mutex] waiting for: [msg:qdu1400235] 2021-11-16 21:45:38 | [Mutex] received everything. 2021-11-16 21:45:38 | [Mutex] isItemNotified: msg:qdu1400235 :: true 2021-11-16 21:45:38 | [Mutex] waiting for: [fopz8j0236:forbidden] 2021-11-16 21:45:38 | [Mutex] received everything. 2021-11-16 21:45:38 | [Mutex] isItemNotified: fopz8j0236:forbidden :: true |