Test duration : 5.997s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.250s |
2022-08-22 23:02:47 |
2022-08-22 23:02:47 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-08-22 23:02:47 | ------------------------------------ 2022-08-22 23:02:47 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-22 23:02:47 | command: <command><fields><item><var>jid</var><value>user_regularhdjemo0215@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-08-22 23:02:47 | target: http://localhost:8088 2022-08-22 23:02:47 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-08-22 23:02:47 | entity: <command><fields><item><var>jid</var><value>user_regularhdjemo0215@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-08-22 23:02:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:02:48 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-22 23:02:48 | 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_regularhdjemo0215@test-domain.com</value> </item> </fields> </command> 2022-08-22 23:02:48 | contains: true 2022-08-22 23:02:48 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-22 23:02:48 | command: <command><fields><item><var>jid</var><value>user_regularhdjemo0215@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-08-22 23:02:48 | target: http://localhost:8088 2022-08-22 23:02:48 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-08-22 23:02:48 | entity: <command><fields><item><var>jid</var><value>user_regularhdjemo0215@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-08-22 23:02:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:02:48 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-22 23:02:48 | 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_regularhdjemo0215@test-domain.com</value> </item> </fields> </command> 2022-08-22 23:02:48 | contains: true |
testMessageFiltering | 2.494s |
2022-08-22 23:02:49 |
2022-08-22 23:02:49 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-08-22 23:02:49 | ------------------------------------ 2022-08-22 23:02:49 | [Mutex] waiting for: [msg:h8evbv0222] 2022-08-22 23:02:49 | [Mutex] received everything. 2022-08-22 23:02:49 | [Mutex] isItemNotified: msg:h8evbv0222 :: true 2022-08-22 23:02:49 | [Mutex] waiting for: [msg:2hw990224] 2022-08-22 23:02:49 | [Mutex] received everything. 2022-08-22 23:02:49 | [Mutex] isItemNotified: msg:2hw990224 :: true 2022-08-22 23:02:49 | [Mutex] waiting for: [msg:u9r1y50226] 2022-08-22 23:02:49 | [Mutex] received everything. 2022-08-22 23:02:49 | [Mutex] isItemNotified: msg:u9r1y50226 :: true 2022-08-22 23:02:49 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-22 23:02:49 | command: <command><fields><item><var>jid</var><value>user_regular41nhwh0218@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-08-22 23:02:49 | target: http://localhost:8088 2022-08-22 23:02:49 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-08-22 23:02:49 | entity: <command><fields><item><var>jid</var><value>user_regular41nhwh0218@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-08-22 23:02:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:02:49 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-22 23:02:49 | 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_regular41nhwh0218@test-domain.com</value> </item> </fields> </command> 2022-08-22 23:02:49 | contains: true 2022-08-22 23:02:51 | [Mutex] waiting for: [msg:f6p6is0228] 2022-08-22 23:02:51 | [Mutex] received everything. 2022-08-22 23:02:51 | [Mutex] isItemNotified: msg:f6p6is0228 :: true 2022-08-22 23:02:51 | [Mutex] waiting for: [snqvqn0229:forbidden] 2022-08-22 23:02:51 | [Mutex] received everything. 2022-08-22 23:02:51 | [Mutex] isItemNotified: snqvqn0229:forbidden :: true 2022-08-22 23:02:51 | [Mutex] waiting for: [wil9le0231:forbidden] 2022-08-22 23:02:51 | [Mutex] received everything. 2022-08-22 23:02:51 | [Mutex] isItemNotified: wil9le0231:forbidden :: true 2022-08-22 23:02:51 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-22 23:02:51 | command: <command><fields><item><var>jid</var><value>user_regular41nhwh0218@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_whitelistheqtyi0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-08-22 23:02:51 | target: http://localhost:8088 2022-08-22 23:02:51 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-08-22 23:02:51 | entity: <command><fields><item><var>jid</var><value>user_regular41nhwh0218@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_whitelistheqtyi0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-08-22 23:02:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 23 Aug 2022 06:02:51 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-22 23:02:51 | 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_whitelistheqtyi0219@test-domain.com;4|deny|all) for user: user_regular41nhwh0218@test-domain.com</value> </item> </fields> </command> 2022-08-22 23:02:51 | contains: true 2022-08-22 23:02:52 | [Mutex] waiting for: [msg:c21s3u0234] 2022-08-22 23:02:52 | [Mutex] received everything. 2022-08-22 23:02:52 | [Mutex] isItemNotified: msg:c21s3u0234 :: true 2022-08-22 23:02:52 | [Mutex] waiting for: [msg:drtbp0236] 2022-08-22 23:02:52 | [Mutex] received everything. 2022-08-22 23:02:52 | [Mutex] isItemNotified: msg:drtbp0236 :: true 2022-08-22 23:02:52 | [Mutex] waiting for: [ecw82m0237:forbidden] 2022-08-22 23:02:52 | [Mutex] received everything. 2022-08-22 23:02:52 | [Mutex] isItemNotified: ecw82m0237:forbidden :: true |