Generated by TestNG with ReportNG at 19:16 PDT on Tuesday 25 August 2020
root@9adf47d9b258 / 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 : 6.577s

Passed Tests
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST
testConfigurationUpdating 0.247s
2020-08-25 19:39:58 |

2020-08-25 19:39:58 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2020-08-25 19:39:58 | ------------------------------------

2020-08-25 19:39:58 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2020-08-25 19:39:58 | command: <command><fields><item><var>jid</var><value>user_regularqwwj4m0214@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>

2020-08-25 19:39:58 | target: http://localhost:8088

2020-08-25 19:39:58 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false]

2020-08-25 19:39:58 | entity: <command><fields><item><var>jid</var><value>user_regularqwwj4m0214@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>

2020-08-25 19:39:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:39:58 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2020-08-25 19:39:58 | 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_regularqwwj4m0214@test-domain.com</value>
    </item>
  </fields>
</command>

2020-08-25 19:39:58 | contains: true

2020-08-25 19:39:58 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2020-08-25 19:39:58 | command: <command><fields><item><var>jid</var><value>user_regularqwwj4m0214@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>

2020-08-25 19:39:58 | target: http://localhost:8088

2020-08-25 19:39:58 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false]

2020-08-25 19:39:58 | entity: <command><fields><item><var>jid</var><value>user_regularqwwj4m0214@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>

2020-08-25 19:39:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:39:58 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2020-08-25 19:39:58 | 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_regularqwwj4m0214@test-domain.com</value>
    </item>
  </fields>
</command>

2020-08-25 19:39:58 | contains: true

testMessageFiltering 2.726s
2020-08-25 19:40:00 |

2020-08-25 19:40:00 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2020-08-25 19:40:00 | ------------------------------------

2020-08-25 19:40:00 | [Mutex] waiting for: [msg:c851wo0221]

2020-08-25 19:40:00 | [Mutex] received everything.

2020-08-25 19:40:00 | [Mutex] isItemNotified: msg:c851wo0221 :: true

2020-08-25 19:40:00 | [Mutex] waiting for: [msg:fjgrk10223]

2020-08-25 19:40:00 | [Mutex] received everything.

2020-08-25 19:40:00 | [Mutex] isItemNotified: msg:fjgrk10223 :: true

2020-08-25 19:40:00 | [Mutex] waiting for: [msg:uldyt40225]

2020-08-25 19:40:00 | [Mutex] received everything.

2020-08-25 19:40:00 | [Mutex] isItemNotified: msg:uldyt40225 :: true

2020-08-25 19:40:00 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2020-08-25 19:40:00 | command: <command><fields><item><var>jid</var><value>user_regulardbz9m90217@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>

2020-08-25 19:40:00 | target: http://localhost:8088

2020-08-25 19:40:00 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false]

2020-08-25 19:40:00 | entity: <command><fields><item><var>jid</var><value>user_regulardbz9m90217@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>

2020-08-25 19:40:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:40:00 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2020-08-25 19:40:00 | 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_regulardbz9m90217@test-domain.com</value>
    </item>
  </fields>
</command>

2020-08-25 19:40:00 | contains: true

2020-08-25 19:40:01 | [Mutex] waiting for: [msg:biuf0i0227]

2020-08-25 19:40:01 | [Mutex] received everything.

2020-08-25 19:40:01 | [Mutex] isItemNotified: msg:biuf0i0227 :: true

2020-08-25 19:40:01 | [Mutex] waiting for: [hkqb9u0228:forbidden]

2020-08-25 19:40:01 | [Mutex] received everything.

2020-08-25 19:40:01 | [Mutex] isItemNotified: hkqb9u0228:forbidden :: true

2020-08-25 19:40:01 | [Mutex] waiting for: [ytxc720230:forbidden]

2020-08-25 19:40:01 | [Mutex] received everything.

2020-08-25 19:40:01 | [Mutex] isItemNotified: ytxc720230:forbidden :: true

2020-08-25 19:40:01 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2020-08-25 19:40:01 | command: <command><fields><item><var>jid</var><value>user_regulardbz9m90217@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_whitelistcwxzka0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2020-08-25 19:40:01 | target: http://localhost:8088

2020-08-25 19:40:01 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false]

2020-08-25 19:40:01 | entity: <command><fields><item><var>jid</var><value>user_regulardbz9m90217@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_whitelistcwxzka0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2020-08-25 19:40:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:40:01 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2020-08-25 19:40:01 | 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_whitelistcwxzka0218@test-domain.com;4|deny|all) for user: user_regulardbz9m90217@test-domain.com</value>
    </item>
  </fields>
</command>

2020-08-25 19:40:01 | contains: true

2020-08-25 19:40:02 | [Mutex] waiting for: [msg:dmkmvl0233]

2020-08-25 19:40:02 | [Mutex] received everything.

2020-08-25 19:40:02 | [Mutex] isItemNotified: msg:dmkmvl0233 :: true

2020-08-25 19:40:02 | [Mutex] waiting for: [msg:g71hq80235]

2020-08-25 19:40:02 | [Mutex] received everything.

2020-08-25 19:40:02 | [Mutex] isItemNotified: msg:g71hq80235 :: true

2020-08-25 19:40:02 | [Mutex] waiting for: [y5cpmm0236:forbidden]

2020-08-25 19:40:02 | [Mutex] received everything.

2020-08-25 19:40:02 | [Mutex] isItemNotified: y5cpmm0236:forbidden :: true