Test duration : 7.062s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.254s |
2021-02-06 21:37:11 |
2021-02-06 21:37:11 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-06 21:37:11 | ------------------------------------ 2021-02-06 21:37:11 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 21:37:11 | command: <command><fields><item><var>jid</var><value>user_regularxhed230063@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-06 21:37:11 | target: http://localhost:8088 2021-02-06 21:37:11 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-02-06 21:37:11 | entity: <command><fields><item><var>jid</var><value>user_regularxhed230063@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-06 21:37:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:37:11 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 21:37:11 | 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_regularxhed230063@test-domain.com</value> </item> </fields> </command> 2021-02-06 21:37:11 | contains: true 2021-02-06 21:37:11 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 21:37:11 | command: <command><fields><item><var>jid</var><value>user_regularxhed230063@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-06 21:37:11 | target: http://localhost:8088 2021-02-06 21:37:11 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-02-06 21:37:11 | entity: <command><fields><item><var>jid</var><value>user_regularxhed230063@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-06 21:37:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:37:11 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 21:37:11 | 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_regularxhed230063@test-domain.com</value> </item> </fields> </command> 2021-02-06 21:37:11 | contains: true |
testMessageFiltering | 2.676s |
2021-02-06 21:37:13 |
2021-02-06 21:37:13 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-02-06 21:37:13 | ------------------------------------ 2021-02-06 21:37:13 | [Mutex] waiting for: [msg:lgqz1g0070] 2021-02-06 21:37:13 | [Mutex] received everything. 2021-02-06 21:37:13 | [Mutex] isItemNotified: msg:lgqz1g0070 :: true 2021-02-06 21:37:13 | [Mutex] waiting for: [msg:qq3qmd0072] 2021-02-06 21:37:13 | [Mutex] received everything. 2021-02-06 21:37:13 | [Mutex] isItemNotified: msg:qq3qmd0072 :: true 2021-02-06 21:37:13 | [Mutex] waiting for: [msg:nh5dr00074] 2021-02-06 21:37:13 | [Mutex] received everything. 2021-02-06 21:37:13 | [Mutex] isItemNotified: msg:nh5dr00074 :: true 2021-02-06 21:37:13 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 21:37:13 | command: <command><fields><item><var>jid</var><value>user_regularewo0o80066@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-06 21:37:13 | target: http://localhost:8088 2021-02-06 21:37:13 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-02-06 21:37:13 | entity: <command><fields><item><var>jid</var><value>user_regularewo0o80066@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-06 21:37:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:37:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 21:37:13 | 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_regularewo0o80066@test-domain.com</value> </item> </fields> </command> 2021-02-06 21:37:13 | contains: true 2021-02-06 21:37:14 | [Mutex] waiting for: [msg:a5mj180076] 2021-02-06 21:37:14 | [Mutex] received everything. 2021-02-06 21:37:14 | [Mutex] isItemNotified: msg:a5mj180076 :: true 2021-02-06 21:37:14 | [Mutex] waiting for: [lte5rg0077:forbidden] 2021-02-06 21:37:14 | [Mutex] received everything. 2021-02-06 21:37:14 | [Mutex] isItemNotified: lte5rg0077:forbidden :: true 2021-02-06 21:37:14 | [Mutex] waiting for: [lhd2bj0079:forbidden] 2021-02-06 21:37:14 | [Mutex] received everything. 2021-02-06 21:37:14 | [Mutex] isItemNotified: lhd2bj0079:forbidden :: true 2021-02-06 21:37:14 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-02-06 21:37:14 | command: <command><fields><item><var>jid</var><value>user_regularewo0o80066@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_whitelistnwqsqh0067@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-06 21:37:14 | target: http://localhost:8088 2021-02-06 21:37:14 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-02-06 21:37:14 | entity: <command><fields><item><var>jid</var><value>user_regularewo0o80066@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_whitelistnwqsqh0067@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-02-06 21:37:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:37:15 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-02-06 21:37:15 | 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_whitelistnwqsqh0067@test-domain.com;4|deny|all) for user: user_regularewo0o80066@test-domain.com</value> </item> </fields> </command> 2021-02-06 21:37:15 | contains: true 2021-02-06 21:37:16 | [Mutex] waiting for: [msg:kw1clw0082] 2021-02-06 21:37:16 | [Mutex] received everything. 2021-02-06 21:37:16 | [Mutex] isItemNotified: msg:kw1clw0082 :: true 2021-02-06 21:37:16 | [Mutex] waiting for: [msg:k9fukt0084] 2021-02-06 21:37:16 | [Mutex] received everything. 2021-02-06 21:37:16 | [Mutex] isItemNotified: msg:k9fukt0084 :: true 2021-02-06 21:37:16 | [Mutex] waiting for: [1l51cf0085:forbidden] 2021-02-06 21:37:16 | [Mutex] received everything. 2021-02-06 21:37:16 | [Mutex] isItemNotified: 1l51cf0085:forbidden :: true |