Test duration : 5.652s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.242s |
2022-07-07 22:46:28 |
2022-07-07 22:46:28 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-07-07 22:46:28 | ------------------------------------ 2022-07-07 22:46:28 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-07 22:46:28 | command: <command><fields><item><var>jid</var><value>user_regularuda93j0215@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-07-07 22:46:28 | target: http://localhost:8088 2022-07-07 22:46:28 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-07-07 22:46:28 | entity: <command><fields><item><var>jid</var><value>user_regularuda93j0215@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-07-07 22:46:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:46:28 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-07 22:46:28 | 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_regularuda93j0215@test-domain.com</value> </item> </fields> </command> 2022-07-07 22:46:28 | contains: true 2022-07-07 22:46:28 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-07 22:46:28 | command: <command><fields><item><var>jid</var><value>user_regularuda93j0215@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-07-07 22:46:28 | target: http://localhost:8088 2022-07-07 22:46:28 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-07-07 22:46:28 | entity: <command><fields><item><var>jid</var><value>user_regularuda93j0215@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-07-07 22:46:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:46:28 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-07 22:46:28 | 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_regularuda93j0215@test-domain.com</value> </item> </fields> </command> 2022-07-07 22:46:28 | contains: true |
testMessageFiltering | 2.589s |
2022-07-07 22:46:29 |
2022-07-07 22:46:29 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-07-07 22:46:29 | ------------------------------------ 2022-07-07 22:46:29 | [Mutex] waiting for: [msg:dvfydv0222] 2022-07-07 22:46:29 | [Mutex] received everything. 2022-07-07 22:46:29 | [Mutex] isItemNotified: msg:dvfydv0222 :: true 2022-07-07 22:46:29 | [Mutex] waiting for: [msg:v0c56u0224] 2022-07-07 22:46:29 | [Mutex] received everything. 2022-07-07 22:46:29 | [Mutex] isItemNotified: msg:v0c56u0224 :: true 2022-07-07 22:46:29 | [Mutex] waiting for: [msg:om684z0226] 2022-07-07 22:46:29 | [Mutex] received everything. 2022-07-07 22:46:29 | [Mutex] isItemNotified: msg:om684z0226 :: true 2022-07-07 22:46:29 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-07 22:46:29 | command: <command><fields><item><var>jid</var><value>user_regularjpnp250218@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-07-07 22:46:29 | target: http://localhost:8088 2022-07-07 22:46:29 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-07-07 22:46:29 | entity: <command><fields><item><var>jid</var><value>user_regularjpnp250218@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-07-07 22:46:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:46:30 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-07 22:46:30 | 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_regularjpnp250218@test-domain.com</value> </item> </fields> </command> 2022-07-07 22:46:30 | contains: true 2022-07-07 22:46:31 | [Mutex] waiting for: [msg:49jela0228] 2022-07-07 22:46:31 | [Mutex] received everything. 2022-07-07 22:46:31 | [Mutex] isItemNotified: msg:49jela0228 :: true 2022-07-07 22:46:31 | [Mutex] waiting for: [upm0s60229:forbidden] 2022-07-07 22:46:31 | [Mutex] received everything. 2022-07-07 22:46:31 | [Mutex] isItemNotified: upm0s60229:forbidden :: true 2022-07-07 22:46:31 | [Mutex] waiting for: [vnq8iy0231:forbidden] 2022-07-07 22:46:31 | [Mutex] waiting for: [vnq8iy0231:forbidden] 2022-07-07 22:46:31 | [Mutex] received everything. 2022-07-07 22:46:31 | [Mutex] isItemNotified: vnq8iy0231:forbidden :: true 2022-07-07 22:46:31 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-07-07 22:46:31 | command: <command><fields><item><var>jid</var><value>user_regularjpnp250218@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_whitelist4xfjou0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-07-07 22:46:31 | target: http://localhost:8088 2022-07-07 22:46:31 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-07-07 22:46:31 | entity: <command><fields><item><var>jid</var><value>user_regularjpnp250218@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_whitelist4xfjou0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-07-07 22:46:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 05:46:31 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-07-07 22:46:31 | 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_whitelist4xfjou0219@test-domain.com;4|deny|all) for user: user_regularjpnp250218@test-domain.com</value> </item> </fields> </command> 2022-07-07 22:46:31 | contains: true 2022-07-07 22:46:32 | [Mutex] waiting for: [msg:62zqpw0234] 2022-07-07 22:46:32 | [Mutex] received everything. 2022-07-07 22:46:32 | [Mutex] isItemNotified: msg:62zqpw0234 :: true 2022-07-07 22:46:32 | [Mutex] waiting for: [msg:oajiza0236] 2022-07-07 22:46:32 | [Mutex] received everything. 2022-07-07 22:46:32 | [Mutex] isItemNotified: msg:oajiza0236 :: true 2022-07-07 22:46:32 | [Mutex] received everything. 2022-07-07 22:46:32 | [Mutex] isItemNotified: 40awhz0237:forbidden :: true |