Test duration : 6.785s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.255s |
2020-09-14 23:22:41 |
2020-09-14 23:22:41 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-14 23:22:41 | ------------------------------------ 2020-09-14 23:22:41 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-14 23:22:41 | command: <command><fields><item><var>jid</var><value>user_regular6uho5w0212@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> 2020-09-14 23:22:41 | target: http://localhost:8088 2020-09-14 23:22:41 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-09-14 23:22:41 | entity: <command><fields><item><var>jid</var><value>user_regular6uho5w0212@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> 2020-09-14 23:22:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 06:22:41 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-14 23:22:41 | 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_regular6uho5w0212@test-domain.com</value> </item> </fields> </command> 2020-09-14 23:22:41 | contains: true 2020-09-14 23:22:41 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-14 23:22:41 | command: <command><fields><item><var>jid</var><value>user_regular6uho5w0212@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> 2020-09-14 23:22:41 | target: http://localhost:8088 2020-09-14 23:22:41 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-09-14 23:22:41 | entity: <command><fields><item><var>jid</var><value>user_regular6uho5w0212@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> 2020-09-14 23:22:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 06:22:41 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-14 23:22:41 | 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_regular6uho5w0212@test-domain.com</value> </item> </fields> </command> 2020-09-14 23:22:41 | contains: true |
testMessageFiltering | 2.760s |
2020-09-14 23:22:43 |
2020-09-14 23:22:43 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-14 23:22:43 | ------------------------------------ 2020-09-14 23:22:43 | [Mutex] waiting for: [msg:3m5fzr0219] 2020-09-14 23:22:43 | [Mutex] received everything. 2020-09-14 23:22:43 | [Mutex] isItemNotified: msg:3m5fzr0219 :: true 2020-09-14 23:22:43 | [Mutex] waiting for: [msg:lotg250221] 2020-09-14 23:22:43 | [Mutex] received everything. 2020-09-14 23:22:43 | [Mutex] isItemNotified: msg:lotg250221 :: true 2020-09-14 23:22:43 | [Mutex] waiting for: [msg:a8rker0223] 2020-09-14 23:22:43 | [Mutex] received everything. 2020-09-14 23:22:43 | [Mutex] isItemNotified: msg:a8rker0223 :: true 2020-09-14 23:22:43 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-14 23:22:43 | command: <command><fields><item><var>jid</var><value>user_regulartey7gj0215@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> 2020-09-14 23:22:43 | target: http://localhost:8088 2020-09-14 23:22:43 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-09-14 23:22:43 | entity: <command><fields><item><var>jid</var><value>user_regulartey7gj0215@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> 2020-09-14 23:22:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 06:22:43 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-14 23:22:43 | 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_regulartey7gj0215@test-domain.com</value> </item> </fields> </command> 2020-09-14 23:22:43 | contains: true 2020-09-14 23:22:44 | [Mutex] waiting for: [msg:i4kno40225] 2020-09-14 23:22:44 | [Mutex] received everything. 2020-09-14 23:22:44 | [Mutex] isItemNotified: msg:i4kno40225 :: true 2020-09-14 23:22:44 | [Mutex] waiting for: [3zugrd0226:forbidden] 2020-09-14 23:22:44 | [Mutex] received everything. 2020-09-14 23:22:44 | [Mutex] isItemNotified: 3zugrd0226:forbidden :: true 2020-09-14 23:22:44 | [Mutex] waiting for: [pxem580228:forbidden] 2020-09-14 23:22:44 | [Mutex] received everything. 2020-09-14 23:22:44 | [Mutex] isItemNotified: pxem580228:forbidden :: true 2020-09-14 23:22:44 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-14 23:22:44 | command: <command><fields><item><var>jid</var><value>user_regulartey7gj0215@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_whitelistgl8myz0216@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-14 23:22:44 | target: http://localhost:8088 2020-09-14 23:22:44 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-09-14 23:22:44 | entity: <command><fields><item><var>jid</var><value>user_regulartey7gj0215@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_whitelistgl8myz0216@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-14 23:22:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Sep 2020 06:22:44 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-14 23:22:44 | 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_whitelistgl8myz0216@test-domain.com;4|deny|all) for user: user_regulartey7gj0215@test-domain.com</value> </item> </fields> </command> 2020-09-14 23:22:44 | contains: true 2020-09-14 23:22:46 | [Mutex] waiting for: [msg:jowffl0231] 2020-09-14 23:22:46 | [Mutex] received everything. 2020-09-14 23:22:46 | [Mutex] isItemNotified: msg:jowffl0231 :: true 2020-09-14 23:22:46 | [Mutex] waiting for: [msg:h0ub880233] 2020-09-14 23:22:46 | [Mutex] received everything. 2020-09-14 23:22:46 | [Mutex] isItemNotified: msg:h0ub880233 :: true 2020-09-14 23:22:46 | [Mutex] waiting for: [9a0az0234:forbidden] 2020-09-14 23:22:46 | [Mutex] received everything. 2020-09-14 23:22:46 | [Mutex] isItemNotified: 9a0az0234:forbidden :: true |