Test duration : 6.268s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.339s |
2022-02-23 22:05:05 |
2022-02-23 22:05:05 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-23 22:05:05 | ------------------------------------ 2022-02-23 22:05:05 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 22:05:05 | command: <command><fields><item><var>jid</var><value>user_regular781q3n0214@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> 2022-02-23 22:05:05 | target: http://localhost:8088 2022-02-23 22:05:05 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-02-23 22:05:05 | entity: <command><fields><item><var>jid</var><value>user_regular781q3n0214@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> 2022-02-23 22:05:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:05:05 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 22:05: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;2|allow|jid|admin@test-domain.com;4|deny|all) for user: user_regular781q3n0214@test-domain.com</value> </item> </fields> </command> 2022-02-23 22:05:05 | contains: true 2022-02-23 22:05:05 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 22:05:05 | command: <command><fields><item><var>jid</var><value>user_regular781q3n0214@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> 2022-02-23 22:05:05 | target: http://localhost:8088 2022-02-23 22:05:05 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-02-23 22:05:05 | entity: <command><fields><item><var>jid</var><value>user_regular781q3n0214@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> 2022-02-23 22:05:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:05:05 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 22:05: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: 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_regular781q3n0214@test-domain.com</value> </item> </fields> </command> 2022-02-23 22:05:05 | contains: true |
testMessageFiltering | 2.579s |
2022-02-23 22:05:07 |
2022-02-23 22:05:07 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-23 22:05:07 | ------------------------------------ 2022-02-23 22:05:07 | [Mutex] waiting for: [msg:2ijk0k0221] 2022-02-23 22:05:07 | [Mutex] received everything. 2022-02-23 22:05:07 | [Mutex] isItemNotified: msg:2ijk0k0221 :: true 2022-02-23 22:05:07 | [Mutex] waiting for: [msg:5keydw0223] 2022-02-23 22:05:07 | [Mutex] received everything. 2022-02-23 22:05:07 | [Mutex] isItemNotified: msg:5keydw0223 :: true 2022-02-23 22:05:07 | [Mutex] waiting for: [msg:tx7a5m0225] 2022-02-23 22:05:07 | [Mutex] received everything. 2022-02-23 22:05:07 | [Mutex] isItemNotified: msg:tx7a5m0225 :: true 2022-02-23 22:05:07 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 22:05:07 | command: <command><fields><item><var>jid</var><value>user_regularinwhet0217@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> 2022-02-23 22:05:07 | target: http://localhost:8088 2022-02-23 22:05:07 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-23 22:05:07 | entity: <command><fields><item><var>jid</var><value>user_regularinwhet0217@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> 2022-02-23 22:05:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:05:07 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 22:05: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;4|deny|all) for user: user_regularinwhet0217@test-domain.com</value> </item> </fields> </command> 2022-02-23 22:05:07 | contains: true 2022-02-23 22:05:08 | [Mutex] waiting for: [msg:yz7b7z0227] 2022-02-23 22:05:08 | [Mutex] received everything. 2022-02-23 22:05:08 | [Mutex] isItemNotified: msg:yz7b7z0227 :: true 2022-02-23 22:05:08 | [Mutex] waiting for: [7c67bg0228:forbidden] 2022-02-23 22:05:08 | [Mutex] received everything. 2022-02-23 22:05:08 | [Mutex] isItemNotified: 7c67bg0228:forbidden :: true 2022-02-23 22:05:08 | [Mutex] waiting for: [rs7k1q0230:forbidden] 2022-02-23 22:05:08 | [Mutex] received everything. 2022-02-23 22:05:08 | [Mutex] isItemNotified: rs7k1q0230:forbidden :: true 2022-02-23 22:05:08 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-23 22:05:08 | command: <command><fields><item><var>jid</var><value>user_regularinwhet0217@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_whitelistvbog2z0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-23 22:05:08 | target: http://localhost:8088 2022-02-23 22:05:08 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-23 22:05:08 | entity: <command><fields><item><var>jid</var><value>user_regularinwhet0217@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_whitelistvbog2z0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-23 22:05:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Feb 2022 06:05:08 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-23 22:05: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: CUSTOM (domains list: 1|allow|self;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistvbog2z0218@test-domain.com;4|deny|all) for user: user_regularinwhet0217@test-domain.com</value> </item> </fields> </command> 2022-02-23 22:05:08 | contains: true 2022-02-23 22:05:09 | [Mutex] waiting for: [msg:8l84sk0233] 2022-02-23 22:05:09 | [Mutex] received everything. 2022-02-23 22:05:09 | [Mutex] isItemNotified: msg:8l84sk0233 :: true 2022-02-23 22:05:09 | [Mutex] waiting for: [msg:lww1sy0235] 2022-02-23 22:05:09 | [Mutex] received everything. 2022-02-23 22:05:09 | [Mutex] isItemNotified: msg:lww1sy0235 :: true 2022-02-23 22:05:09 | [Mutex] waiting for: [y0sgt20236:forbidden] 2022-02-23 22:05:09 | [Mutex] received everything. 2022-02-23 22:05:09 | [Mutex] isItemNotified: y0sgt20236:forbidden :: true |