Generated by TestNG with ReportNG at 07:34 PDT on Friday 26 August 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.336s

Passed Tests
tigase.tests.http.TestModificationOfPrivacyRulesUsingREST
testConfigurationUpdating 0.232s
2022-08-26 07:49:36 |

2022-08-26 07:49:36 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2022-08-26 07:49:36 | ------------------------------------

2022-08-26 07:49:36 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-08-26 07:49:36 | command: <command><fields><item><var>jid</var><value>user_regulars6rtas0215@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-08-26 07:49:36 | target: http://localhost:8088

2022-08-26 07:49:36 | entity: [Content-Type: application/xml,Content-Length: 313,Chunked: false]

2022-08-26 07:49:36 | entity: <command><fields><item><var>jid</var><value>user_regulars6rtas0215@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-08-26 07:49:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:49:36 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-08-26 07:49:36 | 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_regulars6rtas0215@test-domain.com</value>
    </item>
  </fields>
</command>

2022-08-26 07:49:36 | contains: true

2022-08-26 07:49:36 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-08-26 07:49:36 | command: <command><fields><item><var>jid</var><value>user_regulars6rtas0215@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-08-26 07:49:36 | target: http://localhost:8088

2022-08-26 07:49:36 | entity: [Content-Type: application/xml,Content-Length: 267,Chunked: false]

2022-08-26 07:49:36 | entity: <command><fields><item><var>jid</var><value>user_regulars6rtas0215@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-08-26 07:49:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:49:36 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-08-26 07:49:37 | 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_regulars6rtas0215@test-domain.com</value>
    </item>
  </fields>
</command>

2022-08-26 07:49:37 | contains: true

testMessageFiltering 2.538s
2022-08-26 07:49:38 |

2022-08-26 07:49:38 | null / [TestClass name=class tigase.tests.http.TestModificationOfPrivacyRulesUsingREST]

2022-08-26 07:49:38 | ------------------------------------

2022-08-26 07:49:38 | [Mutex] waiting for: [msg:v70dqi0222]

2022-08-26 07:49:38 | [Mutex] received everything.

2022-08-26 07:49:38 | [Mutex] isItemNotified: msg:v70dqi0222 :: true

2022-08-26 07:49:38 | [Mutex] waiting for: [msg:205h4z0224]

2022-08-26 07:49:38 | [Mutex] received everything.

2022-08-26 07:49:38 | [Mutex] isItemNotified: msg:205h4z0224 :: true

2022-08-26 07:49:38 | [Mutex] waiting for: [msg:cct2x70226]

2022-08-26 07:49:38 | [Mutex] received everything.

2022-08-26 07:49:38 | [Mutex] isItemNotified: msg:cct2x70226 :: true

2022-08-26 07:49:38 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-08-26 07:49:38 | command: <command><fields><item><var>jid</var><value>user_regularxsu0uu0218@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-08-26 07:49:38 | target: http://localhost:8088

2022-08-26 07:49:38 | entity: [Content-Type: application/xml,Content-Length: 279,Chunked: false]

2022-08-26 07:49:38 | entity: <command><fields><item><var>jid</var><value>user_regularxsu0uu0218@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-08-26 07:49:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:49:38 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-08-26 07:49:38 | 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_regularxsu0uu0218@test-domain.com</value>
    </item>
  </fields>
</command>

2022-08-26 07:49:38 | contains: true

2022-08-26 07:49:39 | [Mutex] waiting for: [msg:xlybk80228]

2022-08-26 07:49:39 | [Mutex] received everything.

2022-08-26 07:49:39 | [Mutex] isItemNotified: msg:xlybk80228 :: true

2022-08-26 07:49:39 | [Mutex] waiting for: [pwcik90229:forbidden]

2022-08-26 07:49:39 | [Mutex] received everything.

2022-08-26 07:49:39 | [Mutex] isItemNotified: pwcik90229:forbidden :: true

2022-08-26 07:49:39 | [Mutex] waiting for: [u7uo1i0231:forbidden]

2022-08-26 07:49:39 | [Mutex] received everything.

2022-08-26 07:49:39 | [Mutex] isItemNotified: u7uo1i0231:forbidden :: true

2022-08-26 07:49:39 | postRequest: POST /rest/adhoc/sess-man@test-domain.com HTTP/1.1

2022-08-26 07:49:39 | command: <command><fields><item><var>jid</var><value>user_regularxsu0uu0218@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_whitelist3musli0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2022-08-26 07:49:39 | target: http://localhost:8088

2022-08-26 07:49:39 | entity: [Content-Type: application/xml,Content-Length: 341,Chunked: false]

2022-08-26 07:49:39 | entity: <command><fields><item><var>jid</var><value>user_regularxsu0uu0218@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_whitelist3musli0219@test-domain.com;4|deny|all</value></item></fields><node>user-domain-perm</node></command>

2022-08-26 07:49:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:49:39 GMT, Transfer-encoding: chunked, Content-type: application/xml] ResponseEntityProxy{[Content-Type: application/xml,Chunked: true]}}

2022-08-26 07:49:39 | 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_whitelist3musli0219@test-domain.com;4|deny|all) for user: user_regularxsu0uu0218@test-domain.com</value>
    </item>
  </fields>
</command>

2022-08-26 07:49:39 | contains: true

2022-08-26 07:49:40 | [Mutex] waiting for: [msg:y8gtut0234]

2022-08-26 07:49:40 | [Mutex] received everything.

2022-08-26 07:49:40 | [Mutex] isItemNotified: msg:y8gtut0234 :: true

2022-08-26 07:49:40 | [Mutex] waiting for: [msg:s5zsxk0236]

2022-08-26 07:49:40 | [Mutex] received everything.

2022-08-26 07:49:40 | [Mutex] isItemNotified: msg:s5zsxk0236 :: true

2022-08-26 07:49:40 | [Mutex] waiting for: [t6ecwy0237:forbidden]

2022-08-26 07:49:40 | [Mutex] received everything.

2022-08-26 07:49:40 | [Mutex] isItemNotified: t6ecwy0237:forbidden :: true