Test duration : 6.824s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.259s |
2020-09-18 10:09:29 |
2020-09-18 10:09:29 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-18 10:09:29 | ------------------------------------ 2020-09-18 10:09:29 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-18 10:09:29 | command: <command><fields><item><var>jid</var><value>user_regularhjx58u0212@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-18 10:09:29 | target: http://localhost:8088 2020-09-18 10:09:29 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-09-18 10:09:29 | entity: <command><fields><item><var>jid</var><value>user_regularhjx58u0212@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-18 10:09:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 17:09:29 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-18 10:09:29 | 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_regularhjx58u0212@test-domain.com</value> </item> </fields> </command> 2020-09-18 10:09:29 | contains: true 2020-09-18 10:09:29 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-18 10:09:29 | command: <command><fields><item><var>jid</var><value>user_regularhjx58u0212@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-18 10:09:29 | target: http://localhost:8088 2020-09-18 10:09:29 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-09-18 10:09:29 | entity: <command><fields><item><var>jid</var><value>user_regularhjx58u0212@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-18 10:09:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 17:09:29 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-18 10:09:29 | 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_regularhjx58u0212@test-domain.com</value> </item> </fields> </command> 2020-09-18 10:09:29 | contains: true |
testMessageFiltering | 2.664s |
2020-09-18 10:09:31 |
2020-09-18 10:09:31 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-18 10:09:31 | ------------------------------------ 2020-09-18 10:09:31 | [Mutex] waiting for: [msg:wf9bzd0219] 2020-09-18 10:09:31 | [Mutex] received everything. 2020-09-18 10:09:31 | [Mutex] isItemNotified: msg:wf9bzd0219 :: true 2020-09-18 10:09:31 | [Mutex] waiting for: [msg:y0fqme0221] 2020-09-18 10:09:31 | [Mutex] received everything. 2020-09-18 10:09:31 | [Mutex] isItemNotified: msg:y0fqme0221 :: true 2020-09-18 10:09:31 | [Mutex] waiting for: [msg:mekirm0223] 2020-09-18 10:09:31 | [Mutex] received everything. 2020-09-18 10:09:31 | [Mutex] isItemNotified: msg:mekirm0223 :: true 2020-09-18 10:09:31 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-18 10:09:31 | command: <command><fields><item><var>jid</var><value>user_regular9or83p0215@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-18 10:09:31 | target: http://localhost:8088 2020-09-18 10:09:31 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-09-18 10:09:31 | entity: <command><fields><item><var>jid</var><value>user_regular9or83p0215@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-18 10:09:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 17:09:31 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-18 10:09: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: null (domains list: ) to a new value: CUSTOM (domains list: 1|allow|self;4|deny|all) for user: user_regular9or83p0215@test-domain.com</value> </item> </fields> </command> 2020-09-18 10:09:31 | contains: true 2020-09-18 10:09:32 | [Mutex] waiting for: [msg:i5rsdk0225] 2020-09-18 10:09:32 | [Mutex] received everything. 2020-09-18 10:09:32 | [Mutex] isItemNotified: msg:i5rsdk0225 :: true 2020-09-18 10:09:32 | [Mutex] waiting for: [9y7rtw0226:forbidden] 2020-09-18 10:09:32 | [Mutex] received everything. 2020-09-18 10:09:32 | [Mutex] isItemNotified: 9y7rtw0226:forbidden :: true 2020-09-18 10:09:32 | [Mutex] waiting for: [jgzdvr0228:forbidden] 2020-09-18 10:09:32 | [Mutex] received everything. 2020-09-18 10:09:32 | [Mutex] isItemNotified: jgzdvr0228:forbidden :: true 2020-09-18 10:09:32 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-18 10:09:32 | command: <command><fields><item><var>jid</var><value>user_regular9or83p0215@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_whitelistxxlv7c0216@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-18 10:09:32 | target: http://localhost:8088 2020-09-18 10:09:32 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-09-18 10:09:32 | entity: <command><fields><item><var>jid</var><value>user_regular9or83p0215@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_whitelistxxlv7c0216@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-18 10:09:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 17:09:32 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-18 10:09:32 | 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_whitelistxxlv7c0216@test-domain.com;4|deny|all) for user: user_regular9or83p0215@test-domain.com</value> </item> </fields> </command> 2020-09-18 10:09:32 | contains: true 2020-09-18 10:09:34 | [Mutex] waiting for: [msg:4gp2jd0231] 2020-09-18 10:09:34 | [Mutex] received everything. 2020-09-18 10:09:34 | [Mutex] isItemNotified: msg:4gp2jd0231 :: true 2020-09-18 10:09:34 | [Mutex] waiting for: [msg:ix5syz0233] 2020-09-18 10:09:34 | [Mutex] received everything. 2020-09-18 10:09:34 | [Mutex] isItemNotified: msg:ix5syz0233 :: true 2020-09-18 10:09:34 | [Mutex] waiting for: [tnjf4p0234:forbidden] 2020-09-18 10:09:34 | [Mutex] received everything. 2020-09-18 10:09:34 | [Mutex] isItemNotified: tnjf4p0234:forbidden :: true |