Generated by TestNG with ReportNG at 22:32 PDT on Saturday 26 September 2020
root@8359be7fa07c / 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.443s

Passed Tests
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST
testConfigurationUpdating 0.271s
2020-09-26 22:50:05 |

2020-09-26 22:50:05 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2020-09-26 22:50:05 | ------------------------------------

2020-09-26 22:50:05 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2020-09-26 22:50:05 | command: <command><fields><item><var>jid</var><value>user_regularwdbe2l0214@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-09-26 22:50:05 | target: http://localhost:8088

2020-09-26 22:50:05 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false]

2020-09-26 22:50:05 | entity: <command><fields><item><var>jid</var><value>user_regularwdbe2l0214@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-09-26 22:50:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:50:05 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2020-09-26 22:50:05 | 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_regularwdbe2l0214@test-domain.com</value>
    </item>
  </fields>
</command>

2020-09-26 22:50:05 | contains: true

2020-09-26 22:50:05 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2020-09-26 22:50:05 | command: <command><fields><item><var>jid</var><value>user_regularwdbe2l0214@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-09-26 22:50:05 | target: http://localhost:8088

2020-09-26 22:50:05 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false]

2020-09-26 22:50:05 | entity: <command><fields><item><var>jid</var><value>user_regularwdbe2l0214@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-09-26 22:50:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:50:05 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2020-09-26 22:50:05 | 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_regularwdbe2l0214@test-domain.com</value>
    </item>
  </fields>
</command>

2020-09-26 22:50:05 | contains: true

testMessageFiltering 2.625s
2020-09-26 22:50:07 |

2020-09-26 22:50:07 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2020-09-26 22:50:07 | ------------------------------------

2020-09-26 22:50:07 | [Mutex] waiting for: [msg:kxwex90221]

2020-09-26 22:50:07 | [Mutex] received everything.

2020-09-26 22:50:07 | [Mutex] isItemNotified: msg:kxwex90221 :: true

2020-09-26 22:50:07 | [Mutex] waiting for: [msg:x6nc600223]

2020-09-26 22:50:07 | [Mutex] received everything.

2020-09-26 22:50:07 | [Mutex] isItemNotified: msg:x6nc600223 :: true

2020-09-26 22:50:07 | [Mutex] waiting for: [msg:8ohjwa0225]

2020-09-26 22:50:07 | [Mutex] received everything.

2020-09-26 22:50:07 | [Mutex] isItemNotified: msg:8ohjwa0225 :: true

2020-09-26 22:50:07 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2020-09-26 22:50:07 | command: <command><fields><item><var>jid</var><value>user_regularqlhv0217@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-09-26 22:50:07 | target: http://localhost:8088

2020-09-26 22:50:07 | entity: [Content-Type: application/xml,Content-Length: 277,Chunked: false]

2020-09-26 22:50:07 | entity: <command><fields><item><var>jid</var><value>user_regularqlhv0217@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-09-26 22:50:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:50:07 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2020-09-26 22:50:07 | 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_regularqlhv0217@test-domain.com</value>
    </item>
  </fields>
</command>

2020-09-26 22:50:07 | contains: true

2020-09-26 22:50:08 | [Mutex] waiting for: [msg:409ccq0227]

2020-09-26 22:50:08 | [Mutex] received everything.

2020-09-26 22:50:08 | [Mutex] isItemNotified: msg:409ccq0227 :: true

2020-09-26 22:50:08 | [Mutex] waiting for: [3snmur0228:forbidden]

2020-09-26 22:50:08 | [Mutex] received everything.

2020-09-26 22:50:08 | [Mutex] isItemNotified: 3snmur0228:forbidden :: true

2020-09-26 22:50:08 | [Mutex] waiting for: [1cs8cr0230:forbidden]

2020-09-26 22:50:08 | [Mutex] received everything.

2020-09-26 22:50:08 | [Mutex] isItemNotified: 1cs8cr0230:forbidden :: true

2020-09-26 22:50:08 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2020-09-26 22:50:08 | command: <command><fields><item><var>jid</var><value>user_regularqlhv0217@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_whitelistopeo2m0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2020-09-26 22:50:08 | target: http://localhost:8088

2020-09-26 22:50:08 | entity: [Content-Type: application/xml,Content-Length: 339,Chunked: false]

2020-09-26 22:50:08 | entity: <command><fields><item><var>jid</var><value>user_regularqlhv0217@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_whitelistopeo2m0218@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2020-09-26 22:50:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:50:08 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2020-09-26 22:50:08 | 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_whitelistopeo2m0218@test-domain.com;4|deny|all) for user: user_regularqlhv0217@test-domain.com</value>
    </item>
  </fields>
</command>

2020-09-26 22:50:08 | contains: true

2020-09-26 22:50:09 | [Mutex] waiting for: [msg:19sv6h0233]

2020-09-26 22:50:09 | [Mutex] received everything.

2020-09-26 22:50:09 | [Mutex] isItemNotified: msg:19sv6h0233 :: true

2020-09-26 22:50:09 | [Mutex] waiting for: [msg:k1p1xe0235]

2020-09-26 22:50:09 | [Mutex] received everything.

2020-09-26 22:50:09 | [Mutex] isItemNotified: msg:k1p1xe0235 :: true

2020-09-26 22:50:09 | [Mutex] received everything.

2020-09-26 22:50:09 | [Mutex] isItemNotified: v2s6tq0236:forbidden :: true