Test duration : 5.784s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.233s |
2022-09-05 22:33:35 |
2022-09-05 22:33:35 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-09-05 22:33:35 | ------------------------------------ 2022-09-05 22:33:35 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-09-05 22:33:35 | command: <command><fields><item><var>jid</var><value>user_regulari8d05k0212@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-09-05 22:33:35 | target: http://localhost:8088 2022-09-05 22:33:35 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2022-09-05 22:33:35 | entity: <command><fields><item><var>jid</var><value>user_regulari8d05k0212@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-09-05 22:33:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:33:36 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-09-05 22:33:36 | 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_regulari8d05k0212@test-domain.com</value> </item> </fields> </command> 2022-09-05 22:33:36 | contains: true 2022-09-05 22:33:36 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-09-05 22:33:36 | command: <command><fields><item><var>jid</var><value>user_regulari8d05k0212@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-09-05 22:33:36 | target: http://localhost:8088 2022-09-05 22:33:36 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2022-09-05 22:33:36 | entity: <command><fields><item><var>jid</var><value>user_regulari8d05k0212@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-09-05 22:33:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:33:36 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-09-05 22:33:36 | 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_regulari8d05k0212@test-domain.com</value> </item> </fields> </command> 2022-09-05 22:33:36 | contains: true |
testMessageFiltering | 2.486s |
2022-09-05 22:33:37 |
2022-09-05 22:33:37 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-09-05 22:33:37 | ------------------------------------ 2022-09-05 22:33:37 | [Mutex] waiting for: [msg:otogfl0219] 2022-09-05 22:33:37 | [Mutex] received everything. 2022-09-05 22:33:37 | [Mutex] isItemNotified: msg:otogfl0219 :: true 2022-09-05 22:33:37 | [Mutex] waiting for: [msg:8837hx0221] 2022-09-05 22:33:37 | [Mutex] received everything. 2022-09-05 22:33:37 | [Mutex] isItemNotified: msg:8837hx0221 :: true 2022-09-05 22:33:37 | [Mutex] waiting for: [msg:h1294a0223] 2022-09-05 22:33:37 | [Mutex] received everything. 2022-09-05 22:33:37 | [Mutex] isItemNotified: msg:h1294a0223 :: true 2022-09-05 22:33:37 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-09-05 22:33:37 | command: <command><fields><item><var>jid</var><value>user_regulars551o60215@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-09-05 22:33:37 | target: http://localhost:8088 2022-09-05 22:33:37 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-09-05 22:33:37 | entity: <command><fields><item><var>jid</var><value>user_regulars551o60215@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-09-05 22:33:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:33:37 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-09-05 22:33: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;4|deny|all) for user: user_regulars551o60215@test-domain.com</value> </item> </fields> </command> 2022-09-05 22:33:37 | contains: true 2022-09-05 22:33:38 | [Mutex] waiting for: [msg:rxo7530225] 2022-09-05 22:33:38 | [Mutex] received everything. 2022-09-05 22:33:38 | [Mutex] isItemNotified: msg:rxo7530225 :: true 2022-09-05 22:33:38 | [Mutex] waiting for: [z1vk830226:forbidden] 2022-09-05 22:33:38 | [Mutex] received everything. 2022-09-05 22:33:38 | [Mutex] isItemNotified: z1vk830226:forbidden :: true 2022-09-05 22:33:38 | [Mutex] waiting for: [1a9nzv0228:forbidden] 2022-09-05 22:33:38 | [Mutex] received everything. 2022-09-05 22:33:38 | [Mutex] isItemNotified: 1a9nzv0228:forbidden :: true 2022-09-05 22:33:38 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-09-05 22:33:38 | command: <command><fields><item><var>jid</var><value>user_regulars551o60215@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_whitelistrg4u730216@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-09-05 22:33:38 | target: http://localhost:8088 2022-09-05 22:33:38 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-09-05 22:33:38 | entity: <command><fields><item><var>jid</var><value>user_regulars551o60215@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_whitelistrg4u730216@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-09-05 22:33:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Sep 2022 05:33:38 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-09-05 22:33:38 | 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_whitelistrg4u730216@test-domain.com;4|deny|all) for user: user_regulars551o60215@test-domain.com</value> </item> </fields> </command> 2022-09-05 22:33:38 | contains: true 2022-09-05 22:33:40 | [Mutex] waiting for: [msg:3ssg2m0231] 2022-09-05 22:33:40 | [Mutex] received everything. 2022-09-05 22:33:40 | [Mutex] isItemNotified: msg:3ssg2m0231 :: true 2022-09-05 22:33:40 | [Mutex] waiting for: [msg:sncrkz0233] 2022-09-05 22:33:40 | [Mutex] received everything. 2022-09-05 22:33:40 | [Mutex] isItemNotified: msg:sncrkz0233 :: true 2022-09-05 22:33:40 | [Mutex] waiting for: [6jx71w0234:forbidden] 2022-09-05 22:33:40 | [Mutex] received everything. 2022-09-05 22:33:40 | [Mutex] isItemNotified: 6jx71w0234:forbidden :: true |