Generated by TestNG with ReportNG at 22:26 PDT on Friday 14 May 2021
root@f29ef40080b5 / Java 11.0.8 (Ubuntu) / 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.851s

Passed Tests
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST
testConfigurationUpdating 0.330s
2021-05-14 22:42:54 |

2021-05-14 22:42:54 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2021-05-14 22:42:54 | ------------------------------------

2021-05-14 22:42:54 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2021-05-14 22:42:54 | command: <command><fields><item><var>jid</var><value>user_regularvi64q90214@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>

2021-05-14 22:42:54 | target: http://localhost:8088

2021-05-14 22:42:54 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false]

2021-05-14 22:42:54 | entity: <command><fields><item><var>jid</var><value>user_regularvi64q90214@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>

2021-05-14 22:42:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:42:54 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2021-05-14 22:42:54 | 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_regularvi64q90214@test-domain.com</value>
    </item>
  </fields>
</command>

2021-05-14 22:42:54 | contains: true

2021-05-14 22:42:54 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2021-05-14 22:42:54 | command: <command><fields><item><var>jid</var><value>user_regularvi64q90214@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>

2021-05-14 22:42:54 | target: http://localhost:8088

2021-05-14 22:42:54 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false]

2021-05-14 22:42:54 | entity: <command><fields><item><var>jid</var><value>user_regularvi64q90214@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>

2021-05-14 22:42:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:42:54 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2021-05-14 22:42:54 | 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_regularvi64q90214@test-domain.com</value>
    </item>
  </fields>
</command>

2021-05-14 22:42:54 | contains: true

testMessageFiltering 2.588s
2021-05-14 22:42:55 |

2021-05-14 22:42:55 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2021-05-14 22:42:55 | ------------------------------------

2021-05-14 22:42:55 | [Mutex] waiting for: [msg:i28rlh0221]

2021-05-14 22:42:55 | [Mutex] received everything.

2021-05-14 22:42:55 | [Mutex] isItemNotified: msg:i28rlh0221 :: true

2021-05-14 22:42:55 | [Mutex] waiting for: [msg:3sekl40223]

2021-05-14 22:42:55 | [Mutex] received everything.

2021-05-14 22:42:55 | [Mutex] isItemNotified: msg:3sekl40223 :: true

2021-05-14 22:42:55 | [Mutex] waiting for: [msg:b6hgfb0225]

2021-05-14 22:42:55 | [Mutex] received everything.

2021-05-14 22:42:55 | [Mutex] isItemNotified: msg:b6hgfb0225 :: true

2021-05-14 22:42:55 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2021-05-14 22:42:55 | command: <command><fields><item><var>jid</var><value>user_regulara0pufh0217@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>

2021-05-14 22:42:55 | target: http://localhost:8088

2021-05-14 22:42:55 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false]

2021-05-14 22:42:55 | entity: <command><fields><item><var>jid</var><value>user_regulara0pufh0217@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>

2021-05-14 22:42:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:42:55 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2021-05-14 22:42:55 | 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_regulara0pufh0217@test-domain.com</value>
    </item>
  </fields>
</command>

2021-05-14 22:42:55 | contains: true

2021-05-14 22:42:57 | [Mutex] waiting for: [msg:a7oycg0227]

2021-05-14 22:42:57 | [Mutex] received everything.

2021-05-14 22:42:57 | [Mutex] isItemNotified: msg:a7oycg0227 :: true

2021-05-14 22:42:57 | [Mutex] waiting for: [wppw530228:forbidden]

2021-05-14 22:42:57 | [Mutex] received everything.

2021-05-14 22:42:57 | [Mutex] isItemNotified: wppw530228:forbidden :: true

2021-05-14 22:42:57 | [Mutex] waiting for: [xi7izl0230:forbidden]

2021-05-14 22:42:57 | [Mutex] received everything.

2021-05-14 22:42:57 | [Mutex] isItemNotified: xi7izl0230:forbidden :: true

2021-05-14 22:42:57 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2021-05-14 22:42:57 | command: <command><fields><item><var>jid</var><value>user_regulara0pufh0217@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_whitelist5o00nv0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2021-05-14 22:42:57 | target: http://localhost:8088

2021-05-14 22:42:57 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false]

2021-05-14 22:42:57 | entity: <command><fields><item><var>jid</var><value>user_regulara0pufh0217@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_whitelist5o00nv0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2021-05-14 22:42:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 05:42:57 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2021-05-14 22:42:57 | 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_whitelist5o00nv0218@test-domain.com;4|deny|all) for user: user_regulara0pufh0217@test-domain.com</value>
    </item>
  </fields>
</command>

2021-05-14 22:42:57 | contains: true

2021-05-14 22:42:58 | [Mutex] waiting for: [msg:zch0n50233]

2021-05-14 22:42:58 | [Mutex] received everything.

2021-05-14 22:42:58 | [Mutex] isItemNotified: msg:zch0n50233 :: true

2021-05-14 22:42:58 | [Mutex] waiting for: [msg:wnl3h20235]

2021-05-14 22:42:58 | [Mutex] received everything.

2021-05-14 22:42:58 | [Mutex] isItemNotified: msg:wnl3h20235 :: true

2021-05-14 22:42:58 | [Mutex] waiting for: [n0j5de0236:forbidden]

2021-05-14 22:42:58 | [Mutex] received everything.

2021-05-14 22:42:58 | [Mutex] isItemNotified: n0j5de0236:forbidden :: true