Test duration : 6.518s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.242s |
2020-09-09 07:32:06 |
2020-09-09 07:32:06 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-09 07:32:06 | ------------------------------------ 2020-09-09 07:32:06 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-09 07:32:06 | command: <command><fields><item><var>jid</var><value>user_regular12rvog0214@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-09 07:32:06 | target: http://localhost:8088 2020-09-09 07:32:06 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-09-09 07:32:06 | entity: <command><fields><item><var>jid</var><value>user_regular12rvog0214@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-09 07:32:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:32:06 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-09 07:32:06 | 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_regular12rvog0214@test-domain.com</value> </item> </fields> </command> 2020-09-09 07:32:06 | contains: true 2020-09-09 07:32:06 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-09 07:32:06 | command: <command><fields><item><var>jid</var><value>user_regular12rvog0214@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-09 07:32:06 | target: http://localhost:8088 2020-09-09 07:32:06 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-09-09 07:32:06 | entity: <command><fields><item><var>jid</var><value>user_regular12rvog0214@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-09 07:32:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:32:07 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-09 07:32: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_regular12rvog0214@test-domain.com</value> </item> </fields> </command> 2020-09-09 07:32:07 | contains: true |
testMessageFiltering | 2.669s |
2020-09-09 07:32:08 |
2020-09-09 07:32:08 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-09 07:32:08 | ------------------------------------ 2020-09-09 07:32:08 | [Mutex] waiting for: [msg:exblvd0221] 2020-09-09 07:32:08 | [Mutex] received everything. 2020-09-09 07:32:08 | [Mutex] isItemNotified: msg:exblvd0221 :: true 2020-09-09 07:32:08 | [Mutex] waiting for: [msg:fhjeu90223] 2020-09-09 07:32:08 | [Mutex] received everything. 2020-09-09 07:32:08 | [Mutex] isItemNotified: msg:fhjeu90223 :: true 2020-09-09 07:32:08 | [Mutex] waiting for: [msg:f1h5qu0225] 2020-09-09 07:32:08 | [Mutex] received everything. 2020-09-09 07:32:08 | [Mutex] isItemNotified: msg:f1h5qu0225 :: true 2020-09-09 07:32:08 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-09 07:32:08 | command: <command><fields><item><var>jid</var><value>user_regularp4tdw10217@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-09 07:32:08 | target: http://localhost:8088 2020-09-09 07:32:08 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-09-09 07:32:08 | entity: <command><fields><item><var>jid</var><value>user_regularp4tdw10217@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-09 07:32:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:32:08 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-09 07:32: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_regularp4tdw10217@test-domain.com</value> </item> </fields> </command> 2020-09-09 07:32:08 | contains: true 2020-09-09 07:32:09 | [Mutex] waiting for: [msg:laexsn0227] 2020-09-09 07:32:09 | [Mutex] received everything. 2020-09-09 07:32:09 | [Mutex] isItemNotified: msg:laexsn0227 :: true 2020-09-09 07:32:09 | [Mutex] waiting for: [ax750t0228:forbidden] 2020-09-09 07:32:09 | [Mutex] received everything. 2020-09-09 07:32:09 | [Mutex] isItemNotified: ax750t0228:forbidden :: true 2020-09-09 07:32:09 | [Mutex] waiting for: [ohlers0230:forbidden] 2020-09-09 07:32:09 | [Mutex] waiting for: [ohlers0230:forbidden] 2020-09-09 07:32:10 | [Mutex] received everything. 2020-09-09 07:32:10 | [Mutex] isItemNotified: ohlers0230:forbidden :: true 2020-09-09 07:32:10 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-09 07:32:10 | command: <command><fields><item><var>jid</var><value>user_regularp4tdw10217@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_whitelistp89ss40218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-09 07:32:10 | target: http://localhost:8088 2020-09-09 07:32:10 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-09-09 07:32:10 | entity: <command><fields><item><var>jid</var><value>user_regularp4tdw10217@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_whitelistp89ss40218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-09 07:32:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 14:32:10 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-09 07:32: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_whitelistp89ss40218@test-domain.com;4|deny|all) for user: user_regularp4tdw10217@test-domain.com</value> </item> </fields> </command> 2020-09-09 07:32:10 | contains: true 2020-09-09 07:32:11 | [Mutex] waiting for: [msg:dk1zvf0233] 2020-09-09 07:32:11 | [Mutex] received everything. 2020-09-09 07:32:11 | [Mutex] isItemNotified: msg:dk1zvf0233 :: true 2020-09-09 07:32:11 | [Mutex] waiting for: [msg:wk9k70235] 2020-09-09 07:32:11 | [Mutex] received everything. 2020-09-09 07:32:11 | [Mutex] isItemNotified: msg:wk9k70235 :: true 2020-09-09 07:32:11 | [Mutex] waiting for: [3nzzq70236:forbidden] 2020-09-09 07:32:11 | [Mutex] received everything. 2020-09-09 07:32:11 | [Mutex] isItemNotified: 3nzzq70236:forbidden :: true |