Generated by TestNG with ReportNG at 22:17 PDT on Wednesday 06 July 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.291s

Passed Tests
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST
testConfigurationUpdating 0.236s
2022-07-06 22:34:11 |

2022-07-06 22:34:11 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2022-07-06 22:34:11 | ------------------------------------

2022-07-06 22:34:11 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-07-06 22:34:11 | command: <command><fields><item><var>jid</var><value>user_regularn053rr0215@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-07-06 22:34:11 | target: http://localhost:8088

2022-07-06 22:34:11 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false]

2022-07-06 22:34:11 | entity: <command><fields><item><var>jid</var><value>user_regularn053rr0215@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-07-06 22:34:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:34:12 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-07-06 22:34:12 | 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_regularn053rr0215@test-domain.com</value>
    </item>
  </fields>
</command>

2022-07-06 22:34:12 | contains: true

2022-07-06 22:34:12 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-07-06 22:34:12 | command: <command><fields><item><var>jid</var><value>user_regularn053rr0215@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-07-06 22:34:12 | target: http://localhost:8088

2022-07-06 22:34:12 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false]

2022-07-06 22:34:12 | entity: <command><fields><item><var>jid</var><value>user_regularn053rr0215@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-07-06 22:34:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:34:12 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-07-06 22:34:12 | 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_regularn053rr0215@test-domain.com</value>
    </item>
  </fields>
</command>

2022-07-06 22:34:12 | contains: true

testMessageFiltering 2.495s
2022-07-06 22:34:13 |

2022-07-06 22:34:13 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2022-07-06 22:34:13 | ------------------------------------

2022-07-06 22:34:13 | [Mutex] waiting for: [msg:qwdkft0222]

2022-07-06 22:34:13 | [Mutex] received everything.

2022-07-06 22:34:13 | [Mutex] isItemNotified: msg:qwdkft0222 :: true

2022-07-06 22:34:13 | [Mutex] waiting for: [msg:vqk1t00224]

2022-07-06 22:34:13 | [Mutex] received everything.

2022-07-06 22:34:13 | [Mutex] isItemNotified: msg:vqk1t00224 :: true

2022-07-06 22:34:13 | [Mutex] waiting for: [msg:n9340w0226]

2022-07-06 22:34:13 | [Mutex] received everything.

2022-07-06 22:34:13 | [Mutex] isItemNotified: msg:n9340w0226 :: true

2022-07-06 22:34:13 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-07-06 22:34:13 | command: <command><fields><item><var>jid</var><value>user_regularqw8i2i0218@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-07-06 22:34:13 | target: http://localhost:8088

2022-07-06 22:34:13 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false]

2022-07-06 22:34:13 | entity: <command><fields><item><var>jid</var><value>user_regularqw8i2i0218@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-07-06 22:34:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:34:13 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-07-06 22:34: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;4|deny|all) for user: user_regularqw8i2i0218@test-domain.com</value>
    </item>
  </fields>
</command>

2022-07-06 22:34:13 | contains: true

2022-07-06 22:34:14 | [Mutex] waiting for: [msg:mu0q5v0228]

2022-07-06 22:34:14 | [Mutex] received everything.

2022-07-06 22:34:14 | [Mutex] isItemNotified: msg:mu0q5v0228 :: true

2022-07-06 22:34:14 | [Mutex] waiting for: [l8uwo70229:forbidden]

2022-07-06 22:34:14 | [Mutex] received everything.

2022-07-06 22:34:14 | [Mutex] isItemNotified: l8uwo70229:forbidden :: true

2022-07-06 22:34:14 | [Mutex] waiting for: [jxubkn0231:forbidden]

2022-07-06 22:34:14 | [Mutex] received everything.

2022-07-06 22:34:14 | [Mutex] isItemNotified: jxubkn0231:forbidden :: true

2022-07-06 22:34:14 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-07-06 22:34:14 | command: <command><fields><item><var>jid</var><value>user_regularqw8i2i0218@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_whitelistpbw57o0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2022-07-06 22:34:14 | target: http://localhost:8088

2022-07-06 22:34:14 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false]

2022-07-06 22:34:14 | entity: <command><fields><item><var>jid</var><value>user_regularqw8i2i0218@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_whitelistpbw57o0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2022-07-06 22:34:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:34:14 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-07-06 22:34:14 | 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_whitelistpbw57o0219@test-domain.com;4|deny|all) for user: user_regularqw8i2i0218@test-domain.com</value>
    </item>
  </fields>
</command>

2022-07-06 22:34:14 | contains: true

2022-07-06 22:34:15 | [Mutex] waiting for: [msg:rhtqa20234]

2022-07-06 22:34:15 | [Mutex] received everything.

2022-07-06 22:34:15 | [Mutex] isItemNotified: msg:rhtqa20234 :: true

2022-07-06 22:34:15 | [Mutex] waiting for: [msg:759sez0236]

2022-07-06 22:34:15 | [Mutex] received everything.

2022-07-06 22:34:15 | [Mutex] isItemNotified: msg:759sez0236 :: true

2022-07-06 22:34:15 | [Mutex] waiting for: [q0vtun0237:forbidden]

2022-07-06 22:34:15 | [Mutex] received everything.

2022-07-06 22:34:15 | [Mutex] isItemNotified: q0vtun0237:forbidden :: true