Test duration : 6.666s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.328s |
2022-02-07 21:52:04 |
2022-02-07 21:52:04 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-07 21:52:04 | ------------------------------------ 2022-02-07 21:52:04 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-07 21:52:04 | command: <command><fields><item><var>jid</var><value>user_regulardqqu70214@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> 2022-02-07 21:52:04 | target: http://localhost:8088 2022-02-07 21:52:04 | entity: [Content-Type: application/xml,Content-Length: 312,Chunked: false] 2022-02-07 21:52:04 | entity: <command><fields><item><var>jid</var><value>user_regulardqqu70214@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> 2022-02-07 21:52:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:52:05 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-07 21:52:05 | 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_regulardqqu70214@test-domain.com</value> </item> </fields> </command> 2022-02-07 21:52:05 | contains: true 2022-02-07 21:52:05 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-07 21:52:05 | command: <command><fields><item><var>jid</var><value>user_regulardqqu70214@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> 2022-02-07 21:52:05 | target: http://localhost:8088 2022-02-07 21:52:05 | entity: [Content-Type: application/xml,Content-Length: 266,Chunked: false] 2022-02-07 21:52:05 | entity: <command><fields><item><var>jid</var><value>user_regulardqqu70214@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> 2022-02-07 21:52:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:52:05 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-07 21:52:05 | 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_regulardqqu70214@test-domain.com</value> </item> </fields> </command> 2022-02-07 21:52:05 | contains: true |
testMessageFiltering | 2.674s |
2022-02-07 21:52:06 |
2022-02-07 21:52:06 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2022-02-07 21:52:06 | ------------------------------------ 2022-02-07 21:52:06 | [Mutex] waiting for: [msg:tbiwd90221] 2022-02-07 21:52:06 | [Mutex] received everything. 2022-02-07 21:52:06 | [Mutex] isItemNotified: msg:tbiwd90221 :: true 2022-02-07 21:52:06 | [Mutex] waiting for: [msg:w5gsxn0223] 2022-02-07 21:52:06 | [Mutex] received everything. 2022-02-07 21:52:06 | [Mutex] isItemNotified: msg:w5gsxn0223 :: true 2022-02-07 21:52:06 | [Mutex] waiting for: [msg:avbee40225] 2022-02-07 21:52:06 | [Mutex] received everything. 2022-02-07 21:52:06 | [Mutex] isItemNotified: msg:avbee40225 :: true 2022-02-07 21:52:06 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-07 21:52:06 | command: <command><fields><item><var>jid</var><value>user_regularu0j31w0217@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> 2022-02-07 21:52:06 | target: http://localhost:8088 2022-02-07 21:52:06 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2022-02-07 21:52:06 | entity: <command><fields><item><var>jid</var><value>user_regularu0j31w0217@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> 2022-02-07 21:52:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:52:06 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-07 21:52: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;4|deny|all) for user: user_regularu0j31w0217@test-domain.com</value> </item> </fields> </command> 2022-02-07 21:52:06 | contains: true 2022-02-07 21:52:08 | [Mutex] waiting for: [msg:oflojq0227] 2022-02-07 21:52:08 | [Mutex] received everything. 2022-02-07 21:52:08 | [Mutex] isItemNotified: msg:oflojq0227 :: true 2022-02-07 21:52:08 | [Mutex] waiting for: [dytihm0228:forbidden] 2022-02-07 21:52:08 | [Mutex] received everything. 2022-02-07 21:52:08 | [Mutex] isItemNotified: dytihm0228:forbidden :: true 2022-02-07 21:52:08 | [Mutex] waiting for: [yuhknl0230:forbidden] 2022-02-07 21:52:08 | [Mutex] received everything. 2022-02-07 21:52:08 | [Mutex] isItemNotified: yuhknl0230:forbidden :: true 2022-02-07 21:52:08 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2022-02-07 21:52:08 | command: <command><fields><item><var>jid</var><value>user_regularu0j31w0217@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_whitelistapmqpl0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-07 21:52:08 | target: http://localhost:8088 2022-02-07 21:52:08 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2022-02-07 21:52:08 | entity: <command><fields><item><var>jid</var><value>user_regularu0j31w0217@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_whitelistapmqpl0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2022-02-07 21:52:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:52:08 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2022-02-07 21:52: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: CUSTOM (domains list: 1|allow|self;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|self;2|allow|jid|user_regular1_whitelistapmqpl0218@test-domain.com;4|deny|all) for user: user_regularu0j31w0217@test-domain.com</value> </item> </fields> </command> 2022-02-07 21:52:08 | contains: true 2022-02-07 21:52:09 | [Mutex] waiting for: [msg:d4mvle0233] 2022-02-07 21:52:09 | [Mutex] received everything. 2022-02-07 21:52:09 | [Mutex] isItemNotified: msg:d4mvle0233 :: true 2022-02-07 21:52:09 | [Mutex] waiting for: [msg:vsran60235] 2022-02-07 21:52:09 | [Mutex] received everything. 2022-02-07 21:52:09 | [Mutex] isItemNotified: msg:vsran60235 :: true 2022-02-07 21:52:09 | [Mutex] waiting for: [xzspc60236:forbidden] 2022-02-07 21:52:09 | [Mutex] received everything. 2022-02-07 21:52:09 | [Mutex] isItemNotified: xzspc60236:forbidden :: true |