Test duration : 6.761s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.259s |
2021-01-18 21:38:02 |
2021-01-18 21:38:02 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-01-18 21:38:02 | ------------------------------------ 2021-01-18 21:38:02 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-18 21:38:02 | command: <command><fields><item><var>jid</var><value>user_regularbxkuax0214@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-01-18 21:38:02 | target: http://localhost:8088 2021-01-18 21:38:02 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-01-18 21:38:02 | entity: <command><fields><item><var>jid</var><value>user_regularbxkuax0214@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-01-18 21:38:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:38:02 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-18 21:38:02 | 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_regularbxkuax0214@test-domain.com</value> </item> </fields> </command> 2021-01-18 21:38:02 | contains: true 2021-01-18 21:38:02 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-18 21:38:02 | command: <command><fields><item><var>jid</var><value>user_regularbxkuax0214@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-01-18 21:38:02 | target: http://localhost:8088 2021-01-18 21:38:02 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-01-18 21:38:02 | entity: <command><fields><item><var>jid</var><value>user_regularbxkuax0214@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-01-18 21:38:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:38:02 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-18 21:38:02 | 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_regularbxkuax0214@test-domain.com</value> </item> </fields> </command> 2021-01-18 21:38:02 | contains: true |
testMessageFiltering | 2.701s |
2021-01-18 21:38:04 |
2021-01-18 21:38:04 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-01-18 21:38:04 | ------------------------------------ 2021-01-18 21:38:04 | [Mutex] waiting for: [msg:puurc10221] 2021-01-18 21:38:04 | [Mutex] received everything. 2021-01-18 21:38:04 | [Mutex] isItemNotified: msg:puurc10221 :: true 2021-01-18 21:38:04 | [Mutex] waiting for: [msg:7bfd0j0223] 2021-01-18 21:38:04 | [Mutex] received everything. 2021-01-18 21:38:04 | [Mutex] isItemNotified: msg:7bfd0j0223 :: true 2021-01-18 21:38:04 | [Mutex] waiting for: [msg:7xibea0225] 2021-01-18 21:38:04 | [Mutex] received everything. 2021-01-18 21:38:04 | [Mutex] isItemNotified: msg:7xibea0225 :: true 2021-01-18 21:38:04 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-18 21:38:04 | command: <command><fields><item><var>jid</var><value>user_regularezw8z80217@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-01-18 21:38:04 | target: http://localhost:8088 2021-01-18 21:38:04 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-01-18 21:38:04 | entity: <command><fields><item><var>jid</var><value>user_regularezw8z80217@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-01-18 21:38:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:38:04 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-18 21:38: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;4|deny|all) for user: user_regularezw8z80217@test-domain.com</value> </item> </fields> </command> 2021-01-18 21:38:04 | contains: true 2021-01-18 21:38:05 | [Mutex] waiting for: [msg:qtlaue0227] 2021-01-18 21:38:05 | [Mutex] received everything. 2021-01-18 21:38:05 | [Mutex] isItemNotified: msg:qtlaue0227 :: true 2021-01-18 21:38:05 | [Mutex] waiting for: [4umhj20228:forbidden] 2021-01-18 21:38:05 | [Mutex] received everything. 2021-01-18 21:38:05 | [Mutex] isItemNotified: 4umhj20228:forbidden :: true 2021-01-18 21:38:05 | [Mutex] waiting for: [80j4mo0230:forbidden] 2021-01-18 21:38:05 | [Mutex] received everything. 2021-01-18 21:38:05 | [Mutex] isItemNotified: 80j4mo0230:forbidden :: true 2021-01-18 21:38:05 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-01-18 21:38:05 | command: <command><fields><item><var>jid</var><value>user_regularezw8z80217@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_whitelist13awy40218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-01-18 21:38:05 | target: http://localhost:8088 2021-01-18 21:38:05 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-01-18 21:38:05 | entity: <command><fields><item><var>jid</var><value>user_regularezw8z80217@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_whitelist13awy40218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-01-18 21:38:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:38:05 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-01-18 21:38: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;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelist13awy40218@test-domain.com;4|deny|all) for user: user_regularezw8z80217@test-domain.com</value> </item> </fields> </command> 2021-01-18 21:38:05 | contains: true 2021-01-18 21:38:06 | [Mutex] waiting for: [msg:3kqaig0233] 2021-01-18 21:38:06 | [Mutex] received everything. 2021-01-18 21:38:06 | [Mutex] isItemNotified: msg:3kqaig0233 :: true 2021-01-18 21:38:06 | [Mutex] waiting for: [msg:b2xi2j0235] 2021-01-18 21:38:06 | [Mutex] received everything. 2021-01-18 21:38:06 | [Mutex] isItemNotified: msg:b2xi2j0235 :: true 2021-01-18 21:38:06 | [Mutex] waiting for: [ii9dz0236:forbidden] 2021-01-18 21:38:06 | [Mutex] received everything. 2021-01-18 21:38:06 | [Mutex] isItemNotified: ii9dz0236:forbidden :: true |