Generated by TestNG with ReportNG at 22:48 PDT on Tuesday 06 September 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 5.503s

Passed Tests
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST
testConfigurationUpdating 0.244s
2022-09-06 23:03:42 |

2022-09-06 23:03:42 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2022-09-06 23:03:42 | ------------------------------------

2022-09-06 23:03:42 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-09-06 23:03:42 | command: <command><fields><item><var>jid</var><value>user_regularckldy60215@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-09-06 23:03:42 | target: http://localhost:8088

2022-09-06 23:03:42 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false]

2022-09-06 23:03:42 | entity: <command><fields><item><var>jid</var><value>user_regularckldy60215@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-09-06 23:03:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:03:42 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-09-06 23:03:42 | 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_regularckldy60215@test-domain.com</value>
    </item>
  </fields>
</command>

2022-09-06 23:03:42 | contains: true

2022-09-06 23:03:42 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-09-06 23:03:42 | command: <command><fields><item><var>jid</var><value>user_regularckldy60215@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-09-06 23:03:42 | target: http://localhost:8088

2022-09-06 23:03:42 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false]

2022-09-06 23:03:42 | entity: <command><fields><item><var>jid</var><value>user_regularckldy60215@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-09-06 23:03:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:03:42 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-09-06 23:03:42 | 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_regularckldy60215@test-domain.com</value>
    </item>
  </fields>
</command>

2022-09-06 23:03:42 | contains: true

testMessageFiltering 2.545s
2022-09-06 23:03:43 |

2022-09-06 23:03:43 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2022-09-06 23:03:43 | ------------------------------------

2022-09-06 23:03:43 | [Mutex] waiting for: [msg:l5qbi80222]

2022-09-06 23:03:43 | [Mutex] received everything.

2022-09-06 23:03:43 | [Mutex] isItemNotified: msg:l5qbi80222 :: true

2022-09-06 23:03:43 | [Mutex] waiting for: [msg:uziqy50224]

2022-09-06 23:03:43 | [Mutex] received everything.

2022-09-06 23:03:43 | [Mutex] isItemNotified: msg:uziqy50224 :: true

2022-09-06 23:03:43 | [Mutex] waiting for: [msg:slg4o50226]

2022-09-06 23:03:43 | [Mutex] received everything.

2022-09-06 23:03:43 | [Mutex] isItemNotified: msg:slg4o50226 :: true

2022-09-06 23:03:43 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-09-06 23:03:43 | command: <command><fields><item><var>jid</var><value>user_regulark1irvd0218@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-09-06 23:03:43 | target: http://localhost:8088

2022-09-06 23:03:43 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false]

2022-09-06 23:03:43 | entity: <command><fields><item><var>jid</var><value>user_regulark1irvd0218@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-09-06 23:03:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:03:43 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-09-06 23:03:43 | 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_regulark1irvd0218@test-domain.com</value>
    </item>
  </fields>
</command>

2022-09-06 23:03:43 | contains: true

2022-09-06 23:03:45 | [Mutex] waiting for: [msg:gpu4sg0228]

2022-09-06 23:03:45 | [Mutex] received everything.

2022-09-06 23:03:45 | [Mutex] isItemNotified: msg:gpu4sg0228 :: true

2022-09-06 23:03:45 | [Mutex] waiting for: [yf4wdi0229:forbidden]

2022-09-06 23:03:45 | [Mutex] received everything.

2022-09-06 23:03:45 | [Mutex] isItemNotified: yf4wdi0229:forbidden :: true

2022-09-06 23:03:45 | [Mutex] waiting for: [1bb1nb0231:forbidden]

2022-09-06 23:03:45 | [Mutex] received everything.

2022-09-06 23:03:45 | [Mutex] isItemNotified: 1bb1nb0231:forbidden :: true

2022-09-06 23:03:45 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-09-06 23:03:45 | command: <command><fields><item><var>jid</var><value>user_regulark1irvd0218@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_whitelistyt7gbu0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2022-09-06 23:03:45 | target: http://localhost:8088

2022-09-06 23:03:45 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false]

2022-09-06 23:03:45 | entity: <command><fields><item><var>jid</var><value>user_regulark1irvd0218@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_whitelistyt7gbu0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2022-09-06 23:03:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:03:45 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-09-06 23:03:45 | 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_whitelistyt7gbu0219@test-domain.com;4|deny|all) for user: user_regulark1irvd0218@test-domain.com</value>
    </item>
  </fields>
</command>

2022-09-06 23:03:45 | contains: true

2022-09-06 23:03:46 | [Mutex] waiting for: [msg:x2c6v80234]

2022-09-06 23:03:46 | [Mutex] received everything.

2022-09-06 23:03:46 | [Mutex] isItemNotified: msg:x2c6v80234 :: true

2022-09-06 23:03:46 | [Mutex] waiting for: [msg:bq6k9l0236]

2022-09-06 23:03:46 | [Mutex] received everything.

2022-09-06 23:03:46 | [Mutex] isItemNotified: msg:bq6k9l0236 :: true

2022-09-06 23:03:46 | [Mutex] waiting for: [5i4hi70237:forbidden]

2022-09-06 23:03:46 | [Mutex] received everything.

2022-09-06 23:03:46 | [Mutex] isItemNotified: 5i4hi70237:forbidden :: true