Test duration : 7.315s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.469s |
2020-10-09 23:04:44 |
2020-10-09 23:04:44 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-10-09 23:04:44 | ------------------------------------ 2020-10-09 23:04:44 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-09 23:04:44 | command: <command><fields><item><var>jid</var><value>user_regular208h620214@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-10-09 23:04:44 | target: http://localhost:8088 2020-10-09 23:04:44 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-10-09 23:04:44 | entity: <command><fields><item><var>jid</var><value>user_regular208h620214@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-10-09 23:04:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:04:44 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-09 23:04: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: 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_regular208h620214@test-domain.com</value> </item> </fields> </command> 2020-10-09 23:04:44 | contains: true 2020-10-09 23:04:44 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-09 23:04:44 | command: <command><fields><item><var>jid</var><value>user_regular208h620214@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-10-09 23:04:44 | target: http://localhost:8088 2020-10-09 23:04:44 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-10-09 23:04:44 | entity: <command><fields><item><var>jid</var><value>user_regular208h620214@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-10-09 23:04:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:04:44 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-09 23:04: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;2|allow|jid|admin@test-domain.com;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|all) for user: user_regular208h620214@test-domain.com</value> </item> </fields> </command> 2020-10-09 23:04:44 | contains: true |
testMessageFiltering | 2.763s |
2020-10-09 23:04:46 |
2020-10-09 23:04:46 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-10-09 23:04:46 | ------------------------------------ 2020-10-09 23:04:46 | [Mutex] waiting for: [msg:2uv7kw0221] 2020-10-09 23:04:46 | [Mutex] received everything. 2020-10-09 23:04:46 | [Mutex] isItemNotified: msg:2uv7kw0221 :: true 2020-10-09 23:04:46 | [Mutex] waiting for: [msg:cnh4lp0223] 2020-10-09 23:04:46 | [Mutex] received everything. 2020-10-09 23:04:46 | [Mutex] isItemNotified: msg:cnh4lp0223 :: true 2020-10-09 23:04:46 | [Mutex] waiting for: [msg:4ug8p70225] 2020-10-09 23:04:46 | [Mutex] received everything. 2020-10-09 23:04:46 | [Mutex] isItemNotified: msg:4ug8p70225 :: true 2020-10-09 23:04:46 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-09 23:04:46 | command: <command><fields><item><var>jid</var><value>user_regular65uods0217@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-10-09 23:04:46 | target: http://localhost:8088 2020-10-09 23:04:46 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-10-09 23:04:46 | entity: <command><fields><item><var>jid</var><value>user_regular65uods0217@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-10-09 23:04:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:04:46 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-09 23:04:46 | 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_regular65uods0217@test-domain.com</value> </item> </fields> </command> 2020-10-09 23:04:46 | contains: true 2020-10-09 23:04:47 | [Mutex] waiting for: [msg:zf539d0227] 2020-10-09 23:04:47 | [Mutex] received everything. 2020-10-09 23:04:47 | [Mutex] isItemNotified: msg:zf539d0227 :: true 2020-10-09 23:04:47 | [Mutex] waiting for: [sgd8ei0228:forbidden] 2020-10-09 23:04:47 | [Mutex] received everything. 2020-10-09 23:04:47 | [Mutex] isItemNotified: sgd8ei0228:forbidden :: true 2020-10-09 23:04:47 | [Mutex] waiting for: [3s9omc0230:forbidden] 2020-10-09 23:04:47 | [Mutex] received everything. 2020-10-09 23:04:47 | [Mutex] isItemNotified: 3s9omc0230:forbidden :: true 2020-10-09 23:04:47 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-10-09 23:04:47 | command: <command><fields><item><var>jid</var><value>user_regular65uods0217@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_whitelist3q60li0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-10-09 23:04:47 | target: http://localhost:8088 2020-10-09 23:04:47 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-10-09 23:04:47 | entity: <command><fields><item><var>jid</var><value>user_regular65uods0217@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_whitelist3q60li0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-10-09 23:04:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 06:04:47 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-10-09 23:04: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;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelist3q60li0218@test-domain.com;4|deny|all) for user: user_regular65uods0217@test-domain.com</value> </item> </fields> </command> 2020-10-09 23:04:47 | contains: true 2020-10-09 23:04:49 | [Mutex] waiting for: [msg:vqfb9u0233] 2020-10-09 23:04:49 | [Mutex] received everything. 2020-10-09 23:04:49 | [Mutex] isItemNotified: msg:vqfb9u0233 :: true 2020-10-09 23:04:49 | [Mutex] waiting for: [msg:wcegh40235] 2020-10-09 23:04:49 | [Mutex] received everything. 2020-10-09 23:04:49 | [Mutex] isItemNotified: msg:wcegh40235 :: true 2020-10-09 23:04:49 | [Mutex] waiting for: [9c96az0236:forbidden] 2020-10-09 23:04:49 | [Mutex] received everything. 2020-10-09 23:04:49 | [Mutex] isItemNotified: 9c96az0236:forbidden :: true |