Generated by TestNG with ReportNG at 22:22 PDT on Tuesday 10 May 2022
root@21fb2cc9076b / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: REST API for Setting/Updating Privacy Rules - #2928

Suites · Log Output

Test duration : 5.479s

Passed Tests
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST
testConfigurationUpdating 0.261s
2022-05-10 22:38:13 |

2022-05-10 22:38:13 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2022-05-10 22:38:13 | ------------------------------------

2022-05-10 22:38:13 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-05-10 22:38:13 | command: <command><fields><item><var>jid</var><value>user_regularu16p9k0215@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-05-10 22:38:13 | target: http://localhost:8088

2022-05-10 22:38:13 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false]

2022-05-10 22:38:13 | entity: <command><fields><item><var>jid</var><value>user_regularu16p9k0215@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-05-10 22:38:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:38:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-05-10 22:38:13 | 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_regularu16p9k0215@test-domain.com</value>
    </item>
  </fields>
</command>

2022-05-10 22:38:13 | contains: true

2022-05-10 22:38:13 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-05-10 22:38:13 | command: <command><fields><item><var>jid</var><value>user_regularu16p9k0215@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-05-10 22:38:13 | target: http://localhost:8088

2022-05-10 22:38:13 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false]

2022-05-10 22:38:13 | entity: <command><fields><item><var>jid</var><value>user_regularu16p9k0215@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-05-10 22:38:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:38:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-05-10 22:38:13 | 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_regularu16p9k0215@test-domain.com</value>
    </item>
  </fields>
</command>

2022-05-10 22:38:13 | contains: true

testMessageFiltering 2.549s
2022-05-10 22:38:15 |

2022-05-10 22:38:15 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2022-05-10 22:38:15 | ------------------------------------

2022-05-10 22:38:15 | [Mutex] waiting for: [msg:j7r73l0222]

2022-05-10 22:38:15 | [Mutex] received everything.

2022-05-10 22:38:15 | [Mutex] isItemNotified: msg:j7r73l0222 :: true

2022-05-10 22:38:15 | [Mutex] waiting for: [msg:pvejv90224]

2022-05-10 22:38:15 | [Mutex] received everything.

2022-05-10 22:38:15 | [Mutex] isItemNotified: msg:pvejv90224 :: true

2022-05-10 22:38:15 | [Mutex] waiting for: [msg:13vy6a0226]

2022-05-10 22:38:15 | [Mutex] received everything.

2022-05-10 22:38:15 | [Mutex] isItemNotified: msg:13vy6a0226 :: true

2022-05-10 22:38:15 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-05-10 22:38:15 | command: <command><fields><item><var>jid</var><value>user_regulari5ilwc0218@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-05-10 22:38:15 | target: http://localhost:8088

2022-05-10 22:38:15 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false]

2022-05-10 22:38:15 | entity: <command><fields><item><var>jid</var><value>user_regulari5ilwc0218@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-05-10 22:38:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:38:15 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-05-10 22:38:15 | 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_regulari5ilwc0218@test-domain.com</value>
    </item>
  </fields>
</command>

2022-05-10 22:38:15 | contains: true

2022-05-10 22:38:16 | [Mutex] waiting for: [msg:cxar9j0228]

2022-05-10 22:38:16 | [Mutex] received everything.

2022-05-10 22:38:16 | [Mutex] isItemNotified: msg:cxar9j0228 :: true

2022-05-10 22:38:16 | [Mutex] waiting for: [xqqmwt0229:forbidden]

2022-05-10 22:38:16 | [Mutex] received everything.

2022-05-10 22:38:16 | [Mutex] isItemNotified: xqqmwt0229:forbidden :: true

2022-05-10 22:38:16 | [Mutex] waiting for: [tsgen0231:forbidden]

2022-05-10 22:38:16 | [Mutex] received everything.

2022-05-10 22:38:16 | [Mutex] isItemNotified: tsgen0231:forbidden :: true

2022-05-10 22:38:16 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-05-10 22:38:16 | command: <command><fields><item><var>jid</var><value>user_regulari5ilwc0218@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_whitelist6v2e5n0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2022-05-10 22:38:16 | target: http://localhost:8088

2022-05-10 22:38:16 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false]

2022-05-10 22:38:16 | entity: <command><fields><item><var>jid</var><value>user_regulari5ilwc0218@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_whitelist6v2e5n0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2022-05-10 22:38:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 May 2022 05:38:16 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-05-10 22:38:16 | 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_whitelist6v2e5n0219@test-domain.com;4|deny|all) for user: user_regulari5ilwc0218@test-domain.com</value>
    </item>
  </fields>
</command>

2022-05-10 22:38:16 | contains: true

2022-05-10 22:38:17 | [Mutex] waiting for: [msg:l31xnd0234]

2022-05-10 22:38:17 | [Mutex] received everything.

2022-05-10 22:38:17 | [Mutex] isItemNotified: msg:l31xnd0234 :: true

2022-05-10 22:38:17 | [Mutex] waiting for: [msg:ru968r0236]

2022-05-10 22:38:17 | [Mutex] received everything.

2022-05-10 22:38:17 | [Mutex] isItemNotified: msg:ru968r0236 :: true

2022-05-10 22:38:17 | [Mutex] waiting for: [3868f70237:forbidden]

2022-05-10 22:38:17 | [Mutex] received everything.

2022-05-10 22:38:17 | [Mutex] isItemNotified: 3868f70237:forbidden :: true