Test duration : 5.588s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.213s |
2022-08-28 23:04:20 |
2022-08-28 23:04:20 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-08-28 23:04:20 | ------------------------------------ 2022-08-28 23:04:20 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-28 23:04:20 | command: <command><fields><item><var>jid</var><value>user_regularq6dase0215@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-28 23:04:20 | target: http://localhost:8088 2022-08-28 23:04:20 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-08-28 23:04:20 | entity: <command><fields><item><var>jid</var><value>user_regularq6dase0215@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-28 23:04:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 06:04:21 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-28 23:04:21 | 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_regularq6dase0215@test-domain.com</value> </item> </fields> </command> 2022-08-28 23:04:21 | contains: true 2022-08-28 23:04:21 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-28 23:04:21 | command: <command><fields><item><var>jid</var><value>user_regularq6dase0215@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-28 23:04:21 | target: http://localhost:8088 2022-08-28 23:04:21 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-08-28 23:04:21 | entity: <command><fields><item><var>jid</var><value>user_regularq6dase0215@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-28 23:04:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 06:04:21 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-28 23:04:21 | 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_regularq6dase0215@test-domain.com</value> </item> </fields> </command> 2022-08-28 23:04:21 | contains: true |
testMessageFiltering | 2.502s |
2022-08-28 23:04:22 |
2022-08-28 23:04:22 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-08-28 23:04:22 | ------------------------------------ 2022-08-28 23:04:22 | [Mutex] waiting for: [msg:khj37d0222] 2022-08-28 23:04:22 | [Mutex] received everything. 2022-08-28 23:04:22 | [Mutex] isItemNotified: msg:khj37d0222 :: true 2022-08-28 23:04:22 | [Mutex] waiting for: [msg:pcjqa0224] 2022-08-28 23:04:22 | [Mutex] received everything. 2022-08-28 23:04:22 | [Mutex] isItemNotified: msg:pcjqa0224 :: true 2022-08-28 23:04:22 | [Mutex] waiting for: [msg:9vzibz0226] 2022-08-28 23:04:22 | [Mutex] received everything. 2022-08-28 23:04:22 | [Mutex] isItemNotified: msg:9vzibz0226 :: true 2022-08-28 23:04:22 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-28 23:04:22 | command: <command><fields><item><var>jid</var><value>user_regularomtj520218@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-28 23:04:22 | target: http://localhost:8088 2022-08-28 23:04:22 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-08-28 23:04:22 | entity: <command><fields><item><var>jid</var><value>user_regularomtj520218@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-28 23:04:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 06:04:22 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-28 23:04:22 | 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_regularomtj520218@test-domain.com</value> </item> </fields> </command> 2022-08-28 23:04:22 | contains: true 2022-08-28 23:04:23 | [Mutex] waiting for: [msg:yaioo20228] 2022-08-28 23:04:23 | [Mutex] received everything. 2022-08-28 23:04:23 | [Mutex] isItemNotified: msg:yaioo20228 :: true 2022-08-28 23:04:23 | [Mutex] waiting for: [kzc3k20229:forbidden] 2022-08-28 23:04:23 | [Mutex] received everything. 2022-08-28 23:04:23 | [Mutex] isItemNotified: kzc3k20229:forbidden :: true 2022-08-28 23:04:23 | [Mutex] waiting for: [9drvef0231:forbidden] 2022-08-28 23:04:23 | [Mutex] received everything. 2022-08-28 23:04:23 | [Mutex] isItemNotified: 9drvef0231:forbidden :: true 2022-08-28 23:04:23 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-08-28 23:04:23 | command: <command><fields><item><var>jid</var><value>user_regularomtj520218@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_whitelisttn2xvw0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-08-28 23:04:23 | target: http://localhost:8088 2022-08-28 23:04:23 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-08-28 23:04:23 | entity: <command><fields><item><var>jid</var><value>user_regularomtj520218@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_whitelisttn2xvw0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-08-28 23:04:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 06:04:23 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-08-28 23:04:23 | 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_whitelisttn2xvw0219@test-domain.com;4|deny|all) for user: user_regularomtj520218@test-domain.com</value> </item> </fields> </command> 2022-08-28 23:04:23 | contains: true 2022-08-28 23:04:24 | [Mutex] waiting for: [msg:tca9ns0234] 2022-08-28 23:04:24 | [Mutex] received everything. 2022-08-28 23:04:24 | [Mutex] isItemNotified: msg:tca9ns0234 :: true 2022-08-28 23:04:24 | [Mutex] waiting for: [msg:rp0gki0236] 2022-08-28 23:04:24 | [Mutex] received everything. 2022-08-28 23:04:24 | [Mutex] isItemNotified: msg:rp0gki0236 :: true 2022-08-28 23:04:24 | [Mutex] received everything. 2022-08-28 23:04:24 | [Mutex] isItemNotified: mx22aa0237:forbidden :: true |