Test duration : 6.402s
Passed Tests | ||
---|---|---|
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST | ||
testConfigurationUpdating | 0.231s |
2020-09-18 00:49:27 |
2020-09-18 00:49:27 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-18 00:49:27 | ------------------------------------ 2020-09-18 00:49:27 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-18 00:49:27 | command: <command><fields><item><var>jid</var><value>user_regulardgw96l0214@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-18 00:49:27 | target: http://localhost:8088 2020-09-18 00:49:27 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false] 2020-09-18 00:49:27 | entity: <command><fields><item><var>jid</var><value>user_regulardgw96l0214@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-18 00:49:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:49:27 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-18 00:49:27 | 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_regulardgw96l0214@test-domain.com</value> </item> </fields> </command> 2020-09-18 00:49:27 | contains: true 2020-09-18 00:49:27 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-18 00:49:27 | command: <command><fields><item><var>jid</var><value>user_regulardgw96l0214@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-18 00:49:27 | target: http://localhost:8088 2020-09-18 00:49:27 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false] 2020-09-18 00:49:27 | entity: <command><fields><item><var>jid</var><value>user_regulardgw96l0214@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-18 00:49:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:49:27 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-18 00:49:27 | 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_regulardgw96l0214@test-domain.com</value> </item> </fields> </command> 2020-09-18 00:49:27 | contains: true |
testMessageFiltering | 2.725s |
2020-09-18 00:49:29 |
2020-09-18 00:49:29 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST] 2020-09-18 00:49:29 | ------------------------------------ 2020-09-18 00:49:29 | [Mutex] waiting for: [msg:sil4b10221] 2020-09-18 00:49:29 | [Mutex] received everything. 2020-09-18 00:49:29 | [Mutex] isItemNotified: msg:sil4b10221 :: true 2020-09-18 00:49:29 | [Mutex] waiting for: [msg:4l4scq0223] 2020-09-18 00:49:29 | [Mutex] received everything. 2020-09-18 00:49:29 | [Mutex] isItemNotified: msg:4l4scq0223 :: true 2020-09-18 00:49:29 | [Mutex] waiting for: [msg:6ehvg00225] 2020-09-18 00:49:29 | [Mutex] received everything. 2020-09-18 00:49:29 | [Mutex] isItemNotified: msg:6ehvg00225 :: true 2020-09-18 00:49:29 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-18 00:49:29 | command: <command><fields><item><var>jid</var><value>user_regularx86xml0217@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-18 00:49:29 | target: http://localhost:8088 2020-09-18 00:49:29 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false] 2020-09-18 00:49:29 | entity: <command><fields><item><var>jid</var><value>user_regularx86xml0217@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-18 00:49:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:49:29 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-18 00:49:29 | 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_regularx86xml0217@test-domain.com</value> </item> </fields> </command> 2020-09-18 00:49:29 | contains: true 2020-09-18 00:49:30 | [Mutex] waiting for: [msg:cl2elg0227] 2020-09-18 00:49:30 | [Mutex] received everything. 2020-09-18 00:49:30 | [Mutex] isItemNotified: msg:cl2elg0227 :: true 2020-09-18 00:49:30 | [Mutex] waiting for: [ebcjl70228:forbidden] 2020-09-18 00:49:30 | [Mutex] received everything. 2020-09-18 00:49:30 | [Mutex] isItemNotified: ebcjl70228:forbidden :: true 2020-09-18 00:49:30 | [Mutex] waiting for: [w891o70230:forbidden] 2020-09-18 00:49:30 | [Mutex] received everything. 2020-09-18 00:49:30 | [Mutex] isItemNotified: w891o70230:forbidden :: true 2020-09-18 00:49:30 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1 2020-09-18 00:49:30 | command: <command><fields><item><var>jid</var><value>user_regularx86xml0217@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_whitelistdksdo80218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-18 00:49:30 | target: http://localhost:8088 2020-09-18 00:49:30 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false] 2020-09-18 00:49:30 | entity: <command><fields><item><var>jid</var><value>user_regularx86xml0217@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_whitelistdksdo80218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command> 2020-09-18 00:49:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 07:49:30 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}} 2020-09-18 00:49:30 | 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_whitelistdksdo80218@test-domain.com;4|deny|all) for user: user_regularx86xml0217@test-domain.com</value> </item> </fields> </command> 2020-09-18 00:49:30 | contains: true 2020-09-18 00:49:31 | [Mutex] waiting for: [msg:dwgfy30233] 2020-09-18 00:49:31 | [Mutex] received everything. 2020-09-18 00:49:31 | [Mutex] isItemNotified: msg:dwgfy30233 :: true 2020-09-18 00:49:31 | [Mutex] waiting for: [msg:k6uh370235] 2020-09-18 00:49:31 | [Mutex] received everything. 2020-09-18 00:49:31 | [Mutex] isItemNotified: msg:k6uh370235 :: true 2020-09-18 00:49:31 | [Mutex] received everything. 2020-09-18 00:49:31 | [Mutex] isItemNotified: 72sx530236:forbidden :: true |