Test duration: 5.336s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.221s |
2020-06-01 22:34:28 |
2020-06-01 22:34:28 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-06-01 22:34:28 | ------------------------------------ 2020-06-01 22:34:28 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-01 22:34:28 | command: <command><fields><item><var>jid</var><value>user_regularjugz810217@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-01 22:34:28 | target: http://localhost:8088 2020-06-01 22:34:28 | entity: [Content-Type: application/xml,Content-Length: 301,Chunked: false] 2020-06-01 22:34:28 | entity: <command><fields><item><var>jid</var><value>user_regularjugz810217@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|admin@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-01 22:34:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 05:34:28 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-01 22:34:28 | response entity: <command> <jid>sess-man@localhost</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@localhost;4|deny|all) for user: user_regularjugz810217@localhost</value> </item> </fields> </command> 2020-06-01 22:34:28 | contains: true 2020-06-01 22:34:28 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-01 22:34:28 | command: <command><fields><item><var>jid</var><value>user_regularjugz810217@localhost</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-06-01 22:34:28 | target: http://localhost:8088 2020-06-01 22:34:28 | entity: [Content-Type: application/xml,Content-Length: 261,Chunked: false] 2020-06-01 22:34:28 | entity: <command><fields><item><var>jid</var><value>user_regularjugz810217@localhost</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-06-01 22:34:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 05:34:28 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-01 22:34:28 | response entity: <command> <jid>sess-man@localhost</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@localhost;4|deny|all) to a new value: CUSTOM (domains list: 1|allow|all) for user: user_regularjugz810217@localhost</value> </item> </fields> </command> 2020-06-01 22:34:28 | contains: true |
testMessageFiltering | 1.633s |
2020-06-01 22:34:30 |
2020-06-01 22:34:30 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-06-01 22:34:30 | ------------------------------------ 2020-06-01 22:34:30 | [Mutex] waiting for: [msg:6gsvsa0224] 2020-06-01 22:34:30 | [Mutex] received everything. 2020-06-01 22:34:30 | [Mutex] waiting for: [msg:ykhwer0226] 2020-06-01 22:34:30 | [Mutex] received everything. 2020-06-01 22:34:30 | [Mutex] waiting for: [msg:kzfc8x0228] 2020-06-01 22:34:30 | [Mutex] received everything. 2020-06-01 22:34:30 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-01 22:34:30 | command: <command><fields><item><var>jid</var><value>user_regularr6uy600220@localhost</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-06-01 22:34:30 | target: http://localhost:8088 2020-06-01 22:34:30 | entity: [Content-Type: application/xml,Content-Length: 273,Chunked: false] 2020-06-01 22:34:30 | entity: <command><fields><item><var>jid</var><value>user_regularr6uy600220@localhost</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-06-01 22:34:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 05:34:30 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-01 22:34:30 | response entity: <command> <jid>sess-man@localhost</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_regularr6uy600220@localhost</value> </item> </fields> </command> 2020-06-01 22:34:30 | contains: true 2020-06-01 22:34:31 | [Mutex] waiting for: [msg:spx40z0230] 2020-06-01 22:34:31 | [Mutex] waiting for: [msg:spx40z0230] 2020-06-01 22:34:31 | [Mutex] waiting for: [msg:spx40z0230] 2020-06-01 22:34:31 | [Mutex] received everything. 2020-06-01 22:34:31 | [Mutex] waiting for: [4o36jg0231:forbidden] 2020-06-01 22:34:31 | [Mutex] received everything. 2020-06-01 22:34:31 | [Mutex] isItemNotified: 4o36jg0231:forbidden :: true 2020-06-01 22:34:31 | [Mutex] waiting for: [xn3l7z0233:forbidden] 2020-06-01 22:34:31 | [Mutex] received everything. 2020-06-01 22:34:31 | [Mutex] isItemNotified: xn3l7z0233:forbidden :: true 2020-06-01 22:34:31 | postRequest: POST /rest/adhoc/sess-man@localhost HTTP/1.1 2020-06-01 22:34:31 | command: <command><fields><item><var>jid</var><value>user_regularr6uy600220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistne24sk0221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-01 22:34:31 | target: http://localhost:8088 2020-06-01 22:34:31 | entity: [Content-Type: application/xml,Content-Length: 329,Chunked: false] 2020-06-01 22:34:31 | entity: <command><fields><item><var>jid</var><value>user_regularr6uy600220@localhost</value></item><item><var>fiteringPolicy</var><value>CUSTOM</value></item><item><var>filteringList</var><value>1|allow|self;2|allow|jid|user_regular1_whitelistne24sk0221@localhost;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-06-01 22:34:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Jun 2020 05:34:31 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-06-01 22:34:31 | response entity: <command> <jid>sess-man@localhost</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_whitelistne24sk0221@localhost;4|deny|all) for user: user_regularr6uy600220@localhost</value> </item> </fields> </command> 2020-06-01 22:34:31 | contains: true 2020-06-01 22:34:31 | [Mutex] waiting for: [msg:miy3tl0236] 2020-06-01 22:34:31 | [Mutex] received everything. 2020-06-01 22:34:31 | [Mutex] waiting for: [msg:t6zrn60238] 2020-06-01 22:34:32 | [Mutex] received everything. 2020-06-01 22:34:32 | [Mutex] received everything. 2020-06-01 22:34:32 | [Mutex] isItemNotified: 3xhwd00239:forbidden :: true |