Test duration : 6.141s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.250s |
2021-10-07 22:38:37 |
2021-10-07 22:38:37 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-10-07 22:38:37 | ------------------------------------ 2021-10-07 22:38:37 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-10-07 22:38:37 | command: <command><fields><item><var>jid</var><value>user_regularnlr57z0214@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-10-07 22:38:37 | target: http://localhost:8088 2021-10-07 22:38:37 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-10-07 22:38:37 | entity: <command><fields><item><var>jid</var><value>user_regularnlr57z0214@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-10-07 22:38:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:38:37 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-10-07 22:38: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: 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_regularnlr57z0214@test-domain.com</value> </item> </fields> </command> 2021-10-07 22:38:37 | contains: true 2021-10-07 22:38:37 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-10-07 22:38:37 | command: <command><fields><item><var>jid</var><value>user_regularnlr57z0214@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-10-07 22:38:37 | target: http://localhost:8088 2021-10-07 22:38:37 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-10-07 22:38:37 | entity: <command><fields><item><var>jid</var><value>user_regularnlr57z0214@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-10-07 22:38:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:38:37 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-10-07 22:38: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;2|allow|jid|admin@test-domain.com;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|all) for user: user_regularnlr57z0214@test-domain.com</value> </item> </fields> </command> 2021-10-07 22:38:37 | contains: true |
testMessageFiltering | 2.574s |
2021-10-07 22:38:39 |
2021-10-07 22:38:39 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-10-07 22:38:39 | ------------------------------------ 2021-10-07 22:38:39 | [Mutex] waiting for: [msg:f2ps6h0221] 2021-10-07 22:38:39 | [Mutex] received everything. 2021-10-07 22:38:39 | [Mutex] isItemNotified: msg:f2ps6h0221 :: true 2021-10-07 22:38:39 | [Mutex] waiting for: [msg:v3iycx0223] 2021-10-07 22:38:39 | [Mutex] received everything. 2021-10-07 22:38:39 | [Mutex] isItemNotified: msg:v3iycx0223 :: true 2021-10-07 22:38:39 | [Mutex] waiting for: [msg:x312q30225] 2021-10-07 22:38:39 | [Mutex] received everything. 2021-10-07 22:38:39 | [Mutex] isItemNotified: msg:x312q30225 :: true 2021-10-07 22:38:39 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-10-07 22:38:39 | command: <command><fields><item><var>jid</var><value>user_regularfburuz0217@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-10-07 22:38:39 | target: http://localhost:8088 2021-10-07 22:38:39 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-10-07 22:38:39 | entity: <command><fields><item><var>jid</var><value>user_regularfburuz0217@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-10-07 22:38:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:38:39 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-10-07 22:38:39 | 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_regularfburuz0217@test-domain.com</value> </item> </fields> </command> 2021-10-07 22:38:39 | contains: true 2021-10-07 22:38:40 | [Mutex] waiting for: [msg:2b1bk70227] 2021-10-07 22:38:40 | [Mutex] received everything. 2021-10-07 22:38:40 | [Mutex] isItemNotified: msg:2b1bk70227 :: true 2021-10-07 22:38:40 | [Mutex] waiting for: [2e7fso0228:forbidden] 2021-10-07 22:38:40 | [Mutex] received everything. 2021-10-07 22:38:40 | [Mutex] isItemNotified: 2e7fso0228:forbidden :: true 2021-10-07 22:38:40 | [Mutex] waiting for: [tpi3wt0230:forbidden] 2021-10-07 22:38:40 | [Mutex] received everything. 2021-10-07 22:38:40 | [Mutex] isItemNotified: tpi3wt0230:forbidden :: true 2021-10-07 22:38:40 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-10-07 22:38:40 | command: <command><fields><item><var>jid</var><value>user_regularfburuz0217@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_whitelistnt3h000218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-10-07 22:38:40 | target: http://localhost:8088 2021-10-07 22:38:40 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-10-07 22:38:40 | entity: <command><fields><item><var>jid</var><value>user_regularfburuz0217@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_whitelistnt3h000218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-10-07 22:38:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:38:40 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-10-07 22:38:40 | 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_whitelistnt3h000218@test-domain.com;4|deny|all) for user: user_regularfburuz0217@test-domain.com</value> </item> </fields> </command> 2021-10-07 22:38:40 | contains: true 2021-10-07 22:38:41 | [Mutex] waiting for: [msg:n15j490233] 2021-10-07 22:38:41 | [Mutex] received everything. 2021-10-07 22:38:41 | [Mutex] isItemNotified: msg:n15j490233 :: true 2021-10-07 22:38:41 | [Mutex] waiting for: [msg:i2bmfz0235] 2021-10-07 22:38:41 | [Mutex] received everything. 2021-10-07 22:38:41 | [Mutex] isItemNotified: msg:i2bmfz0235 :: true 2021-10-07 22:38:41 | [Mutex] waiting for: [v5vllp0236:forbidden] 2021-10-07 22:38:41 | [Mutex] received everything. 2021-10-07 22:38:41 | [Mutex] isItemNotified: v5vllp0236:forbidden :: true |