Test duration : 6.226s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.240s |
2021-02-06 21:34:37 |
2021-02-06 21:34:37 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-06 21:34:37 | ------------------------------------ 2021-02-06 21:34:37 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 21:34:37 | command: <command><fields><item><var>jid</var><value>user_regularlodyzq0214@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-02-06 21:34:37 | target: http://localhost:8088 2021-02-06 21:34:37 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-02-06 21:34:37 | entity: <command><fields><item><var>jid</var><value>user_regularlodyzq0214@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-02-06 21:34:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:34:37 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 21:34: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_regularlodyzq0214@test-domain.com</value> </item> </fields> </command> 2021-02-06 21:34:37 | contains: true 2021-02-06 21:34:37 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 21:34:37 | command: <command><fields><item><var>jid</var><value>user_regularlodyzq0214@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-02-06 21:34:37 | target: http://localhost:8088 2021-02-06 21:34:37 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-02-06 21:34:37 | entity: <command><fields><item><var>jid</var><value>user_regularlodyzq0214@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-02-06 21:34:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:34:37 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 21:34: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_regularlodyzq0214@test-domain.com</value> </item> </fields> </command> 2021-02-06 21:34:37 | contains: true |
testMessageFiltering | 2.700s |
2021-02-06 21:34:39 |
2021-02-06 21:34:39 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-06 21:34:39 | ------------------------------------ 2021-02-06 21:34:39 | [Mutex] waiting for: [msg:jdq4b30221] 2021-02-06 21:34:39 | [Mutex] received everything. 2021-02-06 21:34:39 | [Mutex] isItemNotified: msg:jdq4b30221 :: true 2021-02-06 21:34:39 | [Mutex] waiting for: [msg:e7yf8h0223] 2021-02-06 21:34:39 | [Mutex] received everything. 2021-02-06 21:34:39 | [Mutex] isItemNotified: msg:e7yf8h0223 :: true 2021-02-06 21:34:39 | [Mutex] waiting for: [msg:hxr51t0225] 2021-02-06 21:34:39 | [Mutex] received everything. 2021-02-06 21:34:39 | [Mutex] isItemNotified: msg:hxr51t0225 :: true 2021-02-06 21:34:39 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 21:34:39 | command: <command><fields><item><var>jid</var><value>user_regularb9tqf20217@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-02-06 21:34:39 | target: http://localhost:8088 2021-02-06 21:34:39 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-02-06 21:34:39 | entity: <command><fields><item><var>jid</var><value>user_regularb9tqf20217@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-02-06 21:34:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:34:39 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 21:34: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_regularb9tqf20217@test-domain.com</value> </item> </fields> </command> 2021-02-06 21:34:39 | contains: true 2021-02-06 21:34:40 | [Mutex] waiting for: [msg:ylixsl0227] 2021-02-06 21:34:40 | [Mutex] received everything. 2021-02-06 21:34:40 | [Mutex] isItemNotified: msg:ylixsl0227 :: true 2021-02-06 21:34:40 | [Mutex] waiting for: [jz2hsh0228:forbidden] 2021-02-06 21:34:40 | [Mutex] received everything. 2021-02-06 21:34:40 | [Mutex] isItemNotified: jz2hsh0228:forbidden :: true 2021-02-06 21:34:40 | [Mutex] waiting for: [kzbbc20230:forbidden] 2021-02-06 21:34:40 | [Mutex] received everything. 2021-02-06 21:34:40 | [Mutex] isItemNotified: kzbbc20230:forbidden :: true 2021-02-06 21:34:40 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 21:34:40 | command: <command><fields><item><var>jid</var><value>user_regularb9tqf20217@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_whitelistycee1r0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-06 21:34:40 | target: http://localhost:8088 2021-02-06 21:34:40 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-02-06 21:34:40 | entity: <command><fields><item><var>jid</var><value>user_regularb9tqf20217@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_whitelistycee1r0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-06 21:34:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:34:40 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 21:34: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_whitelistycee1r0218@test-domain.com;4|deny|all) for user: user_regularb9tqf20217@test-domain.com</value> </item> </fields> </command> 2021-02-06 21:34:40 | contains: true 2021-02-06 21:34:41 | [Mutex] waiting for: [msg:vff4450233] 2021-02-06 21:34:41 | [Mutex] received everything. 2021-02-06 21:34:41 | [Mutex] isItemNotified: msg:vff4450233 :: true 2021-02-06 21:34:41 | [Mutex] waiting for: [msg:rs0i5j0235] 2021-02-06 21:34:41 | [Mutex] received everything. 2021-02-06 21:34:41 | [Mutex] isItemNotified: msg:rs0i5j0235 :: true 2021-02-06 21:34:41 | [Mutex] waiting for: [qbhs2p0236:forbidden] 2021-02-06 21:34:41 | [Mutex] received everything. 2021-02-06 21:34:41 | [Mutex] isItemNotified: qbhs2p0236:forbidden :: true |