Test duration : 6.085s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.235s |
2022-04-27 23:07:14 |
2022-04-27 23:07:14 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-04-27 23:07:14 | ------------------------------------ 2022-04-27 23:07:14 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-04-27 23:07:14 | command: <command><fields><item><var>jid</var><value>user_regularwfuj710215@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-04-27 23:07:14 | target: http://localhost:8088 2022-04-27 23:07:14 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-04-27 23:07:14 | entity: <command><fields><item><var>jid</var><value>user_regularwfuj710215@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-04-27 23:07:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:07:14 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-04-27 23:07:14 | 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_regularwfuj710215@test-domain.com</value> </item> </fields> </command> 2022-04-27 23:07:14 | contains: true 2022-04-27 23:07:14 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-04-27 23:07:14 | command: <command><fields><item><var>jid</var><value>user_regularwfuj710215@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-04-27 23:07:14 | target: http://localhost:8088 2022-04-27 23:07:14 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-04-27 23:07:14 | entity: <command><fields><item><var>jid</var><value>user_regularwfuj710215@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-04-27 23:07:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:07:14 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-04-27 23:07:14 | 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_regularwfuj710215@test-domain.com</value> </item> </fields> </command> 2022-04-27 23:07:14 | contains: true |
testMessageFiltering | 2.594s |
2022-04-27 23:07:16 |
2022-04-27 23:07:16 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-04-27 23:07:16 | ------------------------------------ 2022-04-27 23:07:16 | [Mutex] waiting for: [msg:l1tawh0222] 2022-04-27 23:07:16 | [Mutex] received everything. 2022-04-27 23:07:16 | [Mutex] isItemNotified: msg:l1tawh0222 :: true 2022-04-27 23:07:16 | [Mutex] waiting for: [msg:rcdg1r0224] 2022-04-27 23:07:16 | [Mutex] received everything. 2022-04-27 23:07:16 | [Mutex] isItemNotified: msg:rcdg1r0224 :: true 2022-04-27 23:07:16 | [Mutex] waiting for: [msg:w3y8hv0226] 2022-04-27 23:07:16 | [Mutex] received everything. 2022-04-27 23:07:16 | [Mutex] isItemNotified: msg:w3y8hv0226 :: true 2022-04-27 23:07:16 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-04-27 23:07:16 | command: <command><fields><item><var>jid</var><value>user_regularhhk6tx0218@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-04-27 23:07:16 | target: http://localhost:8088 2022-04-27 23:07:16 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-04-27 23:07:16 | entity: <command><fields><item><var>jid</var><value>user_regularhhk6tx0218@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-04-27 23:07:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:07:16 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-04-27 23:07:16 | 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_regularhhk6tx0218@test-domain.com</value> </item> </fields> </command> 2022-04-27 23:07:16 | contains: true 2022-04-27 23:07:17 | [Mutex] waiting for: [msg:xyyd4h0228] 2022-04-27 23:07:17 | [Mutex] received everything. 2022-04-27 23:07:17 | [Mutex] isItemNotified: msg:xyyd4h0228 :: true 2022-04-27 23:07:17 | [Mutex] waiting for: [gkohqe0229:forbidden] 2022-04-27 23:07:17 | [Mutex] received everything. 2022-04-27 23:07:17 | [Mutex] isItemNotified: gkohqe0229:forbidden :: true 2022-04-27 23:07:17 | [Mutex] waiting for: [af4tft0231:forbidden] 2022-04-27 23:07:17 | [Mutex] received everything. 2022-04-27 23:07:17 | [Mutex] isItemNotified: af4tft0231:forbidden :: true 2022-04-27 23:07:17 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-04-27 23:07:17 | command: <command><fields><item><var>jid</var><value>user_regularhhk6tx0218@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_whitelistmrnwhg0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-04-27 23:07:17 | target: http://localhost:8088 2022-04-27 23:07:17 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-04-27 23:07:17 | entity: <command><fields><item><var>jid</var><value>user_regularhhk6tx0218@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_whitelistmrnwhg0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-04-27 23:07:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:07:17 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-04-27 23:07:17 | 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_whitelistmrnwhg0219@test-domain.com;4|deny|all) for user: user_regularhhk6tx0218@test-domain.com</value> </item> </fields> </command> 2022-04-27 23:07:17 | contains: true 2022-04-27 23:07:18 | [Mutex] waiting for: [msg:hbroxm0234] 2022-04-27 23:07:18 | [Mutex] received everything. 2022-04-27 23:07:18 | [Mutex] isItemNotified: msg:hbroxm0234 :: true 2022-04-27 23:07:18 | [Mutex] waiting for: [msg:r2e2qo0236] 2022-04-27 23:07:18 | [Mutex] received everything. 2022-04-27 23:07:18 | [Mutex] isItemNotified: msg:r2e2qo0236 :: true 2022-04-27 23:07:18 | [Mutex] waiting for: [b2n0p80237:forbidden] 2022-04-27 23:07:18 | [Mutex] received everything. 2022-04-27 23:07:18 | [Mutex] isItemNotified: b2n0p80237:forbidden :: true |