Generated by TestNG with ReportNG at 22:18 PDT on Sunday 24 July 2022
root@ed1b7dd8a1b3 / 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.330s

Passed Tests
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST
testConfigurationUpdating 0.276s
2022-07-24 22:34:31 |

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

2022-07-24 22:34:31 | ------------------------------------

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

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

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

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

2022-07-24 22:34:31 | 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_regular8zedoj0215@test-domain.com</value>
    </item>
  </fields>
</command>

2022-07-24 22:34:31 | contains: true

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

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

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

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

2022-07-24 22:34:31 | 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_regular8zedoj0215@test-domain.com</value>
    </item>
  </fields>
</command>

2022-07-24 22:34:31 | contains: true

testMessageFiltering 2.516s
2022-07-24 22:34:32 |

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

2022-07-24 22:34:32 | ------------------------------------

2022-07-24 22:34:32 | [Mutex] waiting for: [msg:peusia0222]

2022-07-24 22:34:32 | [Mutex] received everything.

2022-07-24 22:34:32 | [Mutex] isItemNotified: msg:peusia0222 :: true

2022-07-24 22:34:32 | [Mutex] waiting for: [msg:sxv6z80224]

2022-07-24 22:34:32 | [Mutex] received everything.

2022-07-24 22:34:32 | [Mutex] isItemNotified: msg:sxv6z80224 :: true

2022-07-24 22:34:32 | [Mutex] waiting for: [msg:oqdvlr0226]

2022-07-24 22:34:32 | [Mutex] received everything.

2022-07-24 22:34:32 | [Mutex] isItemNotified: msg:oqdvlr0226 :: true

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

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

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

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

2022-07-24 22:34:32 | 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_regular8wpbon0218@test-domain.com</value>
    </item>
  </fields>
</command>

2022-07-24 22:34:32 | contains: true

2022-07-24 22:34:33 | [Mutex] waiting for: [msg:xmevf20228]

2022-07-24 22:34:33 | [Mutex] received everything.

2022-07-24 22:34:33 | [Mutex] isItemNotified: msg:xmevf20228 :: true

2022-07-24 22:34:33 | [Mutex] waiting for: [hda41r0229:forbidden]

2022-07-24 22:34:33 | [Mutex] received everything.

2022-07-24 22:34:33 | [Mutex] isItemNotified: hda41r0229:forbidden :: true

2022-07-24 22:34:33 | [Mutex] waiting for: [27g4na0231:forbidden]

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

2022-07-24 22:34:34 | [Mutex] isItemNotified: 27g4na0231:forbidden :: true

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

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

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

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

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

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

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

2022-07-24 22:34:34 | contains: true

2022-07-24 22:34:35 | [Mutex] waiting for: [msg:bollxh0234]

2022-07-24 22:34:35 | [Mutex] received everything.

2022-07-24 22:34:35 | [Mutex] isItemNotified: msg:bollxh0234 :: true

2022-07-24 22:34:35 | [Mutex] waiting for: [msg:iqgi0w0236]

2022-07-24 22:34:35 | [Mutex] received everything.

2022-07-24 22:34:35 | [Mutex] isItemNotified: msg:iqgi0w0236 :: true

2022-07-24 22:34:35 | [Mutex] received everything.

2022-07-24 22:34:35 | [Mutex] isItemNotified: a2r5us0237:forbidden :: true