Test duration : 6.384s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.251s |
2020-09-26 22:48:36 |
2020-09-26 22:48:36 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-26 22:48:36 | ------------------------------------ 2020-09-26 22:48:36 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-26 22:48:36 | command: <command><fields><item><var>jid</var><value>user_regularneqczo0212@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-26 22:48:36 | target: http://localhost:8088 2020-09-26 22:48:36 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-09-26 22:48:36 | entity: <command><fields><item><var>jid</var><value>user_regularneqczo0212@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-26 22:48:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:48:37 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-26 22:48: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;2|allow|jid|admin@test-domain.com;4|deny|all) for user: user_regularneqczo0212@test-domain.com</value> </item> </fields> </command> 2020-09-26 22:48:37 | contains: true 2020-09-26 22:48:37 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-26 22:48:37 | command: <command><fields><item><var>jid</var><value>user_regularneqczo0212@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-26 22:48:37 | target: http://localhost:8088 2020-09-26 22:48:37 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-09-26 22:48:37 | entity: <command><fields><item><var>jid</var><value>user_regularneqczo0212@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-26 22:48:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:48:37 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-26 22:48: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: 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_regularneqczo0212@test-domain.com</value> </item> </fields> </command> 2020-09-26 22:48:37 | contains: true |
testMessageFiltering | 2.666s |
2020-09-26 22:48:38 |
2020-09-26 22:48:38 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-26 22:48:38 | ------------------------------------ 2020-09-26 22:48:38 | [Mutex] waiting for: [msg:xoh1en0219] 2020-09-26 22:48:38 | [Mutex] received everything. 2020-09-26 22:48:38 | [Mutex] isItemNotified: msg:xoh1en0219 :: true 2020-09-26 22:48:38 | [Mutex] waiting for: [msg:cnmqpw0221] 2020-09-26 22:48:38 | [Mutex] received everything. 2020-09-26 22:48:38 | [Mutex] isItemNotified: msg:cnmqpw0221 :: true 2020-09-26 22:48:38 | [Mutex] waiting for: [msg:1dywup0223] 2020-09-26 22:48:38 | [Mutex] received everything. 2020-09-26 22:48:38 | [Mutex] isItemNotified: msg:1dywup0223 :: true 2020-09-26 22:48:38 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-26 22:48:38 | command: <command><fields><item><var>jid</var><value>user_regulargwjnei0215@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-26 22:48:38 | target: http://localhost:8088 2020-09-26 22:48:38 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-09-26 22:48:38 | entity: <command><fields><item><var>jid</var><value>user_regulargwjnei0215@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-26 22:48:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:48:38 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-26 22:48: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: null (domains list: ) to a new value: CUSTOM (domains list: 1|allow|self;4|deny|all) for user: user_regulargwjnei0215@test-domain.com</value> </item> </fields> </command> 2020-09-26 22:48:38 | contains: true 2020-09-26 22:48:39 | [Mutex] waiting for: [msg:mx7h310225] 2020-09-26 22:48:39 | [Mutex] received everything. 2020-09-26 22:48:39 | [Mutex] isItemNotified: msg:mx7h310225 :: true 2020-09-26 22:48:39 | [Mutex] waiting for: [2xefa90226:forbidden] 2020-09-26 22:48:39 | [Mutex] received everything. 2020-09-26 22:48:39 | [Mutex] isItemNotified: 2xefa90226:forbidden :: true 2020-09-26 22:48:39 | [Mutex] waiting for: [k1xbxp0228:forbidden] 2020-09-26 22:48:39 | [Mutex] received everything. 2020-09-26 22:48:39 | [Mutex] isItemNotified: k1xbxp0228:forbidden :: true 2020-09-26 22:48:39 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-26 22:48:39 | command: <command><fields><item><var>jid</var><value>user_regulargwjnei0215@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_whitelistmqkc250216@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-26 22:48:39 | target: http://localhost:8088 2020-09-26 22:48:39 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-09-26 22:48:39 | entity: <command><fields><item><var>jid</var><value>user_regulargwjnei0215@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_whitelistmqkc250216@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-26 22:48:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:48:39 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-26 22:48:39 | 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_whitelistmqkc250216@test-domain.com;4|deny|all) for user: user_regulargwjnei0215@test-domain.com</value> </item> </fields> </command> 2020-09-26 22:48:39 | contains: true 2020-09-26 22:48:41 | [Mutex] waiting for: [msg:h5tucv0231] 2020-09-26 22:48:41 | [Mutex] received everything. 2020-09-26 22:48:41 | [Mutex] isItemNotified: msg:h5tucv0231 :: true 2020-09-26 22:48:41 | [Mutex] waiting for: [msg:hyv7tr0233] 2020-09-26 22:48:41 | [Mutex] received everything. 2020-09-26 22:48:41 | [Mutex] isItemNotified: msg:hyv7tr0233 :: true 2020-09-26 22:48:41 | [Mutex] received everything. 2020-09-26 22:48:41 | [Mutex] isItemNotified: e2i2qi0234:forbidden :: true |