Test duration : 6.549s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.279s |
2021-02-18 21:32:47 |
2021-02-18 21:32:47 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-18 21:32:47 | ------------------------------------ 2021-02-18 21:32:47 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-18 21:32:47 | command: <command><fields><item><var>jid</var><value>user_regularh5anvk0214@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> 2021-02-18 21:32:47 | target: http://localhost:8088 2021-02-18 21:32:47 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-02-18 21:32:47 | entity: <command><fields><item><var>jid</var><value>user_regularh5anvk0214@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> 2021-02-18 21:32:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:32:47 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-18 21:32:47 | 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_regularh5anvk0214@test-domain.com</value> </item> </fields> </command> 2021-02-18 21:32:47 | contains: true 2021-02-18 21:32:47 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-18 21:32:47 | command: <command><fields><item><var>jid</var><value>user_regularh5anvk0214@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> 2021-02-18 21:32:47 | target: http://localhost:8088 2021-02-18 21:32:47 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-02-18 21:32:47 | entity: <command><fields><item><var>jid</var><value>user_regularh5anvk0214@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> 2021-02-18 21:32:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:32:47 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-18 21:32:47 | 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_regularh5anvk0214@test-domain.com</value> </item> </fields> </command> 2021-02-18 21:32:47 | contains: true |
testMessageFiltering | 2.738s |
2021-02-18 21:32:49 |
2021-02-18 21:32:49 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-18 21:32:49 | ------------------------------------ 2021-02-18 21:32:49 | [Mutex] waiting for: [msg:bptcdy0221] 2021-02-18 21:32:49 | [Mutex] received everything. 2021-02-18 21:32:49 | [Mutex] isItemNotified: msg:bptcdy0221 :: true 2021-02-18 21:32:49 | [Mutex] waiting for: [msg:8zefrs0223] 2021-02-18 21:32:49 | [Mutex] received everything. 2021-02-18 21:32:49 | [Mutex] isItemNotified: msg:8zefrs0223 :: true 2021-02-18 21:32:49 | [Mutex] waiting for: [msg:uny1uo0225] 2021-02-18 21:32:49 | [Mutex] received everything. 2021-02-18 21:32:49 | [Mutex] isItemNotified: msg:uny1uo0225 :: true 2021-02-18 21:32:49 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-18 21:32:49 | command: <command><fields><item><var>jid</var><value>user_regularh18ivn0217@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> 2021-02-18 21:32:49 | target: http://localhost:8088 2021-02-18 21:32:49 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-02-18 21:32:49 | entity: <command><fields><item><var>jid</var><value>user_regularh18ivn0217@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> 2021-02-18 21:32:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:32:49 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-18 21:32:49 | 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_regularh18ivn0217@test-domain.com</value> </item> </fields> </command> 2021-02-18 21:32:49 | contains: true 2021-02-18 21:32:50 | [Mutex] waiting for: [msg:m00awi0227] 2021-02-18 21:32:50 | [Mutex] received everything. 2021-02-18 21:32:50 | [Mutex] isItemNotified: msg:m00awi0227 :: true 2021-02-18 21:32:50 | [Mutex] waiting for: [ngh7xv0228:forbidden] 2021-02-18 21:32:50 | [Mutex] received everything. 2021-02-18 21:32:50 | [Mutex] isItemNotified: ngh7xv0228:forbidden :: true 2021-02-18 21:32:50 | [Mutex] waiting for: [ix6u9e0230:forbidden] 2021-02-18 21:32:50 | [Mutex] received everything. 2021-02-18 21:32:50 | [Mutex] isItemNotified: ix6u9e0230:forbidden :: true 2021-02-18 21:32:50 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-18 21:32:50 | command: <command><fields><item><var>jid</var><value>user_regularh18ivn0217@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_whitelistct4kj10218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-18 21:32:50 | target: http://localhost:8088 2021-02-18 21:32:50 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-02-18 21:32:50 | entity: <command><fields><item><var>jid</var><value>user_regularh18ivn0217@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_whitelistct4kj10218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-18 21:32:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:32:50 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-18 21:32:50 | 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_whitelistct4kj10218@test-domain.com;4|deny|all) for user: user_regularh18ivn0217@test-domain.com</value> </item> </fields> </command> 2021-02-18 21:32:50 | contains: true 2021-02-18 21:32:51 | [Mutex] waiting for: [msg:kmawmy0233] 2021-02-18 21:32:51 | [Mutex] received everything. 2021-02-18 21:32:51 | [Mutex] isItemNotified: msg:kmawmy0233 :: true 2021-02-18 21:32:51 | [Mutex] waiting for: [msg:tbec520235] 2021-02-18 21:32:51 | [Mutex] received everything. 2021-02-18 21:32:51 | [Mutex] isItemNotified: msg:tbec520235 :: true 2021-02-18 21:32:51 | [Mutex] waiting for: [ngasj10236:forbidden] 2021-02-18 21:32:51 | [Mutex] received everything. 2021-02-18 21:32:51 | [Mutex] isItemNotified: ngasj10236:forbidden :: true |