Test duration : 6.083s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.280s |
2021-05-13 22:34:06 |
2021-05-13 22:34:06 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-05-13 22:34:06 | ------------------------------------ 2021-05-13 22:34:06 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-13 22:34:06 | command: <command><fields><item><var>jid</var><value>user_regular61qu0t0214@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-05-13 22:34:06 | target: http://localhost:8088 2021-05-13 22:34:06 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2021-05-13 22:34:06 | entity: <command><fields><item><var>jid</var><value>user_regular61qu0t0214@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-05-13 22:34:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:34:07 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-13 22:34:07 | 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_regular61qu0t0214@test-domain.com</value> </item> </fields> </command> 2021-05-13 22:34:07 | contains: true 2021-05-13 22:34:07 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-13 22:34:07 | command: <command><fields><item><var>jid</var><value>user_regular61qu0t0214@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-05-13 22:34:07 | target: http://localhost:8088 2021-05-13 22:34:07 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2021-05-13 22:34:07 | entity: <command><fields><item><var>jid</var><value>user_regular61qu0t0214@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-05-13 22:34:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:34:07 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-13 22:34:07 | 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_regular61qu0t0214@test-domain.com</value> </item> </fields> </command> 2021-05-13 22:34:07 | contains: true |
testMessageFiltering | 2.621s |
2021-05-13 22:34:08 |
2021-05-13 22:34:08 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2021-05-13 22:34:08 | ------------------------------------ 2021-05-13 22:34:08 | [Mutex] waiting for: [msg:4vne8n0221] 2021-05-13 22:34:08 | [Mutex] received everything. 2021-05-13 22:34:08 | [Mutex] isItemNotified: msg:4vne8n0221 :: true 2021-05-13 22:34:08 | [Mutex] waiting for: [msg:2ki53a0223] 2021-05-13 22:34:08 | [Mutex] received everything. 2021-05-13 22:34:08 | [Mutex] isItemNotified: msg:2ki53a0223 :: true 2021-05-13 22:34:08 | [Mutex] waiting for: [msg:34defl0225] 2021-05-13 22:34:08 | [Mutex] received everything. 2021-05-13 22:34:08 | [Mutex] isItemNotified: msg:34defl0225 :: true 2021-05-13 22:34:08 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-13 22:34:08 | command: <command><fields><item><var>jid</var><value>user_regularpg8yee0217@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-05-13 22:34:08 | target: http://localhost:8088 2021-05-13 22:34:08 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2021-05-13 22:34:08 | entity: <command><fields><item><var>jid</var><value>user_regularpg8yee0217@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-05-13 22:34:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:34:08 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-13 22:34:08 | 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_regularpg8yee0217@test-domain.com</value> </item> </fields> </command> 2021-05-13 22:34:08 | contains: true 2021-05-13 22:34:10 | [Mutex] waiting for: [msg:hiv0ll0227] 2021-05-13 22:34:10 | [Mutex] received everything. 2021-05-13 22:34:10 | [Mutex] isItemNotified: msg:hiv0ll0227 :: true 2021-05-13 22:34:10 | [Mutex] waiting for: [n0055f0228:forbidden] 2021-05-13 22:34:10 | [Mutex] received everything. 2021-05-13 22:34:10 | [Mutex] isItemNotified: n0055f0228:forbidden :: true 2021-05-13 22:34:10 | [Mutex] waiting for: [t5uuyd0230:forbidden] 2021-05-13 22:34:10 | [Mutex] received everything. 2021-05-13 22:34:10 | [Mutex] isItemNotified: t5uuyd0230:forbidden :: true 2021-05-13 22:34:10 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2021-05-13 22:34:10 | command: <command><fields><item><var>jid</var><value>user_regularpg8yee0217@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_whitelisttbzd4a0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-05-13 22:34:10 | target: http://localhost:8088 2021-05-13 22:34:10 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2021-05-13 22:34:10 | entity: <command><fields><item><var>jid</var><value>user_regularpg8yee0217@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_whitelisttbzd4a0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2021-05-13 22:34:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 05:34:10 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2021-05-13 22:34:10 | 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_whitelisttbzd4a0218@test-domain.com;4|deny|all) for user: user_regularpg8yee0217@test-domain.com</value> </item> </fields> </command> 2021-05-13 22:34:10 | contains: true 2021-05-13 22:34:11 | [Mutex] waiting for: [msg:lmhtge0233] 2021-05-13 22:34:11 | [Mutex] received everything. 2021-05-13 22:34:11 | [Mutex] isItemNotified: msg:lmhtge0233 :: true 2021-05-13 22:34:11 | [Mutex] waiting for: [msg:e9jr4i0235] 2021-05-13 22:34:11 | [Mutex] received everything. 2021-05-13 22:34:11 | [Mutex] isItemNotified: msg:e9jr4i0235 :: true 2021-05-13 22:34:11 | [Mutex] waiting for: [f7f9150236:forbidden] 2021-05-13 22:34:11 | [Mutex] received everything. 2021-05-13 22:34:11 | [Mutex] isItemNotified: f7f9150236:forbidden :: true |